Skip to content

Instantly share code, notes, and snippets.

@gandalfar

gandalfar/index.php Secret

Created Jun 28, 2015
Embed
What would you like to do?
<?php get_header(); ?>
<?php if ( have_posts() ) : ?>
<div class="container">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'partials/content', get_post_type() ); ?>
<?php endwhile; ?>
</div>
<?php else : ?>
<?php get_template_part( 'partials/content', 'none' ); ?>
<?php endif; ?>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment