The following code is used to check if the current page is homepage
<?php if ( Mage::getSingleton('cms/page')->getIdentifier() == 'home' && Mage::app()->getFrontController()->getRequest()->getRouteName() == 'cms' ) : ?> //Do something here <?php endif; ?>
Leave a Comment