How creating a seprate front page template and get a current active theme path in drupal?

Hello Everyone! Hope you are doing well. 1.How creating a seprate front page template : Creating a front page template is rather simple. In your theme folder (sites/all/themes/), copy the page.tpl.php file from drupal core or your parent theme. Then rename it accordingly (see below). You probably won’t see the results until you clear your …

How get the navigations of custom menu using hooks in drupal?

Hello Everyone! Hope you all are doing well. If you want to display the navigation from your custom menu on any page template, then just use my code. <?php $menu = menu_navigation_links(‘enter-your-menu-title’); print theme(‘links’,  $menu, array(‘class’ => ‘links primary-links’)); ?> Enjoy Code!