Home › Forums › Ticket Products › Event Tickets Plus › Multisite Event and Additional Fields search?
- This topic has 5 replies, 4 voices, and was last updated 9 years, 9 months ago by
Paul.
-
AuthorPosts
-
June 26, 2016 at 4:11 am #1132075
Paul
ParticipantHello,
I am working on a multisite network and would like to be able to search events (and Additional Fields) across all the network sites. I have recently posted regarding this topic on the following closed thread:
I finally found a solution searching for events using the WPMU DEV Post Indexer plugin:
https://premium.wpmudev.org/project/post-indexer/Basically, you tell the plugin to index specific post types, for example, tribe_events. The plugin then indexes those particular post types and a custom search page (and/or widget) then simply returns search results for events across all network sites 🙂
If possible, I would like to index the Additional Fields content but am not sure if this content actually has a custom post type? I would need this to make the plugin index the additional fields.
Do you have a full list of the custom post types which you use so I can see if any of them work with the plugin? The only ones I have stumbled upon so far are below but these do not index the Additional Content:
tribe_events
tribe_venue
tribe_organizer
tribe_events_cat
tribe_wooticketFor your information, the Additional Content we use for admins is simply a dropdown menu with Option 1, Option 2, Option 3 etc… Once the option has been set and the event published, we just need to search for the Option 1, 2 etc.
Kind regards,
Paul.
June 27, 2016 at 9:34 am #1132421Josh
ParticipantHey Paul,
Thanks for reaching out to us!
I’m glad you were able to find a solution here that works for the search on multisite. The additional fields however, aren’t stored as a content type but are stored as key values with keys such as “_ecp_custom_2”
I’m not sure how the WPMU plugin indexes, but does it index the posts including the postmeta information? If so, you could extend the search to include the postmeta checks there.
If not, depending on the type of information you need to collect, you could try creating new taxonomies for this additional information if that is able to be automatically managed by the WPMU solution you’re currently using.
Would that be something that would work there?
Thanks!
July 4, 2016 at 4:45 am #1135050Paul
ParticipantHi Josh,
Thanks for your fast reply and sorry for my slow one!
I’m not 100% on this but as far as I know, the WPMU DEV Post Indexer plugin does not index the post meta. If it did I think it would return search results for meta information keywords for the post type which has been indexed. I’m confusing myself slightly here, but I think that would seem logical!?
I will post to the WPMU DEV forums and ask if there is a way to index the post meta. This would probably be the best solution?
If not, creating new taxonomies is rather new territory for me and I would probably need some guidance.
I will post back once I hear from WPMU DEV.
Best regards,
Paul.
July 4, 2016 at 5:38 am #1135069Josh
ParticipantHey Paul,
No problem, let me know what you hear back.
For taxonomies, this is always a great starting point. There is also a great taxonomy generator tool that you could use to help generate the exact code you’d want to paste into your theme’s functions.php file.
Thanks!
July 19, 2016 at 9:35 am #1141522Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Multisite Event and Additional Fields search?’ is closed to new replies.
