Title: Event Sequence Layout
Last modified: April 14, 2023

---

# Event Sequence Layout

 *  Resolved [jennyong](https://wordpress.org/support/users/jennyong/)
 * (@jennyong)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/event-sequence-layout/)
 * Hi, can I know how to show all events from future events to past events on one
   page in descending order(means the new event will show on top of the page)? Currently
   it just show 3 latest event only and I need to click previous button to check
   back past event. Kindly advise. Appreciate if any help. Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fevent-sequence-layout%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/event-sequence-layout/#post-16663063)
 * Hi [@jennyong](https://wordpress.org/support/users/jennyong/)
 * Thanks for reaching out.
 * Combining both upcoming and past events may be possible with some custom coding,
   but if you decide to give that a try, please note [we cannot provide full support](https://theeventscalendar.com/knowledgebase/k/what-support-is-provided-for-license-holders/)
   for custom implementations like that.
 * As an alternative, you could try increasing the number of events per page from
   Events > Settings > Display > _Number of events to show per page_
 * And on your past events, you could add the snippet code provided in our article
   to display the latest to oldest. [[Showing Past Events in Reverse Order](https://theeventscalendar.com/knowledgebase/k/showing-past-events-in-reverse-order/)]
 * Let me know if you have further questions or concerns.
 *  Thread Starter [jennyong](https://wordpress.org/support/users/jennyong/)
 * (@jennyong)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/event-sequence-layout/#post-16667281)
 * Hi [@d0153](https://wordpress.org/support/users/d0153/)
 * Thanks for your reply.
 * I might want to try reverse the past events which show from latest to oldest.
   I already add the code in functions.php but it still not working. Any advice?
 * Thank you
 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/event-sequence-layout/#post-16670305)
 * Hi [@jennyong](https://wordpress.org/support/users/jennyong/)
 * That’s weird. I tried the first code snippet from this [article](https://theeventscalendar.com/knowledgebase/k/showing-past-events-in-reverse-order/)
   and it’s working as expected.
 * Could you try removing the code from your functions.php and add them through 
   [Code Snippets plugin](https://wordpress.org/plugins/code-snippets/), and see
   if that helps?
 * Again, you’ll need to use this code:
 *     ```wp-block-code
       /**
        * Changes Past Event Reverse Chronological Order
        *
        * @param array $template_vars An array of variables used to display the current view.
        *
        * @return array Same as above. 
        */
       function tribe_past_reverse_chronological_v2( $template_vars ) {
   
         if ( ! empty( $template_vars['is_past'] ) ) {
           $template_vars['events'] = array_reverse( $template_vars['events'] );
         }
   
         return $template_vars;
       }
       // Change List View to Past Event Reverse Chronological Order 
       add_filter( 'tribe_events_views_v2_view_list_template_vars', 'tribe_past_reverse_chronological_v2', 100 );
       // Change Photo View to Past Event Reverse Chronological Order
       add_filter( 'tribe_events_views_v2_view_photo_template_vars', 'tribe_past_reverse_chronological_v2', 100 );
       ```
   
 * Let me know how it goes.
 *  Thread Starter [jennyong](https://wordpress.org/support/users/jennyong/)
 * (@jennyong)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/event-sequence-layout/#post-16670845)
 * Hi [@d0153](https://wordpress.org/support/users/d0153/)
 * Thanks for your reply.
 * The code is working now.
 * Thank you for your support.
 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/event-sequence-layout/#post-16673643)
 * Hi [@jennyong](https://wordpress.org/support/users/jennyong/)
 * Thanks for your confirmation and I’m glad that it is now working.
 * If you have some time to review, that would be amazing!
 * [https://wordpress.org/support/plugin/the-events-calendar/reviews/](https://wordpress.org/support/plugin/the-events-calendar/reviews/)
 * I’d be closing this thread, and please do not hesitate to bump a new thread on
   our way. This allows us to track topics/issues efficiently and follow the[ WordPress Forum Guidelines](https://wordpress.org/support/guidelines/)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Event Sequence Layout’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Darian](https://wordpress.org/support/users/d0153/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/event-sequence-layout/#post-16673643)
 * Status: resolved