Support » Plugins and Hacks » [Resolved] Custom categories aren't picked up in search

[Resolved] Custom categories aren't picked up in search

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Michael Beckwith


    Not quite sure what you mean by a blank search in regards to menu items. Could you explain a bit more?

    When I try to find results for the categories I’ve added, I always get no results.

    Plugin Author Michael Beckwith


    Have you made any posts that use the categories?

    yes…. sorry if I haven’t been explaining this clearly. Iif you’d like to take a look at the site, it’s at http://www.coda-tours.com/dev

    This is a travel company. The categories I created are called Departure Date (summer 2013, fall 2013, etc.) and are assigned to the custom post type Tours. If you go to the main menu and select Tour Calendar, you will get a drop down with the different departure dates.

    All of them come up “No posts found,” but there are multiple posts for each season.
    (If you need log-in info, I’ll happily send to you privately.)

    Thanks! I appreciate your trouble.


    Plugin Author Michael Beckwith


    Well, I was able to replicate it, which had me thinking the query for the categories wasn’t including the custom post types. I know I answered a similar question the other day, and you can see the reply here: http://wordpress.org/support/topic/show-custom-posts-in-category-archives-and-in-own-archives?replies=15#post-4235591

    I tested this out and added the custom post type I used to the query in place of “your-custom-post-type-here” from the snippet, and it started working for me on the frontend. I’m thinking this needs to be noted IN the plugin somehow to let people know that for normal cat/tag archives, the new post type won’t show up by default.

    Hopefully this helps and gets you going back on your way. Let me know if you need a bit more help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Custom categories aren't picked up in search’ is closed to new replies.