we noticed that all the event data shows up in the sitewide wordpress search – so i am guess that post type is set to “True” for searching in some way. Any way to remove just the venue or other components from the search? we really don’t want the venue showing up but general knowledge is also of use.
Good question. You can limit WordPress search to specific post types if you’d like. Here’s a blog post with a good example of how to do that with a snippet in your theme’s functions.php file. The example there will ensure that only Pages and Posts are returned in search.
Does this make sense? Will it work for you? Please let me know. 🙂
yes – but can we hide just the venue? but keep the event? i thought the venue was a part of the event post itself? i guess I am not clear on where it is stored in the WP database.
also, should i make any changes through a hook rather than change the original functions file?
Ah yes, you could add tribe_events to the array so that it returns events an no venues instead.
I think the functions.php file will be the best route here since it is theme-specific, though you could roll it into a standalone plugin if you would prefer.