68 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Had an item that became a weekly top seller
  • Had an item that was trending
+4 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?

1755 posts How's the surf doing?
  • Power Elite Author: Sold more than $1M on Envato Market
  • Had an item that was trending
  • Became a Top 20 Author of the Month
  • Achieved the monthly Community Superstar Award
+9 more
tommusrhodus
says

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

68 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Had an item that became a weekly top seller
  • Had an item that was trending
+4 more
2035Themes
says

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

Right. Shortcodes.

68 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Had an item that became a weekly top seller
  • Had an item that was trending
+4 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