<?php 
    }
    ?>
			</header><!-- .archive-header -->

			<?php 
    /* Start the Loop */
    while (have_posts()) {
        the_post();
        /* Include the post format-specific template for the content. If you want to
         * this in a child theme then include a file called called content-___.php
         * (where ___ is the post format) and that will be used instead.
         */
        get_template_part('content', get_post_format());
    }
    amativeness_content_nav('nav-below');
    ?>

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

		</div><!-- #content -->
	</section><!-- #primary -->
Exemple #2
0
                    <?php 
            the_content(__('Continue reading <span class="meta-nav">&rarr;</span>', 'amativeness'));
            ?>
                    <?php 
            wp_link_pages(array('before' => '<div class="page-links">' . __('Pages:', 'amativeness'), 'after' => '</div>'));
            ?>
                </div><!-- .article-content -->
            <?php 
        }
        ?>
        </article><!-- #post -->
    <?php 
    }
    ?>
    <?php 
    amativeness_content_nav('nav-above');
} else {
    ?>
    <article id="post-0" class="post block no-results not-found">
        <header class="entry-header">
            <p class="ui ribbon label red"><?php 
    _e('没有发现诶', 'amativeness');
    ?>
</p>
        </header>
        <div class="entry-content">
            <p><?php 
    _e('抱歉,没有符合您搜索条件的结果。请换其它关键词再试。', 'amativeness');
    ?>
</p>
            <?php