Example #1
0
				<?php 
    }
    ?>
				
				<?php 
    // Display navigation when applicable
    ?>
				<?php 
    if ($wp_query->max_num_pages > 1) {
        ?>
				<?php 
        // add page navigation to indexes
        ?>
				<?php 
        if (function_exists("likepa_pagination")) {
            likepa_pagination($wp_query->max_num_pages);
        }
    }
    ?>
				<?php 
    ?>
			<?php 
} else {
    ?>

				<article id="post-0" class="post no-results not-found">
					<header class="entry-header">
						<h1 class="entry-title"><?php 
    _e('Nothing Found', 'likepa');
    ?>
</h1>
Example #2
0
					<?php 
        /* Include the Post-Format-specific template for the content.
        		 -----------------------------------------------------------*/
        get_template_part('loop', get_post_format());
        ?>

					<?php 
        // endif;
        ?>
				<?php 
    }
    ?>

				<?php 
    likepa_pagination();
    ?>

			<?php 
} else {
    ?>

				<article id="post-0" class="post no-results not-found">
					<header class="entry-header">
						<h1 class="entry-title"><?php 
    _e('Нічого не знайдено', 'likepa');
    ?>
</h1>
					</header><!-- .entry-header -->

					<div class="entry-content">