add_shortcode Wordpress

I added the Shortcode API as described here, but it is only displayed in post content. How do I use shortcode in wordpress excerpt?

{ 0 comments }

How do I create shortcodes that support attributes under wordpress CMS? How do I add shortcodes to my theme?

{ 2 comments }