Problem after Modern Events Callendar update

Hi, my client uses the Modern Events Callendar to feature activities of their meditation center and so every event has a separate offerings module on Givebutter platform (https://givebutter.com). This platform allows to embed Givebutter widgets via shortcodes. They worked at the beginning, but after the recents MEC update they stopped showing up on the front end.
I have checked the site, everything is up to date. Givebutter shortcodes still work well when used on Cornerstone pages or posts, but they don’t show up on events.
My clients contacted MEC support, but they cannot find any reason causing this kind of problem.
Do you have any clue what could cause it and how to solve it?

Best wishes,
Beata

Hello Beata,

Thanks for writing to us.

To better assist you, we need to review your settings. Please clone your live website to a staging server and share the staging site’s admin login details with us. This will allow us to investigate the issue without affecting your live website. Please note that we cannot guarantee a resolution, as the issue appears to be related to a third-party plugin, whose functionality and codebase are outside our control. Please share your details in a secure note. Please provide the following details

  • WordPress Login URL
  • Admin-level username and password
  • Exact page URL

You can find the Secure Note button at the bottom of your posts

Thanks for understanding

Dear Prakash,
thank you very much. I have created the staging site and added the note.
I have to admit that there is a lot CSS styles added (in the CSS Global) for the looks of the MEC events and callendars.
Let me know, if you see anything suspicious.
Beata

Hello Beata,

Please share the exact page URL where the shortcode is not working, along with the URL of the page where it is working correctly. This will help us investigate and debug the issue properly.

Thanks

Ok. This is where it works:

And this is where it doesn’t work:


So in the second case we have a link to register replacing the shortcode.

I am placing exactly the same shortcode, but on the events it becomes invisible.

Thank you,
Beata

Hello Beata,

Thanks for sharing the exact page URL. I checked the issue, but unfortunately, I wasn’t able to identify a clear cause on our end. The issue may be related to how the MEC plugin filters the content or loads its templates.
As a possible workaround, you can try forcing shortcode parsing in the MEC single-event template by adding the appropriate code to your child theme’s functions.php file and then testing the result.

If the issue persists, I recommend contacting the Givebutter plugin’s support team for further assistance. Please make sure to back up your site before making any changes to the functions.php file.

add_filter( 'mec_single_event_content', function( $content ) {
    return do_shortcode( $content );
}, 20 );

Thanks for understanding

Dear Prakash,

thank you. I have added the code to the Child Theme functions, but it doesn’t help.
I can see now a new MEC update showing up, so maybe something was done to help with it and it will be included in some future PRO update as well. Because these shortcodes really worked earlier, before MEC was updated last time.
Beata

Hello

Since this involves a third‑party plugin, MEC and Givebutter, we don’t have direct control over its behavior. It’s possible the recent update changed how shortcodes are processed on event pages. I would suggest you get in touch with the plugin authors to get rid of your issue.

Thanks for understanding