Trying to tie slide-show into events

Home Forums Calendar Products Events Calendar PRO Trying to tie slide-show into events

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27595
    Adam Ruback
    Participant

    We want to add a slide-show on our main page that is tied to the Events. Ideally this slide-show will pull in variables/calls from the Custom Fields including ticket links, but at the least we need it to call in the post name and featured image. Is there a plugin that’s been written to take advantage of Events rather than Posts- or can you steer us toward what kind of changes we might make to call Events instead of Posts?

    #27598
    Jonah
    Participant

    Hi Adam,

    I would suggest taking a look at our documentation on custom queries here: https://theeventscalendar.com/support/documentation/the-events-calendar-template-tags-general-functions/#functiontribe_get_events – you can use tribe_get_events() in that way or you can also roll your own using WP_Query and querying the post type of ‘tribe_events’ like so: https://gist.github.com/4025547

    I hope that helps!

    – Jonah

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Trying to tie slide-show into events’ is closed to new replies.