# Overriding Shortcode Skins

> Copy Modern Events Calendar skin templates into your theme and customize shortcode output safely without losing changes on update.

Source: https://webnus.net/dox/modern-events-calendar/overriding-shortcode-skins/
Last updated: 2026-11-05

[MEC](https://webnus.net/modern-events-calendar/) supports many skins for showing events and you can customize all of them by overriding shortcode skins, and all of them are override-ready!

## Overriding Shortcode Skins {#Overriding\_Shortcode\_Skins}

For example, if you want to customize the grid skin for MEC, then you can simply put the **/path/to/modern-events-calendar/app/skins/grid/render.php** into **/path/to/theme/webnus/modern-events-calendar/app/skins/grid/render.php**.

**Note 1:** **/path/to/theme/** means: **~root/wp-content/themes/YOUR THEME-NAME/…** and then create a new folder called webnus.

For example, with the Kata theme, the path would be: **~root/wp-content/themes/kata/webnus/modern-events-calendar/app/skins/grid/render.php**.

**Note 2:** If you use the free version of Modern Events Calendar, you need to add “**\-lite**” after the plugin name, so the path would be: **/path/to/theme/webnus/modern-events-calendar-lite/app/skins/grid/render.php**.

## Overriding the templates {#Overriding\_the\_templates}

You can use the overriding Modern Events Calendar shortcodes skin and do it for all template files of all skins, including single skin that is for showing a single event page, monthly\_view, full\_calendar, cover, etc.

BTW, we recommend you avoid overriding the files as much as you can and try to make them compatible with your theme using CSS/JS because if you override the files on your theme, then your clients may not be able to use new features of it after MEC automatic update. In overriding the Modern Events Calendar shortcodes skin feature, we’ve created two functions for you to put these codes on this page or anywhere on your site:

```php
$upcoming_events = MEC_main::get_upcoming_events(20); // 20 is number of events
$events = MEC_main::get_shortcode_events(6380); // 6380 is the shortcode ID
```

## Related Developer Guides {#Related\_Developer\_Guides}

These guides are useful when you customize MEC in a theme:

-   [Including MEC in Your Theme](https://webnus.net/dox/modern-events-calendar/including-mec-in-your-theme/)
-   [MEC Hooks](https://webnus.net/dox/modern-events-calendar/mec-hooks/)
