I found shortcode usually generate p or br in return value. when I use do_shortcodes(get_content()), it’ OK, however, there is no paragraphs in the content . how do you do? thanks!
I’m also having this problem. It drives me crazy, I browsed here about 10 threads about it and haven’t found a solution yet.
<p></p> is added inside the string I am returning from my shortcode method=> is messing up all the content inside the shortcode.
remove_filter( 'the_content', 'wpautop' );?
- 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.