In Wordpress there can be multiple themes installed. But only one theme at a time can be active. If you want to get the name of the active theme in WordPress you can get it.
To get the active theme name use the following code is useful.
To get the active theme name use the following code is useful.
<?php
$active_theme_name = wp_get_theme();
?>
$active_theme_name will give you the active theme name.
No comments:
Post a Comment