Category description in wp_list_categories
-
Hi there everyone!
I have been struggling with this issue for a long time and not found a solution.
I need 3 elements when displaying categories:
– Category title (this I have)
– Category image (I have found a plugin for this)
– Category description (it’s included in WordPress but I don’t know how to display it in a list)I display categories like this:
<?php wp_list_categories(‘orderby=id&use_desc_for_title=0&child_of=’.$cat.’&hide_empty=0&title_li=&depth=1&exclude=1′); ?>Every category displays it’s children at the top of the category.php page – just like in a webshop.
I need for the category list to have all of the 3 elements – how can I do it?
Would really apprecieate the help ??
- The topic ‘Category description in wp_list_categories’ is closed to new replies.