Support » Plugin: WordPress Shortcodes Plugin — Shortcodes Ultimate » Remove empty paragraph tags

  • Resolved nsbrown


    I’ve tried searching and I can’t find anything that works, is there a filter that I can use to remove empty or any paragraph tags.

    A function like this would be great:

    add_filter( '[su_column]', 'remove_tags' );

    Any help would be appreciated.

Viewing 1 replies (of 1 total)
  • Plugin Author Vova


    Hi @64tees,

    I don’t know an easy way of doing that. But, you could try to hide the unwanted tags with CSS, like so:

    .su-column > .su-column-inner > p,
    .su-column > .su-column-inner > br {
      display: none;
Viewing 1 replies (of 1 total)
  • The topic ‘Remove empty paragraph tags’ is closed to new replies.