• Hi,

    I’ve adapted the file wp-content / themes / coller / framework / layouts / content-coller.php to show the full content of an article directly on the main landing page:

    `<div class=”out-thumb <?php echo $grid_class; ?>”>
    <span class=”entry-excerpt”><?php echo substr(get_the_content()).(get_the_content()); ?></span>

    </div><!–.out-thumb–>’

    In general it works fine. However, when my content editors use the WYSIWYG editor to create an article, all the line breaks are gone on the landing page. The format is OK when the article is opened though. I can go into the “text” editor and can add br/ but, it would be great if it worked out of the WYSIWYG editor.

    Any ideas?

    Kind regards,
    Flo

  • The topic ‘WYSIWYG editor for content on main page – line breaks gone’ is closed to new replies.