• Resolved zabelle_motte

    (@zabelle_motte)


    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

    https://www.ads-software.com/plugins/events-maker/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter zabelle_motte

    (@zabelle_motte)

    I give question and answer.
    This is a resolved post.

    Zabelle

    Plugin Author dFactory

    (@dfactory)

    Thx, @zabelle

    Next update will indlucde a class in both archive-event.php and template-functions.php, and filterable with a hook in a em_display_events function.

    Regards,
    Bartosz / dfactory

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.