How to make categorie descriptions visbile... (2 posts)

  1. siratfus
    Posted 4 years ago #

    Hello Guys, I'm using the latest wp version. When I go to edit a category to add descriptions specifically for each category, there is a note that says, "The description is not prominent by default, however some themes may show it."

    My theme does not show it. What code do I need to make this visible/prominent? And where would I insert it?

    Please advise, thank you for your time.

  2. Michael
    Forum Moderator
    Posted 4 years ago #

    My theme does not show it.

    what theme are you using?


    if your (unknown) theme has a category.php, add it there:

    <?php echo category_description(); ?>

    if not, add this to archive.php:

    <?php if( is_category() ) echo category_description(); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic