Beispiel #1
0
				<header class="page-header">
					<h1 class="page-title"><?php 
    printf(__('Tag Archives: %s', 'admired'), '<span>' . single_tag_title('', false) . '</span>');
    ?>
</h1>

					<?php 
    $tag_description = tag_description();
    if (!empty($tag_description)) {
        echo apply_filters('tag_archive_meta', '<div class="tag-archive-meta">' . $tag_description . '</div>');
    }
    ?>
				</header>

				<?php 
    admired_pagination();
    ?>

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

					<?php 
        /* Include the Post-Format-specific template for the content.
        		 -----------------------------------------------------------*/
        get_template_part('loop', get_post_format());
        ?>
Beispiel #2
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("admired_pagination")) {
            admired_pagination($wp_query->max_num_pages);
        }
    }
    ?>

			<?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 -->