Modify the output for [tribe_events_list] shortcode?

Home Forums Calendar Products Events Calendar PRO Modify the output for [tribe_events_list] shortcode?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #973311
    Sean Sullivan
    Participant

    Hello:

    I’m using the [tribe_events_list] shortcode on my homepage, along with the “skeleton styles” option.

    The output that matters is this:

    <div class="list-info">
     <h2 class="entry-title summary">My Event</h2>
     <div class="duration">July 29</div>
    </div>

    I’d like to have the date appear first, followed by the event name. So:

    <div class="list-info">
     <div class="duration">July 29</div>
     <h2 class="entry-title summary">My Event</h2>
    </div>

    Seems simple enough, but I couldn’t find a template file to modify this.

    #973489
    Barry
    Member

    Hi Sean,

    That’s a great question.

    The shortcode simply wraps up the output of the advanced list widget and lets you embed it easily inside posts and pages – so the steps for customizing this are identical to customizing the list widget itself.

    Our Themer’s Guide goes into more detail about the process and the following is the path to the source template you’ll most likely base your custom template on:

    src/views/pro/widgets/modules/single-event.php

    Does that help here?

    #975127
    Sean Sullivan
    Participant

    Thank you! Rookie mistake: I was looking in the non-Pro folders.

    #975136
    Barry
    Member

    No problem, glad you’re on track 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Modify the output for [tribe_events_list] shortcode?’ is closed to new replies.