WordPress.org

Ready to get started?Download WordPress

Forums

Post of the Day
The line breaks in an article get lost. (2 posts)

  1. Aerone
    Member
    Posted 1 year ago #

    Using version 1.0 of the Post of the Day plugin the line breaks are not displayed properly. This can be changed by making an alteration in line 132 of the code:

    patch against version 1.0 of post-of-the-day.php":

    132c132
    < '<div class="potd_content">' . do_shortcode($curr_post->post_content) . '</div>';
    ---
    > '<div class="potd_content">' . nl2br(do_shortcode($curr_post->post_content)) . '</div>';

    http://wordpress.org/extend/plugins/post-of-the-day/

  2. Russell Mann
    Member
    Posted 1 year ago #

    Many thanks Aerone. You're the best.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic