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!

33 Replies to “How get the navigations of custom menu using hooks in drupal?”

  1. A person essentially lend a hand to make significantly posts I’d state. This is the very first time I frequented your website page and to this point? I amazed with the research you made to create this actual put up amazing. Magnificent job!

  2. Couldn?t be produced any greater. Reading this post reminds me of my old room mate! He always kept talking about this. I will forward this report to him. Pretty certain he will possess a good read. Thanks for sharing!

  3. I do agree with all the ideas you’ve offered in your post. They are really convincing and will certainly work. Nonetheless, the posts are too brief for starters. May just you please lengthen them a little from next time? Thank you for the post.

  4. then naturally it will probably be far more than you expected. There is nothing in this world which comes simple. Every thing in this world is extremely tough to get and the competition for acquiring the points has become extremely much tough.

  5. This is the correct weblog for every person who wishes to be familiar with this topic. You’re aware of an excellent deal of its virtually tricky to argue to you (not too I personally would want…HaHa). You in fact put a new spin utilizing a subject thats been written about for many years. Fantastic stuff, just exceptional!

  6. Thanks a lot for giving everyone an extremely nice opportunity to read in detail from this web site. It’s always so awesome and full of amusement for me personally and my office co-workers to search your web site at the very least three times every week to see the latest guides you have got. Not to mention, we’re usually satisfied with your awesome opinions you serve. Selected 4 areas in this article are in reality the finest we’ve had.

  7. Thank you, I’ve just been searching for info about this topic for a long time and yours may be the very best I have discovered till now. But, what in regards towards the conclusion? Are you positive about the source?

  8. I have been browsing online more than three hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. Personally, if all webmasters and bloggers made good content as you did, the net will be much more useful than ever before.

  9. I haven’t checked in here for a while as I thought it was getting boring, but the last several posts are good quality so I guess I will add you back to my everyday bloglist. You deserve it my friend :)

  10. I used to be recommended this blog by indicates of my cousin. I’m not certain whether or not this post is written by means of him as nobody else recognize such certain about my difficulty. You are incredible! Thanks!

Leave a Reply

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