• I have just installed WordPress v2. I would like to list all the parent categories and their descriptions in my index.php file even if there are no posts in the respective categories. I have searched but cannot seem to find an answer or a plugin that will allow me to accomplish this.

    Can someone please direct me down the right path?

    thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • See Template_Tags/wp_list_cats and the hide_empty parameter.

    Thread Starter patti2

    (@patti2)

    Hi, MichaelH..

    Thanks for the quick reply – I have tried placing the code
    <?php list_cats(FALSE, '', 'NAME','asc', '', TRUE, FALSE, FALSE, FALSE, TRUE,FALSE, FALSE, '', FALSE,'', '', '',TRUE); ?> before The Loop in my index.php file. This code will display the categories but not the category descriptions.

    Any thoughts?
    Thanks so much!

    patti

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to List Category Descriptions outside The Loop?’ is closed to new replies.