Link to API

Home Forums Calendar Products Events Calendar PRO Link to API

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #66610
    infosws
    Participant

    Hi,

    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.

    #66670
    Barry
    Member

    Hi 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!

    #66754
    infosws
    Participant

    Hi 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?

    #66771
    Barry
    Member

    Hi 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!

    #980869
    Support Droid
    Keymaster

    This 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.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Link to API’ is closed to new replies.