• 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>’;

    https://www.ads-software.com/extend/plugins/post-of-the-day/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Post of the Day] The line breaks in an article get lost.’ is closed to new replies.