I’m using the have_rows function in a custom template and while all of my custom fields are working, when I try to add the_content to the template, it doesn’t work. Nothing shows up for that. What do I need to do in order to have the post’s content displayed alongside the custom fields?
Hi @benheath
The WP function the_content() can only be used WITHIN a WP loop. Please make sure the global $post object is correct at the time of using the the_content() function.
It is possible that your ACF code is modifying the global post obejct, or that your template does not contain a WP loop to target a global post object.
Thanks
E