170 posts
    Has been part of the Envato Community for over 1 year Has sold $10,000+ on Envato Market Located in Europe Sells items exclusively on Envato Market
subsolar says

Hi, is there a way to remove the unwanted paragraphs from the shortcodes, that is compatible with the new Phase?

I know that modified wpautop and this is not permitted anymore: $array = array ( '<p>[' => '[', ']</p>' => ']', ']<br />' => ']' ); $content = strtr($content, $array); return $content;

Can somebody share a code snipped that can get the job done. Thanks! :)

72 posts
    Has been part of the Envato Community for over 4 years Has sold $40,000+ on Envato Market Has collected 10+ items on Envato Market Sells items exclusively on Envato Market
+1 more
jezh says

Check out this thread, you’ll find useful info there.

170 posts
    Has been part of the Envato Community for over 1 year Has sold $10,000+ on Envato Market Located in Europe Sells items exclusively on Envato Market
subsolar says

Oh, thanks! I knew about this thread but couldn’t find it..

by
by
by
by
by
by