Пример #1
0
    ?>
				<?php 
    while (have_posts()) {
        the_post();
        ?>

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

				<?php 
    }
    ?>

				<?php 
    skirmish_content_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', 'skirmish');
    ?>
</h1>
					</header><!-- .entry-header -->

					<div class="entry-content">
Пример #2
0
        ?>

					<?php 
        /* Include the Post-Format-specific template for the content.
         * If you want to overload 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 
    skirmish_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', 'skirmish');
    ?>
</h1>
					</header><!-- .entry-header -->

					<div class="entry-content">