What is the code used to display the Category name on the page(s)? It helps to know that before suggesting a solution to add to or replace it.
Use <?php echo category_description(); ?> to display the description of the current category. For more details check out http://codex.ww.wp.xz.cn/Template_Tags/category_description
Something else on this same subject:
I’ve been using the Category Description suggested above, for several versions of WordPress, now I’ve upgraded to 2.3.2 and there is a break in the paragragph tag.
Even when I use the suggested format in the codex, I get a paragraph break between the Colon and the Description:
<strong><?php single_cat_title('Currently browsing'); ?>
</strong>: <?php echo category_description(); ?>
For example, this:
Currently browsing WordPress: WordPress is a favorite blogging tool of mine and I share tips and tricks for using WordPress here.
looks like this:
Currently browsing WordPress:
WordPress is a favorite blogging tool of mine and I share tips and tricks for using WordPress here.
And the second line loses all the formating I have in the style.
I can’t seem to find a way around it, so the text appears as all one line.
<?php echo category_description(); ?> automatically wraps itself in paragraph tags <p>your category description</p>, resulting in a paragraph break. I haven’t found an easy way to stop it from doing this. I suppose that php str_replace code could be used to strip off the paragraph tags, but I haven’t tried it.
If that is the case, either the inherent <p> tags need to be removed from Category Description or the Codex needs to be updated with this new behavior, as this does not appear to be the way the template tag was designed.
And I’m pretty sure this was not the case in WordPress 2.2. I only noticed this behavior after upgrading to 2.3.