forked from rotarytheme/rotary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
category.php
33 lines (29 loc) · 836 Bytes
/
category.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/**
* The template for displaying Category Archive pages.
*
* @package WordPress
* @subpackage Rotary
* @since Rotary 1.0
*/
get_header(); ?>
<h1 class="pagetitle"><span><?php echo rotary_get_blog_title();?></span></h1>
<div id="page" class="blog">
<h2 class="pagesubtitle">
<span class="pagesubtitle-h4"><?php echo __( 'Category Archive', 'Rotary' );?></span><br>
<span class="pagesubtitle-h1"><?php echo single_cat_title( '', false ); ?></span>
</h2>
<div id="content" role="main" class="hassidebar">
<?php
$category_description = category_description();
if ( ! empty( $category_description ) )
echo '' . $category_description . '';
?>
<?php get_template_part( 'loop', 'category' );
?>
</div>
<div class="hassubtitle">
<?php get_sidebar(); ?>
</div>
</div><!-- page -->
<?php get_footer(); ?>