I have a forum system where I created a custom post type, and I would like to have a search system for the topics, but I do not know what the structure would be, for example, how the file will be and the search form action.

I found an answer here, but it is treated as if I wanted a custom post type of a theme, in my case I created it as a Plugin, someone would have a light there of how I can create a search within a custom post type but that is Inside a plugin?

How to create a custom search for custom post type?

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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