Support » How-To and Troubleshooting » Display Category Descriptions In Sidebar

Display Category Descriptions In Sidebar

  • Hello, this seems basic but I couldn’t find an answer in my searches…

    I would like to have the sidebar list descriptions along with the category names. So, where it now displays as:

    Category 1
    Category 2
    Category 3

    I’d like it to display:

    Category 1
    – Category 1 description
    Category 2
    – Category 2 description
    Category 3
    – Category 3 description

    The only thing I’ve found is how to set it so that the description is used as the title tag for a linkl nothing about simply displaying the description.

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Well, the category description tag (<?php category_description(category); ?>) works great for displaying a description on a page, but I want it as part of the list…

    Currently, my category tag within the sidebar just reads:

    <?php list_cats(0, ”, ‘name’, ‘asc’, ”, 1, 0, 0, 0, 1, 1, 0,”,”,”,”,”) ?>

    Since that’s generating the list, I don’t see how to tweak it to include category descriptions and don’t see how I can use <?php category_description(category); ?> to accomplish that goal.

    (Thanks for any & all help, though!)

    Anyone able to help with this? …please… 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display Category Descriptions In Sidebar’ is closed to new replies.