Viewing 2 replies - 1 through 2 (of 2 total)
  • I came across that same issue, and would like to add a request for an option to remove the linebreaks.

    What I did to work around it was to remove the wpautop filter from the content and add a modified version which doesn’t add those linebreaks. Here’s some code that should work:

    remove_filter( 'the_content', 'wpautop'          );
    add_filter   ( 'the_content', 'wpautop_nobreaks' );
    
    function wpautop_nobreaks( $text ) {
    	return wpautop( $text, false );
    }

    Sorry guys,
    I don’t develop this plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Option to not break on linebreaks?’ is closed to new replies.