summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury German <blueknight@gentoo.org>2019-04-28 18:30:29 -0400
committerYury German <blueknight@gentoo.org>2019-04-28 18:30:29 -0400
commit4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e (patch)
tree171fddc56d74d8492ffb703f04543896b6344243 /themes/twentyfourteen/category.php
parentUpdating packages for 5.1.1 (diff)
downloadblogs-gentoo-4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e.tar.gz
blogs-gentoo-4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e.tar.bz2
blogs-gentoo-4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e.zip
Updating the themes
Updated themes. The followng themes updated: Mantra - 3.0.5 => 3.1.0, Twenty Fifteen 2.2 => 2.4 Twenty Fourteen 2.4 => 2.6, Twenty Sixteen 1.7 => 1.9 Signed-off-by: Yury German <blueknight@gentoo.org>
Diffstat (limited to 'themes/twentyfourteen/category.php')
-rw-r--r--themes/twentyfourteen/category.php21
1 files changed, 11 insertions, 10 deletions
diff --git a/themes/twentyfourteen/category.php b/themes/twentyfourteen/category.php
index 97745ff1..c193cc7b 100644
--- a/themes/twentyfourteen/category.php
+++ b/themes/twentyfourteen/category.php
@@ -2,7 +2,7 @@
/**
* The template for displaying Category pages
*
- * @link https://codex.wordpress.org/Template_Hierarchy
+ * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Fourteen
@@ -22,21 +22,22 @@ get_header(); ?>
<?php
// Show an optional term description.
$term_description = term_description();
- if ( ! empty( $term_description ) ) :
- printf( '<div class="taxonomy-description">%s</div>', $term_description );
+ if ( ! empty( $term_description ) ) :
+ printf( '<div class="taxonomy-description">%s</div>', $term_description );
endif;
?>
</header><!-- .archive-header -->
- <?php
+ <?php
// Start the Loop.
- while ( have_posts() ) : the_post();
+ 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 content-___.php
- * (where ___ is the post format) and that will be used instead.
- */
+ * Include the post format-specific template for the content. If you want to
+ * use this in a child theme, then include a file called content-___.php
+ * (where ___ is the post format) and that will be used instead.
+ */
get_template_part( 'content', get_post_format() );
endwhile;
@@ -48,7 +49,7 @@ get_header(); ?>
get_template_part( 'content', 'none' );
endif;
- ?>
+ ?>
</div><!-- #content -->
</section><!-- #primary -->