Home › Forums › Calendar Products › Events Calendar PRO › Link to API
- This topic has 4 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
September 18, 2013 at 7:58 am #66610
infosws
ParticipantHi,
We’ve seen the API with this plugin at http://docs.tri.be/Events-Calendar/
However, it’s not clear to us how we start using functions from this.
For example, we’re trying to echo out the venue name of an event using tribe_get_meta_group( ‘tribe_event_venue’ ) but it doesn’t seem to show anything.
I’m sure we’re missing something simple but could anyone point us in the right direction?
Thanks.
September 18, 2013 at 12:08 pm #66670Barry
MemberHi infosws,
We’re still in the process of building up our documentation for the new 3.x releases – but we already have a number of tutorials you might be interested including this guide to the meta walker (which is relevant if you want to use tribe_get_meta_group() and other related functions).
I hope that helps!
September 19, 2013 at 1:46 am #66754infosws
ParticipantHi Barry,
Thanks for responding and for the link to the meta walker guide. However, I still can’t get my head around what I’m supposed to do with the functions in that meta walker guide in order to start using things from the API like tribe_get_address().
Do I put them in the functions.php of my WordPress theme, or somewhere within the events calendar plugin itself?
September 19, 2013 at 6:36 am #66771Barry
MemberHi infosws, it can be a slightly confusing area (the meta walker) and could be considered an advanced topic with regards to customizing The Events Calendar.
To avoid confusion though, tribe_get_address() is not itself a part of the meta walker and I linked to the guide for the meta walker only because you first asked about using tribe_get_meta_group().
Generally speaking you should never modify core plugin code – keep any changes to template overrides (check out our Themer’s Guide), your theme (or child theme’s) functions.php file or indeed a plugin built for the purpose.
I think in this case building up knowledge of WordPress development in general would be time well spent as many of the idioms in The Events Calendar build on or echo the very same concepts.
I’ll go ahead and close this thread now, but if you have any other questions along the way please don’t hesitate to create new threads as needed, bearing in mind that we are a limited in terms of how much support we can provide for customization efforts – and the more specific the question (let us know your end goal, like, I want to add the venue address to a certain view only when … such and such condition is met) the better 🙂
Thanks!
July 7, 2015 at 6:27 am #980869Support 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 ‘Link to API’ is closed to new replies.
