Skip to content

Instantly share code, notes, and snippets.

@corsonr
corsonr / shortcode_in_text_widget
Created May 26, 2012 20:03
Allow shortcode in text widget
<?php
// To be able to use shortcode in text widget, add this line into functions.php
add_filter('widget_text', 'do_shortcode');
?>