[PHP Tutorial] Enable Shortcodes In Widgets

From Paul LundEnable Shortcodes In Widgets:


Enable Shortcodes In WidgetsBut for you WordPress developers that want to use one of your shortcodes in Widgets you need to add the following snippet in your functions.php file.



Proudly powered by WordPress
Creative Commons License
EricBrooks.Com® is licensed under a Creative Commons License.

Disclaimer: The views expressed herein are solely those of Eric Brooks. They do not necessarily reflect those of his employers, friends, contacts, family, or even his pets (though my cat, Puddy, seems to agree with me on many key issues.). In accordance to my terms of use, you hereby acknowledge my right to psychoanalyze you, practice accupuncture, and mock you incessantly with every visit. As the user, you also acknowledge that the author has been legally declared a "Problem Adult" by the Commonwealth of Pennsylvania, and is therefore not responsible for any of his actions.


Connect