Hey.
This is a howto SEO question.
I have index in google page with category.
For example google point to WP category 'icons', and then my wordpress site show all post in that category.
But i want to add the text in the top and image when it show that category, only for that category icons.
Any help ?
I found this one:
http://codex.wordpress.org/User:Lorelle/Custom_Category_Template
I want to make this like:
<h2 class="pagetitle">'<?php echo single_cat_title(); ?>'</h2>
<?php if ( is_category() ) : ?>
<?php add_filter('category_description', 'wpautop'); ?>
<?php add_filter('category_description', 'wptexturize'); ?>
<div id="category-description">
<h4><?php echo category_description(); ?></h4>
</div>
<?php endif; ?>
Title
category_description
But when category has no description i just want it to be
Title
No space after that.