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)
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.