To enable Beaver Builder template shortcodes in WordPress sidebar widgets, add this code to your theme’s functions.php file.

/**
* Enable Beaver template shortcodes in WordPress widgets
*
* @author Davinder Singh Kainth
* @link http://probeaver.com
*
*/
add_filter('widget_text', 'do_shortcode');
view raw functions.php hosted with ❤ by GitHub

Leave a Reply

Your email address will not be published. Required fields are marked *