WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. Aerone
    Member
    Posted 3 years 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 3 years ago #

    Many thanks Aerone. You're the best.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Post of the Day
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic