![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
Tagged: events calendar, Plugin Conflict
-
AuthorPosts
-
January 25, 2022 at 8:35 pm #1337166
We updated the Events Calendar and Enfold this morning and are having some compatibility issues that we hope you can help with! We’ve tested plugin and theme conflicts and think we have narrowed down the source to Enfold.
In The events calendar plugin, there is a setting to “Enable updated designs for all calendar views” – With enfold activated, the display on a single event is still the old display with the event meta information to the left. With Twenty twentyone theme activated, the event meta information is in the correct place for the setting, below the event description.
Thank you so much for your help in looking into this!
January 26, 2022 at 4:50 am #1337201Hey bimsenfold,
Thank you for the inquiry.
The theme actually overrides the single event template, so what you see is the template modification from the theme with the event meta information displayed on the left. If you want to disable the template modification, just add this code in the functions.php file.
remove_action( 'tribe_events_template', 'avia_events_template_paths', 10, 2 );
You can also declare the avia_events_template_paths function again to negate the override.
function avia_events_template_paths( $file, $template ) { return $file; }
Best regards,
IsmaelJanuary 26, 2022 at 4:46 pm #1337326Thank you for your response! The first option worked great.
The calendar buttons on the single events are also formatted a little strangely with what looks like an extra icon and inconsistent padding. Is this an Enfold conflict, as well?
An example link is below.
January 27, 2022 at 7:25 am #1337422Hi,
Thank you for the update.
Glad to know that the first option worked. Regarding the button, it doesn’t look like an issue with the theme, but you can try and disable the css files that the theme is using to override the single view layout. Please add this in the functions.php file.
function avia_events_register_assets( $styleUrl ) { return false; }
Best regards,
IsmaelJanuary 27, 2022 at 4:12 pm #1337552Thank you – I’ll play around with that some more.
Appreciate the quick replies, feel free to mark this as resolved!
January 28, 2022 at 10:57 am #1337662 -
AuthorPosts
- The topic ‘Events Calendar Display Error’ is closed to new replies.