Support » Fixing WordPress » Categories and Custom Post Types

  • I have created a custom post type called events and have associated categories to it (by setting the taxonomy during register_post_type). I have the categories widget in the sidebar displaying all the categories. However when I click on a category that has custom (event) posts in it, the posts do not display. I get the “sorry no posts to display” message.

    When the page first loads, the posts do show up because I use wp_query(post_type=events). When I click a category it just says no posts, even though the category does show the total count next to it so I know the system can see the custom posts in that category.

    What am I missing? How do I get the custom posts to show per category?

  • The topic ‘Categories and Custom Post Types’ is closed to new replies.