WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type UI
[resolved] Custom categories aren't picked up in search (6 posts)

  1. dogification
    Member
    Posted 1 year ago #

    Hi --

    I've successfully created custom taxonomies (categories) for my custom post type, but when I create menu items for these categories they always turn up a blank search.

    Can you tell me what I'm doing wrong?

    http://wordpress.org/extend/plugins/custom-post-type-ui/

  2. Michael Beckwith
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. dogification
    Member
    Posted 1 year ago #

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

  4. Michael Beckwith
    Member
    Plugin Author

    Posted 1 year ago #

    Have you made any posts that use the categories?

  5. dogification
    Member
    Posted 1 year ago #

    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.

    RC

  6. Michael Beckwith
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic