MEC Child Plugin

Customizing core shortcode files within WordPress plugins can be easily done and no overwritten by creating a child of the plugin. The example below will reference the Modern Events Calendar 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, for Deep Theme, it would be like: http(s)://example.com/wp-content/themes/deep/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.

What are your feelings
Table of contents