[Resolved] ACF fields on archive pages

Home Forums Support ACF fields on archive pages

  • This topic has 1 reply, 2 voices, and was last updated 1 month ago by Tom.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1268492
    Dmitry

    Hello!

    I use ACF plugin to add some fields with data to my posts of a specific category. It works OK to display this fields with an element hook set to display on a single post page of the category I need:

    “text” + <?php the_field(‘example_field_id’); ?>

    OK!

    The I want to display each “example_field_id” for each post after each entry_title on the archive category page. I make the same element hook for the archive page, but It just display “text” for each post.

    (However, it works OK in WP Show Posts with element hook set to “wpsp_after_content”)

    It looks like I need to add some PHP to the hook, can you please help me out?

    #1269352
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Looks like you set this to resolved.

    Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.