Using the default 'Upcoming Events' display for a specific venue

Home Forums Calendar Products Events Calendar PRO Using the default 'Upcoming Events' display for a specific venue

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1315068
    ericmeadows
    Participant

    Greetings,

    We are placing digital signage in venues and wish to display only that venues upcoming events. Using the shortcode option we don’t see how we can add the featured event image to the upcoming event listing.

    Is there a way to display the default Upcoming Events listing just like on the venue’s ECP page? Without the venue information on the top of the page? We only need the events with the featured image and possibly the event description. We’d like to be able to have a lot of control over text and image sizes since these will be on large-screen TVs in venues.

    I’ll assume some coding may need to be applied.

    Regards,
    Eric

    #1315881
    Barry
    Member

    Hi Eric,

    That’s definitely possible and, as you note, some custom coding would have to be applied. We can’t provide in-depth support for tasks like this, but here’s an idea or two to help kick things off.

    Is there a way to display the default Upcoming Events listing just like on the venue’s ECP page? Without the venue information on the top of the page?

    It sounds like the venue page meets your requirements, except for the fact that it contains venue information at the top. What if you simply reuse this view and stop it from including those unwanted details if some sort of condition is true, such as if the page was accessed via a URL like example.com/venue/name?hide_venue_details=1 — might that work for you?

    Simplified example:

    // Customized template override for the pro/single-venue.php template
    // This would be located at: YOUR_THEME/tribe-events/pro/single-venue.php
    
    if ( ! isset( $_GET['hide_venue_details'] ) ) {
        // Existing code used to print the venue details
    }
    
    // Rest of the template

    Might that sort of strategy work for you? You can find out more about template overrides at the following URL:

    theeventscalendar.com/knowledgebase/themers-guide

    #1326380
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Using the default 'Upcoming Events' display for a specific venue’ is closed to new replies.