Issue with custom post type.
-
I have a site with several custom post types. My general search works great, and your plugin has greatly improved our results, thank you.
however, I have a separate page that is a full listing page for one of my post_types, and at the top of it I have a custom search form that is supposed to filter the results, by posting to the same page. When this filter is submitted, I capture the keyword text from the query_vars of wp_query, and then I create a “new WP_Query()” call using that keyword as the “s” argument. But no matter what I do it returns no results.
If I disable your plugin my code works perfectly. So I know that it is a conflict with Relevanssi plugin. Here is what I have tried already.
? I disabled my “pre_get_posts” function — no difference.
? I have tried checking and unchecking the “Respect exclude_from_search for custom post types” box — no difference.
? I have tried checking and unchecking the custom post type from the indexing section — no difference.Any help you can provide would be greatly appreciated… Thanks.
Sincerely,
Jesse
- The topic ‘Issue with custom post type.’ is closed to new replies.