Including MEC in your Theme
If you’re going to include Modern Events Calendar in your theme, then please use the following as a guide.
Including MEC in Theme
To include Modern Event Calendar plugin in your theme, you can simply use TGMPA plugin. It works completely fine with this plugin.
For better User Experience, MEC imports events and shortcodes upon activation. If you want to disable this feature for any reason, you can use the two following filters:
Disabling Dummy Events,
Disabling Dummy Shortcodes (Not Recommended if you’re not going to add your own shortcodes!).