Post types in the plugin
-
Hi –
Can someone please give me the lowdown on the post types / taxonomies / etc used in this plugin? I’d like to add custom values to various things.
So far I’ve managed to add custom taxonomies to the ‘event’ post type, but I’d like to know what ‘Locations’ are and if I’m able to add custom metadata to them (without using the custom attribute element – doesn’t work they way I’d like) by adding some code to my functions.php.
For example, I’d like to add links to the venues’ social media pages. That’s just for starters. Can anyone advise?
Thanks.
-
hi,
I guest using custom events/locations attribute is the easiest way; also, maybe this link can give you some idea
http://wp-events-plugin.com/documentation/event-attributes/
http://wp-events-plugin.com/documentation/getting-started/Hi, thanks for your response.
Maybe I didn’t explain properly before, but I tried using event/locations attribute and it won’t work the way I’d like. I find custom fields pretty frustrating to use – plus they’re shared among all post types which is something I don’t want.
I would simply like to know which of the elements within the plugin are custom post types or taxonomies.
Thanks.
Events are a custom post type, Event Tags & Categories are custom taxonomies.
Thanks.
How about Locations and Bookings?
Both custom post types.
Brilliant. What CPT names are they registered as in the system?
you can see the definition at events-manager/em-posts.php
The topic ‘Post types in the plugin’ is closed to new replies.