[Plugin: Folding Categories for WordPress 2.3] Show Empty Categories (3 posts)

  1. Diesel12
    Posted 8 years ago #

    I was wondering if anybody has any ideas on how we can make the plugin show categories that are empty.... there is an argument you can use with the wp_list_categories tag, for example to hide or not hide empty categories...but can't find equivalent when I look through the plugin code..... any help is appreciated!

  2. lonewolfonline
    Posted 8 years ago #


    Find the line if ($Etotalcount > 0) (around 800) and comment it out. This will show empty categories for you.

    I can add this as an option in the next release.


  3. Diesel12
    Posted 8 years ago #

    Perfect, thanks! The reason this is helpful is because I use each category as a landing page with a list to other articles in that category, so each category is actually a page inserted into into the top of the category..... this means that while a top level category may be empty, it reallly isn't because content from another page is being included in it, even though technically, there are no posts that are assigned to the category....

Topic Closed

This topic has been closed to new replies.

About this Topic