Exemplo n.º 1
0
    while (have_posts()) {
        the_post();
        ?>

					<?php 
        /* Include the Post-Format-specific template for the content.
        		 -----------------------------------------------------------*/
        get_template_part('loop', get_post_format());
        ?>

				<?php 
    }
    ?>

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

			<?php 
} else {
    ?>

				<article id="post-0" class="post no-results not-found">
					<header class="entry-header">
						<h1 class="entry-title"><?php 
    _e('Nothing Found', 'admired');
    ?>
</h1>
					</header><!-- .entry-header -->

					<div class="entry-content">
Exemplo n.º 2
0
 * The main template file.
 *
 * @since admired 1.0
 */
get_header();
?>

		<div id="primary">
			<div id="content" role="main">

			<?php 
if (have_posts()) {
    ?>

				<?php 
    admired_content_nav('nav-above');
    ?>

				<?php 
    /* Start the Loop */
    ?>
				<?php 
    while (have_posts()) {
        the_post();
        ?>

					<?php 
        get_template_part('loop', get_post_format());
        ?>

				<?php