-
Notifications
You must be signed in to change notification settings - Fork 0
/
category.php
26 lines (26 loc) · 1.19 KB
/
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
<?php get_header(); ?>
<section id="pvt_main">
<div class="container">
<?php get_sidebar() ?>
<div id="main_right">
<div class="pvt_breadcrumbs">
<?php if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb('<p id="breadcrumbs">','</p>');
} ?>
</div>
<div style="text-align: center;"><?php echo get_option('pvt-ga'); ?></div>
<h2 id="cat_tit">New posts in <?php single_cat_title(); ?></h2>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article>
<h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
<p><p><?php the_content_rss('',true,'',30); ?></p></p>
<a href="<?php the_permalink() ?>"><?php the_post_thumbnail() ?></a>
<p class="post_meta"><?php echo get_the_date(); ?></p>
</article>
<?php endwhile; endif; ?>
<?php wp_pagenavi() ?>
<div style="text-align: center;"><?php echo get_option('pvt-ga'); ?></div>
</div><!--end main_right-->
</div><!--end .container-->
</section>
<?php get_footer(); ?>