Stupid Question: Not possible to pull content and featured image?
-
Hi and thanks für the plugin.
I′ve been searching and trying for hours now but still have no clue. I have a custom-pot-type ‘books’ and a CPTonomy ‘authors’. What I would like to do is pull the entire post-content (title, text, featured image) of the assigned author on the book single-pages. Is this at all possible? I only managed to display the title via
wp_get_object_terms( $post->ID, 'authors' );
and
echo '<h5>' . $term->name . '</h5>';
But this doesn′t seem to work for the content and post-thumbnail. What is the right syntax?
I appreciate any hints. Many thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Stupid Question: Not possible to pull content and featured image?’ is closed to new replies.