Posts by MasonThemes

1 post
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 0-1 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
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