Posts by MasonThemes

1 post
  • 2 Years of Membership
  • Affiliate Level 1
  • Author Level 3
  • Collector Level 2
+2 more
MasonThemes
says


jQuery(document).ready(function(){ jQuery('p:empty').remove(); });
That’s very ugly way to do that. You should use remove those tags in shortcodes properly without messing with WordPress core code.

^^That doesn’t touch the core..

Whilst I admit it’s not the most elegant solution in the world, it certainly does exactly what is required without having to filter the_content output in any way.

by
by
by
by
by
by