Formatting the no_events_message in widget_events_list
-
Hello,
I have been scratching my head for a long time for finding a way to format the no_events_message in the events list widget.
I had to add a div definition in the no_events_message render while adapting the em_display_events function in includes/templates-function.php.
I replaced the last line of the function by this
return "<div class='no-events-message'>".$args['no_events_message']."</div>";
so that I finally have a class to manage the formatting of this message.Perhaps a good idea to make this small modification in the core, this may help other designers.
With big kisses for this plugin,
Zabelle
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Formatting the no_events_message in widget_events_list’ is closed to new replies.