How to show all events on one page ?

Home Forums Calendar Products Events Calendar PRO How to show all events on one page ?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1026035
    Adage
    Participant

    Hello,
    I would like to understand how I should do in order to show all my events into a page (via a shortcode for example ?)
    I understood how to show them into a calendar, but not how to show them into a list or some other type of disposition…
    Thank you.

    #1026524
    Nico
    Member

    Hey Adage,

    Thanks for reaching out to us! I’ll help you on this one…

    You can use the PRO widget shortcodes to display them in a list (Advanced list widget). Other option is to craft a custom WP_QUERY to fetch the events, but that would require a bit of coding on your side.

    Please let me know if the widget shortcodes work for you,
    Best,
    Nico

    #1026723
    Adage
    Participant

    Hello and thank you,
    The shortcode [tribe_events_list venue=”yes”] really helps me.
    Nevertheless, I would like it to show also the featured image of the event.
    If possible, I would also like to loads the events on three columns.
    Last, I need to show all events, including past ones.
    Thank you.

    #1027208
    Nico
    Member

    Hey Adage,

    Glad to hear this helped you out getting started at list!

    Nevertheless, I would like it to show also the featured image of the event.

    Hope fully this article will help with this: Add thumbnails to upcoming events list widget.

    If possible, I would also like to loads the events on three columns.

    The article above points you to our Themer’s guide, and gives you a code sample of the override to add the image. In the same way you can edit the template to show this in three columns, by altering the mark-up to achieve this.

    Last, I need to show all events, including past ones.

    In this case I can point you in the right direction but you might have to fine tune the code to fit your particular needs. The snippet below shows how to alter the query arguments for the widget:

    add_filter ('tribe_events_list_widget_query_args', 'modify_widget_query' );

    function modify_widget_query ( $query ) {

    //var_dump($query);

    $query['eventDisplay'] = 'custom';
    $query['posts_per_page'] = -1;

    return $query;
    }

    Please let me know if there’s anything else I can help you with,
    Best,
    Nico

    #1027270
    Adage
    Participant

    Thank you very much for your help.

    #1027271
    Adage
    Participant

    My issue is resolved

    #1027747
    Nico
    Member

    Hi Adage,

    Thanks for the heads up, and glad to hear this is solved 🙂

    I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.

    Best,
    Nico

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘How to show all events on one page ?’ is closed to new replies.