50 posts
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
  • Europe
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?

1181 posts How's the surf doing?
  • Forum Superstar
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • United Kingdom
  • Referred between 200 and 499 users
  • Exclusive Author
  • Has been a member for 3-4 years
+2 more
tommusrhodus says

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

50 posts
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
  • Europe
2035Themes says

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

Right. Shortcodes.

50 posts
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
  • Europe
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