WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. siratfus
    Member
    Posted 2 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. alchymyth
    Forum Moderator
    Posted 2 years ago #

    My theme does not show it.

    what theme are you using?

    http://codex.wordpress.org/Function_Reference/category_description

    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