WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Format of #_EXCERPT for event and location (2 posts)

  1. thinkero
    Member
    Posted 2 years ago #

    For proper display of #_EXCERPT please add these minor changes

    in files classes/em-event.php
    change line 792
    $replace = $matches[0];
    with
    $replace = nl2br($matches[0]);

    in classes/em-location.php
    change line 312
    $replace = $matches[0];
    with
    $replace = nl2br($matches[0]);

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    more tempted to add

    add_filter('dbem_notes', 'nl2br');

    does that work for you?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic