<?php
get_header();
?>
<table id="main">
<tr>
<td class="content">
<h1>Category: <?php single_cat_title(''); ?></h1>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_date('','<p>','</p>'); ?>
<div class="post">
<h2 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> - <?php the_time('d M Y'); ?>
</div>
<div class="storycontent">
<?php
the_excerpt_reloaded(40, '<a><p><img><br><br />', 'excerpt', true, 'Continue Reading...', false, 1, true);
?>
</div>
<div class="feedback">
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
</div>
<!--
<?php trackback_rdf(); ?>
-->
</div>
<div class="comments-post">
<?php comments_template(); // Get comments.php template ?>
</div> <!-- close COMMENTS-POST -->
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?>
</td>
<?php get_sidebar(); ?>
</tr>
</table>
<?php get_footer(); ?>
非常感谢,分类模版,帮我看一下, |