Shortcodes not working in widget area
Add the following to your theme’s functions.php file.
functions.php
add_filter( 'widget_text', 'do_shortcode' );
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.