How to get current theme in frontend in magento?

To get current theme in frontend you have to put this code in your phtml file and this phtml file was called by the page where you want to showing it.

 

<?php echo Mage::getSingleton(‘core/design_package’)->getTheme(‘frontend’);?>

Post A Comment

Your email address will not be published. Required fields are marked *