2

I've added tags and categories to a custom post, but the search bar doesn't find them when I use it. It does find the 'uncategorized' category (default category) that's inherent in wordpress though. The Categories I've entered show up in the sidebar, as well as w/the custom post type (as do the tags I've entered).

What am I missing?

  • Any public queryable post types should already be included in the search, unless custom code or a plugin is intercepting search queries and modifying query parameters(or your custom post type is not public). – t31os Mar 28 '11 at 12:10
  • Where is a plugin for solve your problem wordpress.org/extend/plugins/cat-post-type – user32059 Apr 26 '13 at 6:42
1

Perhaps this article will help you...

http://new2wp.com/noob/wordpress-search-custom-post-types/

  • just what I needed - thank you for the link!! I'm trying it now. – don de lion Mar 29 '11 at 5:52
  • 1
    Can you please put the code because this link is not working now.I want to search custom post by tag – Pritesh Mahajan May 16 '14 at 17:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.