Calling an upcoming event in a different part of the site

Home Forums Calendar Products Events Calendar PRO Calling an upcoming event in a different part of the site

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #86791
    Kelly
    Participant

    Hi there! I’m looking for some help to call an upcoming event in a non-ECP part of the site. I have a client who is a composer that has written a number of operas. I am creating a page for each one.

    On each show page, can I call some PHP so that the date and some details of the next upcoming performance of that particular show is displayed automatically? I would like to call the specific show’s next date, not just whatever happens to be the next performance out of all of the upcoming shows.

    For example, here is a page for one of his works. On it, there’s a place for “upcoming performances.” Can I list automatically (say, up to a limit of 3) the upcoming performances for Drunken Moon?

    Thanks for your help 🙂

    #87557
    Brook
    Participant

    Howdy dotwongdotcom,

    There is no “easy” way to do this. Depending on your specific requirements and where you want to display the cdetails, you could likely do this using tribe_get_events(). Scroll down a bit on that page to find the relevant info. From the sound of things you are going to have program a fair amount of logic around these queries to automate them. Definitely look into it, but it might not be worth the hassle to you.

    Is that going to work for you? Please let me know. Thanks!

    – Brook

     

    #87989
    Kelly
    Participant

    Thanks Brook. This goes beyond my knowledge of PHP. It was worth looking into, but ultimately, beyond what I can do right now.

    Cheers!

    #87995
    Brook
    Participant

    I appreciate the response Kelly. Glad I could be of some assistance, but I understand what you mean. Sometimes the time investment in learning is not worth the pay off. Even if you did know PHP you might have decided to it was nor worth the investment.

    Happy site building!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Calling an upcoming event in a different part of the site’ is closed to new replies.