Exemplo n.º 1
0
if (have_posts()) {
    ?>
		<?php 
    while (have_posts()) {
        the_post();
        ?>
			<?php 
        get_template_part('content', get_post_format());
        ?>
			<?php 
        // If comments are open or we have at least one comment, load up the comment template
        if (comments_open() || '0' != get_comments_number()) {
            comments_template();
        }
        ?>
		<?php 
    }
    ?>
			<?php 
    encounters_lite_content_nav('post-nav');
    ?>
			
		<?php 
} else {
    ?>
		
	<?php 
}
?>
	
</div>
Exemplo n.º 2
0
    }
    ?>

		<?php 
    /* Start the Loop */
    ?>
		<?php 
    while (have_posts()) {
        the_post();
        ?>
			<?php 
        get_template_part('content', get_post_format());
        ?>
		<?php 
    }
    ?>

		<?php 
    encounters_lite_content_nav('nav-below');
    ?>

	<?php 
} else {
    ?>
		<?php 
    get_template_part('content', 'none');
    ?>
	<?php 
}
?>
</div>