WordPress Code Snippet

Enable Shortcodes in Text Widgets

By default it is not possible to use Shortcodes inside the Text Widget. Some Themes enable this feature, so there’s no need for you to do this if you’d like to use Shortcodes inside Text Widgets. If your Theme does not enable this feature, this simple line of code does the trick.

Share this page: