• Hi, everyone
    Just recently made the move from Blogger to self-hosted blogging and my choice is WordPress. After trying other solutions, I have no regrets about choosing WP.
    Now, I’ve been tweaking my templates to my liking and my posting categories are not posting on my blog. I do not know if this feature worked before I edited my sidebar and placed the categories at the top of the page. Did I do something wrong?
    If anyone can have a look and tell me how to fix this I’d appreciate it. I’ve searched for an answer to no avail.
    Thanks.
    https://theomegaattempt.com

Viewing 2 replies - 16 through 17 (of 17 total)
  • I’d like to note that wp_list_cats() works jsut dandy…. at least in 1.2 it works. The problem was from an “issue” that wp would only display categories ONLY if there was a post in it. It was further complicated by the fact that sub cats would only show IF there was a post in the PARENT category. BUT, there was an option (in both list_cats, and wp_list_cats) to show empty categories.
    ala wp_list_cats : hide_empty – boolean – 0 or 1. 1 means hide empty categories (default is 1)
    ala list_cats : hide_empty – boolean – 0 or 1. 1 means hide empty categories (default is 1)
    By default WP hides empty categories. Since the parent cat was emtpy, the child ones were not being picked up. I don’t know if this behavior has been changed in 1.3 or not.
    TG

    I think it’s supposed to be like this:
    wp_list_cats(‘hide_empty=0&categories=1,12,4,6,7,8,9’);
    But I’m not sure….
    Tg

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Why are my categories not displaying?’ is closed to new replies.