67 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Sells items exclusively on Envato Market
  • Has referred 1+ members
+2 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?

1739 posts How's the surf doing?
  • Became a Top 20 Author of the Month
  • Had an item that was trending
  • Power Elite Author: Sold more than $1M on Envato Market
  • Has sold $1M+ on Envato Market and is now a Power Elite Author
+8 more
tommusrhodus
says

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

67 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Sells items exclusively on Envato Market
  • Has referred 1+ members
+2 more
2035Themes
says

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

Right. Shortcodes.

67 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Sells items exclusively on Envato Market
  • Has referred 1+ members
+2 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