I want to display the name of the theme currently in use. So I have (in sidebar.php) a call to the function get_current_theme(). But it always seems to display the name of the default theme, even when I theme-switch to a different theme.
I can’t find any documentation on get_current_theme. Does it actually get the theme currently in use by the blog? If so, what is it that I’m missing, thus preventing the display of the right theme name?
Thanks for any help,
- The topic ‘Getting name of current theme’ is closed to new replies.