Hello,
I have checked the "exclude_from_search" checkbox into the "publication" post type UI from Toolset, but publications still display on search : hidden link
THank you.
This is not happening on my test site.
When I add a Custom Post Type and check exclude_from_search, then search for ?s=name_of_post won't return any result.
It must hence be some other plugins code or theme that produces this issue.
Can you check if:
- the issue exists for all post types you can control with Toolset > Post Types
- the issue persists after resaving the options
- the issue persists with another theme
- the issue persists with only Toolset as plugins
Thanks!
By activating another theme, it works OK. Theme is "Innwit Composer".
Thank you.
You should consult this with the Theme author in this case because it seems that theme somehow interferes in the native WP Query.
I can test, but not fix this. For this, I'd need a copy of that theme. However, it would not greatly help, as the issue seems due to the theme.
You can always confirm this by creating an exclude_from_search post type with another plugin or code generator like this hidden link
I've added a screenshot where you can enable exclude from search.
It'll likely also fail with that, making it an issue on the theme.
Toolset Post Types are basically native, standard WordPress Post Types
My issue is resolved now. Thank you!