• I’ve added several categories to two blogs I’ve setup (one on a 10-5-04 nightly the other yesyerdays delta) and both only show 2 categories on the blog’s front page.
    Am I missing something?
    Bye,
    Gnam

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter gnam

    (@gnam)

    Just to add:
    I’ve installed the new 1.2 wpgrin hacks on both of them, too.

    Empty categories are exluded from the list_cats function by default.
    Review the wiki for details on the list_cats function.
    Solution 1: modify index.php’s call to list_cats to _not_ suppress empty categories.
    Solution 2: add posts to those categories.

    Thread Starter gnam

    (@gnam)

    Hi skippy!
    I had thought of that but I discarded the idea because my second category (with no posts) shows up anyway.
    I’ll take a look at the wiki ??
    Gnam

    Thread Starter gnam

    (@gnam)

    Just did a test post into all categories – you were right!
    Although after I cancelled the test post I’m back to square one (with the empty second category showing).
    Guess I’ll just have to fill up those categories with useful posts :))
    Bye,
    Gnam ??

    This is a known bug in the code. The first empty category gets dispayed, and subsequent empties get suppressed. Easily fixed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Only 2 categories showing..?’ is closed to new replies.