Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter hakanozkaptan

    (@hakanozkaptan)

    return str_replace(array(‘<p>’, ‘</p>’), ”, $option_content);

    Plugin Author White Bracket

    (@white-bracket)

    Hi hakanozkaptan

    As things stand at the minute the only way to remove the <p></p> tags are with the solution that you have posted. I am currently working on version 1.3.0 of the plugin which will expand on the shortcode, so you can remove the p tags by passing in some attributes, plus a whole load of new features.

    Plugin Author White Bracket

    (@white-bracket)

    Hi,

    I have just pushed version 1.3.0 of the plugin and you can now remove p tags from the shortcode output, just add the attribute wpautop=”no”. So the shortcode will look something like [wbo option_name=”wb_XXXX” wpautop=”no”]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How can i remove tags’ is closed to new replies.