Support

Account

Home Forums Backend Issues (wp-admin) ACF in template not loading

Helping

ACF in template not loading

  • I have a template file using ACF and that template is loaded into another template. The problem is the ACF content does not show up when it’s loaded into the other template.

    This is the original template (upper-footer) loaded independently (its a page)
    http://u1f8aki.nixweb23.dandomain.dk/upper-footer/

    And ultimately it should be loaded into:
    http://u1f8aki.nixweb23.dandomain.dk/ (scroll to the bottom)

    The text is not showing up when its loaded into the frontpage template.

    I am calling it using this code:
    <?php get_template_part( ‘Template-upper-footer’ ); ?>

    How does one solve this problem?

  • On the first page the Post ID value is set or ACF is able to figure it out. On the second page it is not set and ACF cannot figure it out. You will need to supply the correct Post ID to get the values from.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘ACF in template not loading’ is closed to new replies.