Support » Fixing WordPress » Exclude Future Categories from Sidebar

  • CHUDSF

    (@chudsf)


    Hello. I wonder if anyone’s got a simple way to exclude future categories from the sidebar category listing.

    I often have new categories, and if there are any posts in a new category scheduled, the category shows up immediately. Even though there are no existing posts in said category (the first one is scheduled for the future).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ivovic

    (@ivovic)

    ah an interesting issue.

    Technically the post is in the category, it’s just invisible in there. That’s the reason it shows up… just that there’s no checking to see if the posts in that category are visible or not.

    I don’t have a fix for you, but I’d be interested in one, so I’m posting here to make sure I remember to check back 🙂

    Anyone ever come up with a solution? I would like to know also.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude Future Categories from Sidebar’ is closed to new replies.