How to show post with featured image?
-
From reading the instructions, the loop that shows the title and an excerpt with a link for each post in the section is:
<?php if ( cnr_have_children() ) : while ( cnr_have_children() ) : cnr_next_child(); ?>
<h3><?php the_title(); ?></h3>
<div><?php the_excerpt(); ?></div>
<?php endwhile; endif; ?>What if I want to show the feature image as well? What would be the code? I’ve been trying to figure this out for a long time but it’s not working. Can someone please help?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to show post with featured image?’ is closed to new replies.