Change loop to display specific format
-
I currently have the following php code for the content loop on my homepage.
<?php if ( have_posts() ) : // Start the Loop. while ( have_posts() ) : the_post(); get_template_part( 'content', get_post_format() ); endwhile; twentyfourteen_paging_nav(); else : get_template_part( 'content', 'none' ); endif; ?>
I want to know how I can specifically select one post format. I want the loop to only display posts of the standard post format.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Change loop to display specific format’ is closed to new replies.