I know that when you want to enable the use of shortcodes in your wordpress text widgets you need to write this code in your functions.php file.
add_filter(‘widget_text’, ‘do_shortcode’);
What I’m trying to find out is how I can use shortcodes with my custom admin options. When I try to use shortcodes inside my admin options page they don’t work.
Well you can pretty much wrap the do_shortcode() function anytime content is outputted… not sure if it would work. I’m not sure if it would work within your admin area? Good question…
But say you had some text area on your theme options page, I wonder if you could do something like this.
I tried adding “echo” in front of “do_shortcode” and it outputs everything as expected, but the shortcode is the first in line. The output is “2012Copyright blah blah blah”.