Ready to get started?Download WordPress


TinyMCE Advanced
Stop replacing double br with p-tags and stop wrapping content inside p-tags (2 posts)

  1. oxodesign
    Posted 2 months ago #


    It my have been answered before but I couldn't find an answer for this:

    1. Can I somehow stop WordPress replacing my double br-tags with a single p-tag? I tried with: remove_filter( 'the_content', 'wpautop' ); but it didn't work.

    2. I dont need wordpress editor to wrap my content in p-tags, how can I stop this, I want to choose where I put the p-tag myself? How can I fix this?


  2. Andrew Ozz
    WordPress Dev
    Plugin Author

    Posted 2 months ago #

    Doing remove_filter( 'the_content', 'wpautop' ); is not enough. You can try both by changing the settings for TinyMCE by using tiny_mce_before_init filter.


You must log in to post.

About this Plugin

About this Topic