• 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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • diesel12,

    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.

    Regards
    Tim

    Thread Starter Trace

    (@diesel12)

    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….

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Folding Categories for WordPress 2.3] Show Empty Categories’ is closed to new replies.