예제 #1
0
        ?>

				<?php 
        /* Include the Post-Format-specific template for the content.
         * If you want to override this in a child theme, then include a file
         * called content-___.php (where ___ is the Post Format name) and that will be used instead.
         */
        get_template_part('content', get_post_format());
        ?>

			<?php 
    }
    ?>

			<?php 
    illustratr_paging_nav();
    ?>

		<?php 
} else {
    ?>

			<?php 
    get_template_part('content', 'none');
    ?>

		<?php 
}
?>

		</main><!-- #main -->
예제 #2
0
    while ($project_query->have_posts()) {
        $project_query->the_post();
        ?>

						<?php 
        get_template_part('content', 'portfolio');
        ?>

					<?php 
    }
    ?>

				</div><!-- .portfolio-wrapper -->

				<?php 
    illustratr_paging_nav($project_query->max_num_pages);
    wp_reset_postdata();
    ?>

			<?php 
} else {
    ?>

				<section class="no-results not-found">
					<header class="page-header">
						<h1 class="page-title"><?php 
    _e('Nothing Found', 'illustratr');
    ?>
</h1>
					</header><!-- .page-header -->
            ?>

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

				<?php 
        }
        ?>

			<?php 
    }
    ?>

			<?php 
    illustratr_paging_nav($post->max_num_pages);
    ?>

		<?php 
} else {
    ?>

			<?php 
    get_template_part('content', 'none');
    ?>

		<?php 
}
?>

		</main><!-- #main -->