Problem
Shortcodes not working in widget area.
Solution
Add the following to your theme’s functions.php
file.
Panel | ||
---|---|---|
| ||
add_filter( 'widget_text', 'do_shortcode' ); |
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Page Properties | ||
---|---|---|
| ||
|
Shortcodes not working in widget area.
Add the following to your theme’s functions.php
file.
Panel | ||
---|---|---|
| ||
add_filter( 'widget_text', 'do_shortcode' ); |
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Page Properties | ||
---|---|---|
| ||
|