Quote:
Originally Posted by TheDoc
Code:
<?php if ( is_category() ) : ?>
<h2 id="category-name-header">
<?php echo $cache_categories[$cat]->cat_name ?> Category</h2>
<?php add_filter('category_description', 'wpautop'); ?>
<?php add_filter('category_description', 'wptexturize'); ?>
<div id="category-description">
<?php echo category_description(); ?>
</div>
<?php endif; ?>
|
yup, the kind folks over at the wordpress forum ran me down the whole story on conditional inclusions. good stuff. learnt something new this morning
