Title: MEC shortcode glitch
Last modified: February 21, 2025

---

# MEC shortcode glitch

 *  [infosws](https://wordpress.org/support/users/nicksws/)
 * (@nicksws)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/mec-shortcode-glitch/)
 * Hello,
 * I’m having problems with this in relation to the upcoming events on the home 
   page. The shortcode I am using “MEC 731 – Home Upcoming Event Tile View”.
 * When you load the home page, it shows all of the upcoming events like it should.
   However, if you then select a category, such as Film & Satellite, it shows all
   the expired events too. It also seems to be assuming the latest month, as it’s
   only showing the expired events for February. The same thing happens if you select
   any of the other categories and the problem persists if you re select “Category”
   from the dropdown.
 * The same thing happens if you select a month – it show all the expired events.
   You have to refresh the page for it to display properly again.
 * It seems this glitch only occurs when the “Include Ongoing Events” is turned 
   on. If I turned this option off, it just shows the upcoming events, but then 
   obviously won’t show any ongoing events, which it needs too.
 * We need to get into a state where it doesn’t show any expired events no matter
   what month or category you select, but it still needs to show the ongoing events.
 * I’ve included a couple of screenshots of the shortcode settings and filtering
   options.
 * If anyone can help to resolve this that would be fantastic
 * Chip Lyall
 * ![](https://i0.wp.com/www.tivoliwimborne.co.uk/wp-content/uploads/2025/02/Screenshot-
   1.png?ssl=1)
 * ![](https://i0.wp.com/www.tivoliwimborne.co.uk/wp-content/uploads/2025/02/Screenshot-
   2.png?ssl=1)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmec-shortcode-glitch%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘MEC shortcode glitch’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/modern-events-calendar-lite_e2f4ff.
   svg)
 * [Modern Events Calendar Lite](https://wordpress.org/plugins/modern-events-calendar-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/modern-events-calendar-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/modern-events-calendar-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/modern-events-calendar-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/modern-events-calendar-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/modern-events-calendar-lite/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [infosws](https://wordpress.org/support/users/nicksws/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/mec-shortcode-glitch/)
 * Status: not resolved