Use Shortcodes in Sidebar Widgets


/ Published in: PHP
Save to your folder(s)

Simply add this line of code to your child themes function.php file


Copy this code and paste it in your HTML
  1. add_filter('widget_text', 'do_shortcode');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.