Hi I’ve created soe custom post types, but they don’t automatically appear in the search options. Can you please tell me how I can add? (It seems to be related to the redux framework)
as you can see there is no additional option for search with custom custom post type, but you can tweak the code if you want to add your custom post type appear in search result.
There is 2 result page for search, search.php (native search) & searchresult.php (ajax search).
If you open both search.php & searchresult.php, you’ll found ‘post_type’ word.
Replace the ‘$val_post’ with :
Save your files.
Let me know if it doesn’t help.
You must be logged in to reply to this topic.