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

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.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes