Plugin Author
Franky
(@liedekef)
EME doesn’t render advertisements … which lines are you talking about?
The landing page says “Cette page est utilisée par Events Made Easy. Ne la modifiez pas, ne l’utilisez pas dans vos menus, ne la supprimez pas. Assurez-vous simplement que le paramètre EME appelé « Events page » pointe vers cette page. EME utilise cette page pour afficher tous les évènements, lieux, réservations, cartes, etc. Si vous souhaitez supprimer cette page, créez-en une nouvelle que EME peut utiliser et mettez à jour le paramètre EME « Events page » en conséquence”
I changed :
if (eme_is_events_page()) {
//make sure the filter is not called again (to avoid loops) by removing it and not check the_content count in $wp_current_filter
remove_filter(‘the_content’,’eme_filter_events_page’);
by :
if (eme_is_events_page() && $eme_count_arr[‘the_content’]==1) {
The english message’s
This page is used by Events Made Easy. Don’t change it, don’t use it in your menu’s, don’t delete it. Just make sure the EME setting called ‘Events page’ points to this page. EME uses this page to render any and all events, locations, bookings, maps, … anything. If you do want to delete this page, create a new one EME can use and update the EME setting ‘Events page’ accordingly.
Plugin Author
Franky
(@liedekef)
Well, I tried to use a better wordpress logic for the_content filter, but apparently it isn’t as resistant to other plugins/themes doing the_content filtering too as before, so I’ll revert the change:
https://plugins.trac.ww.wp.xz.cn/changeset/2317629/
Thank you very much !! Franky