Back to Top

Protect Shortcodes from wpautop and the likes

Protect Shortcodes from wpautop and the likes
4 OPINIONS!

It is typical for any WordPress blog owner to have a few (if not many) shortcodes defined in his or her installed theme or plugins. While some shortcodes will work perfectly, some, especially enclosing ones, will not. Most of the time the problems lie at WordPress's built-in formatting functions, famous one of which is wpautop().

There are actually countless support questions and articles about wpautop() and other formatting functions mangling the contents of... more

Page 1 of 1 1