[wp-hackers] How do you determine if a shortcode was used inline or
block level?
Viper007Bond
viper at viper007bond.com
Thu May 22 06:31:51 GMT 2008
Yes, another shortcode thread.
I'm throwing together a shortcode-powered BBCode plugin ([b], [i], etc.).
BBCode can be both inline and block level and I need it to be properly
wrapped in <p>'s and such. Is there any way to know when I need to call
wpautop() on my content string within the shortcode?
Code examples:
This is some [b]bolded text[/b].
[b]This whole paragraph is bold.[/b]
--
Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/
More information about the wp-hackers
mailing list