> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.webnus.net/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Including MEC in Your Theme

Including [MEC](https://webnus.net) in your theme means for seamless integration of both, you need to adjust dummy shortcodes. If you’re going to include the Modern Events Calendar in your theme, then please use the following as a guide.

To include the Modern Events Calendar plugin in your theme, you can simply use the [TGMPA plugin](http://tgmpluginactivation.com/). It works completely fine with this plugin.

For a 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

add\_filter('mec\_activation\_import\_events', '\_\_return\_false');

## Disabling Dummy Shortcodes

**Note:** Not Recommended if you’re not going to add your own shortcodes!

add\_filter('mec\_activation\_import\_shortcodes', '\_\_return\_false');