53 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 3 years
+1 more
2035Themes says

Wordpress automatically puts paragraph tags around everything in the page/post editor. How to remove that?

wpautop is not solution. Its disable all p tag. I think is not legal in themeforest.

Any solution for this?

1330 posts How's the surf doing?
  • Has referred 200+ members
  • Has sold $500,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+6 more
tommusrhodus says

In what context do you need to suppress paragraph tags? Shortcodes?

53 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 3 years
+1 more
2035Themes says

In what context do you need to suppress paragraph tags? Shortcodes?

Right. Shortcodes.

53 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 3 years
+1 more
2035Themes says
i fount solution from this page function wpex_clean_shortcodes($content){ $array = array ( '<p>[' => '[', ']</p>' => ']', ']<br />' => ']' ); $content = strtr($content, $array); return $content; } add_filter('the_content', 'wpex_clean_shortcodes');
by
by
by
by
by
by