Support

Account

Home Forums Front-end Issues Custom ACF Field on Product Categories not appearing on front-end

Unread

Custom ACF Field on Product Categories not appearing on front-end

  • So, I have created a custom ACF fieldset that is displayed on the specified product categories using code from the following post: https://support.advancedcustomfields.com/forums/topic/how-to-add-custom-field-to-a-category/

    That code works fine, and a new field location is displayed when creating a new field (see image) and that field is then displayed on the corresponding category perfectly fine.

    ACF Custom Field

    Product Category

    My issue, is when I go to display the field on the frontend by putting code into archive-product.php, nothing appears.

    <section class="category-banner">
      <h1 class="lorem"><?php the_field('text_test'); ?></h1>
    </section>

    Not displaying on fornt-end

    Thanks in advance for any suggestions on this

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.