83 posts
  • Has referred 10+ members
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 6 years
  • Located in Europe
+1 more
Markic says

Whenever I create a custom page with siteorigin page builder, wordpress adds bunch of random

codes within my code. Now, I’ve googled the problem and there is a way of fixing this by adding

remove_filter( ‘the_content’, ‘wpautop’ ); remove_filter( ‘the_excerpt’, ‘wpautop’ );

into functions.php. This does not work though and I expect SiteOrigin plugin has something to do this. So I had to add this quick fix code

.certainClasses br, .certainClasses p { display: none; }

...and this does work in some simple cases (for example editing thumbnails or headlines. But then I installed and started to test Revolution slider. And Wordpress puts these

elements inside javascript which compleately makes slider useless if it’s nested by shortcode or widget inside the page.

So, is there any other way to fix this, because it’s making me mad.