Shortcode process suppresses following or
-
Is there a way to have shortcode replacement occur before wpautop adds paragraph or line breaks?
I would like shortcode replacement be treated as if user had typed the replacement themselves, which means adding br and p tags after the shortcode replacement when applicable.If I have a post like this:
line 1 line 2 [myshortcode ...] line 3
I get this output:
line 1<br /> line 2<br /> <a href="...">...</a> line 3
Note the missing
<br />
after the [myshortcode] text.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Shortcode process suppresses following or’ is closed to new replies.