WP does not, by default, do shortcode replacements in sidebars. You can edit the functions.php file of your theme and add this: