337 posts
  • Elite Author
  • Author Level 7
  • Trendsetter
  • Exclusive Author
+3 more
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! :)

HedgehogCreative
HedgehogCreative Recent Posts Threads Started
74 posts
  • 6 Years of Membership
  • Author Level 6
  • Collector Level 2
  • Exclusive Author
+2 more
HedgehogCreative
says

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

337 posts
  • Elite Author
  • Author Level 7
  • Trendsetter
  • Exclusive Author
+3 more
subsolar
says

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

by
by
by
by
by
by