3007 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+7 more
duotive says

Hello. I have one question. How do i stop the WP Editor to add or remove < br / > . Can anyone point-out a filter? Thanks.

2453 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+3 more
digitalimpact says
remove_filter('the_content', 'wpautop'); 
remove_filter('the_content', 'wptexturize'); 

These are WordPress’ 2 main formatters; guess the second one is responsible for row brakes.

3007 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+7 more
duotive says
remove_filter('the_content', 'wpautop'); 
remove_filter('the_content', 'wptexturize'); 
These are WordPress’ 2 main formatters; guess the second one is responsible for row brakes.

thanks man will give a try later :)

by
by
by
by
by
by