if (!empty($term_description)) { printf('<div class="taxonomy-description">%s</div>', $term_description); } ?> </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 * use 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_style()); } // Previous/next page navigation. twentyfourteen_paging_nav(); } else { // If no content, include the "No posts found" template. get_template_part('content', 'none'); } ?> </div><!-- #content --> </section><!-- #primary --> <?php get_sidebar('content'); get_sidebar(); get_footer();
<?php } if (is_single()) { the_title('<h1 class="entry-title">', '</h1>'); } else { the_title('<h1 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h1>'); } ?> <div class="entry-meta"> <span class="post-format"> <a class="entry-format" href="<?php echo esc_url(get_post_style_link(get_post_style())); ?> "><?php echo get_post_style_string(get_post_style()); ?> </a> </span> <?php twentyfourteen_posted_on(); ?> <?php if (!post_password_required() && (comments_open() || get_comments_number())) { ?> <span class="comments-link"><?php comments_popup_link(__('Leave a comment', 'twentyfourteen'), __('1 Comment', 'twentyfourteen'), __('% Comments', 'twentyfourteen')); ?> </span>