WordPress shortcodes are great for adding great features easily and efficiently using plugins into your posts and pages. The problem with shortcodes is that they don’t work when added outside the loop. Shortcodes are usally added in the content text area for added functionality.
For instance, if yuo wanted to add Gravity Form into your WordPress Blog, you would usually click the gravity button just above the content area and add Oops! We could not locate your form.
Oops! We could not locate your form.. But to add Gravity Form shortcode in the header or footer anywhere in the theme, just add it like this:
<?php echo do_shortcode('[gravityform id=1 name=ContactUs title=false description=false]'); ?>
Hope that helps.