Created
October 15, 2015 18:26
-
-
Save seandogg/f697b8dcaf36c627f721 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php //Posts Loop | |
$args=array( | |
'post_type' => 'post', | |
'post_status' => 'publish', | |
'posts_per_page' => get_option( 'posts_per_page' ), | |
'orderby' => 'menu_order', | |
'order' => 'ASC' | |
); | |
$blog_query = new WP_Query($args); | |
if ($blog_query->have_posts()) : | |
while ($blog_query->have_posts()) : $blog_query->the_post(); | |
get_template_part( 'partials/content', get_post_format() ); | |
endwhile; | |
endif; | |
wp_reset_query(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment