Home › Forums › General Issues › Getting the_content() in a Relationship loop › Reply To: Getting the_content() in a Relationship loop
Hi @cwcarlsen
If the_title
and the_permalink
and working, I don’t understand why the_content
is not working.
Perhaps you can debug the post data like so:
$posts = get_field('featured_pages');
echo '<pre>';
print_r( $posts);
echo '</pre>';
die;
Does each post object contain post_content data?
Maybe the selected posts, don’t contain data? Or perhaps another plugin is preventing the post_content from being displayed such as a member plugin?
Thanks
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.