• Hi all,
    In version 1.2 (released, not nightly), 3rd tier categories aren’t showing up for selection/filing.
    – Main cat
    — Second level
    — Third level (not showing in admin)
    Ideas on how to fix this?
    Thanks,
    Kathy

Viewing 9 replies - 1 through 9 (of 9 total)
  • Same problem here, for those looking for a bug report. The new sub-categories are not showing up in the Categories list on the front page of the blog. I’m using the latest stable version, 1.2, downloaded and installed today, June 22.
    Example:
    Categories
    general
    reviews
    – restaurants
    – playgrounds
    – pediatricians
    The three sub-categories under reviews are not being displayed.

    In the example I gave above, there was no content in the Reviews category, therefore the sub-categories were not showing up in the listings. Once I put a placeholder in the Reviews, everything showed up properly. Is this considered a bug or a feature?

    Seems to be a bug.
    I’ve got multi level categories:
    1 aaa
    A bbb
    i ccc
    ii ddd
    B eee
    i fff
    ii ggg
    2 hhh
    A iii
    i jjj
    ii kkk
    B lll
    i mmm
    ii nnn
    If I post in fff but there is no post in eee then fff doesnt show up at all. Seems that if a category is blank then it doesn’t bother to check the subcategory for any posts.
    I just discovered that now, after reading the above and experimenting. Looks like I need to put several placeholder posts in. I have 22 categories of which 8 have no posts. This is causing 12 categories not to show. obviousely the 8 with no posts, but also 4 others that do have posts.

    Ok, I not only put in the place holders, I back-dated them to January so that they won’t clutter the blog.
    just checked my rss feed, they don’t show up there either, so people won’t be subjected to a bunch of placeholder messages.
    Yeah! 🙂

    I’m having the same problem as the original poster here. I don’t have any problems yet with categories displaying on the main page (I figured out on my own that I needed to include a placeholder in the supercategory), but my sub-sub-categories refuse even to show up on the “Write” tab in the admin portion of WordPress. So I am unable in any way to assign a post to a third-tier category.
    Any word on this?

    I, too, would like a solution to this problem.

    Thread Starter Anonymous

    Bug??? Nobody?

    OK. To everyone: By DEFAULT when you show the category list links, WP hides empty categories. At the same time, if the parent is empty, then its child categories are also not shown. But, there is a way around it.
    Use <?php wp_list_cats('hide_empty=0'); ?> instead of the default list_cats(). hide_empty=0 will ensure that all categories are shown, even if they are empty (which the parent cats often are.)
    More can be found here in the Wiki.
    As for only showing two levels, I’m not sure, but I think that’s all that it does. If any of the devs can confirm or deny that allegation, please do so.
    TG

    Thread Starter Anonymous

    I’ve found a solution to the problem that some sub-categories won’t show up in the Categories-listing of the admin-interface (write-menu).
    The problem results from restructuring the categories. It occurs when the parent of some category has a lower id (i.e. was created earlier) than that parent’s parent.
    This can happen if you append an existing category to a category that was created AFTER the category that is going to be appended.
    I was not able to change the code – located at wp-admin/admin-functions.php#get_nested_categories – so here is a workaround that directly manipulates the database. Please be careful what you are doing!
    Give the category that was appended in the some way described above a higher ID than the id of the cat it got appended to. To go for sure choose the next free value for ID. So if the highest ID currently is 32, make the id of the cat 33.
    Change the value of the id in the table wp_categories of your database.
    Then some posts will still point to the old id of the category. Thererfore
    SELECT * FROM wp_post2cat WHERE category_id = OLD_ID; on the table wp_post2cat and change the ‘category_id’ to the new value.
    It seems to work here with me. To go for sure, make a backup of your database.
    best regards
    Steffen

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Admin not showing 3rd tier categories?’ is closed to new replies.