I am using WP 3.1.1
I want to execute shortcodes inside excerpts.
Now I did my research before posting it here and I found that by adding this code in my Theme's function.php I can achieve what I want:
add_filter( 'the_excerpt', 'shortcode_unautop'); add_filter( 'the_excerpt', 'do_shortcode');
But after I added this code, it still does not execute shortcodes in excerpts.
I suppose this method is for older versions of WP.
Is there a similar solution for WP 3.1.1?
Thanks and Regards