168 posts
  • Europe
  • Exclusive Author
  • Has been a member for 1-2 years
  • Sold between 10 000 and 50 000 dollars
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
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Serbia
  • Sold between 50 000 and 100 000 dollars
jezh says

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

168 posts
  • Europe
  • Exclusive Author
  • Has been a member for 1-2 years
  • Sold between 10 000 and 50 000 dollars
subsolar says

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

by
by
by
by
by
by