Searching custom post type with shortcode
-
Hello Mikka:
I am trying to create two search widgets one for posts, and the second for a custom post type “wprss_feed_item.” I have made use of the shortcode [searchform post_types=”post”] and [searchform post_types=”wprss_feed_item”].
Neither of these search widgets find any results.
On the same page, I can use the standard wp search, and it will find “posts.”
I have successfully indexed both posts types and unchecked “Respect exclude_from_search.”
I have unchecked all options in Category Restriction and Category Exclusion.
Is there some other setting that I am missing?
I tried your debugging steps:
1. Searching on the admin dashboard does NOT find any results
2. I activated Query Monitor. If i try to set the “Caller,” the only Relevanssi option is “relevanssi_searching_tab().”Can you point me to next steps? I am not a developer, by the way.
Thank you.
The page I need help with: [log in to see the link]
The topic ‘Searching custom post type with shortcode’ is closed to new replies.