OK, this may be a dumb question. Is it possible, using PHP, to detect which theme has been set for use by Wordpress ? If so, how's it done ?
Thanks.
|
|
If you only need the current theme name, you can use get_current_theme(). |
|||
|
|
|
This snippet (from the Codex) will get the current theme info for you.
|
|||
|
|