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!

Advertisements

Sr. Software Engineer

Tagged with: , , ,
Posted in Drupal
33 comments on “How get the navigations of custom menu using hooks in drupal?
  1. ugg bottes says:

    i was just searching alongside and also uncovered your world wide web internet site. just wantd to state amazing net site and this submit actually solved the dilemma.

  2. It is in fact a good and useful piece of information.Ia??m happy that you shared this helpful info with us.You should keep us informed like this.Thanks for sharing

  3. Habibi says:

    Perfectly composed content material, thanks for information. “Life is God’s novel. Let him write it.” by Isaac Bashevis Singer.

  4. 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!

  5. Golda Nardi says:

    That you are my intake, I own couple of internet logs and often run out from to brand : (.

  6. Maxie Guiab says:

    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!

  7. Nathaniel Ku says:

    Good post, I’m going to spend more time researching this topic

  8. 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.

  9. I really like meeting utile information, this post has got me even much more info!.

  10. 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.

  11. Yay google is my world beater assisted me to find this excellent web web site !.

  12. Thanks for the good writeup. It in fact was once a leisure account it. Look complex to more delivered agreeable from you! By the way, how could we communicate?

  13. Jamie Ninh says:

    I consider something truly interesting about your internet site so I saved to fav.

  14. I think this site has got some very excellent info for everybody : D.

  15. Very interesting details you have observed, thanks for putting up. “I never said most of the things I said.” by Lawrence Peter Berra.

  16. Ivory Toms says:

    I enjoy what you guys are normally up too. This kind of clever function and reporting! Keep up the extremely good works guys Ive added you guys to blogroll.

  17. Ivette Lexer says:

    I surely did not recognize that. Learnt a thing new nowadays! Thanks for that.

  18. 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 wantHaHa). You in fact put a new spin utilizing a subject thats been written about for many years. Fantastic stuff, just exceptional!

  19. Subsequently, soon after spending numerous hours on the internet at past Weve uncovered anyone that undoubtedly does know what they’re discussing thank you really a lot wonderful weblog post

  20. 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.

  21. Really good style and style and amazing topic matter, extremely little else we want : D.

  22. Thank you, Ive 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?

  23. I have been browsing online more than three hours today, yet I never found any interesting article like yours. Its 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.

  24. Were glad to become visitor on this pure internet site, regards in this rare information!

  25. Lanie Eder says:

    Some truly fantastic content on this internet site, thanks for contribution.

  26. Simone Luhn says:

    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 🙂

  27. Jordan Kaja says:

    I used to be recommended this blog by indicates of my cousin. Im 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!

  28. Very good article, I am going to spend a lot more time researching this subject

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: