So I need to list some categories, and I can list them with wp_list_categories
but i also need the description for that category, i need to do something like this:
<a href="permalink">Category name</a>
The description here
And right now I’m stuck i don’t know how to do this with wordpress
This page shows how to add the Category Description: http://codex.wordpress.org/Function_Reference/category_description
It should have everything you need there, but for quick reference, the simplest way is:
(within the WordPress loop)
EDIT
Just realized since you’re combining this with wp_list_categories(), you’ll have to create a loop that goes through the categoriy lists and displays the title and the description.
Try this WordPress support page: http://wordpress.org/support/topic/have-wp_list_categories-output-the-category-descpription
Solved: