tribe_events_list – location included?

Home Forums Calendar Products Events Calendar PRO tribe_events_list – location included?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1267620
    Uwe Matern
    Participant

    Good day from Hamburg,

    quick question. Is there an option in the tribe_events_list – shortcode to select the location for an event? We know, that category and tags are attributes. But would be great to have the venue-location also in that selection.

    Best regards
    Uwe

    #1269137
    Trisha
    Member

    Hi, Uwe!

    I can help with this!

    To start with take a quick look through our themer’s guide here: https://theeventscalendar.com/knowledgebase/themers-guide/ This will give you a good overview so now on to your solution.

    Find the following files:

    •  ‘events-calendar-pro/widgets/list-widget.php
    • events-calendar-pro/widgets/modules/single-event.php

    and move them to

    •  ‘[your-theme]/tribe-events/pro/widgets/list-widget.php
    • [your-theme]/tribe-events/pro/widgets/modules/single-event.php

    Instructions are listed at the top of each file as well.

    Once you have that done change Line 117 on single-event.php from:

    <?php if ( isset( $venue ) && $venue && tribe_get_venue() != '' ) : ?>

    to:

    <?php if ( isset( $venue ) ) : ?>

    That should get you set up 🙂

    Do note that this will change the widget as well as the shortcode.

    I hope this helps, let me know how it goes!

    Cheers,
    Trisha

    #1278639
    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 ‘tribe_events_list – location included?’ is closed to new replies.