Please, enter a valid email!
00 days
:
00 hours
:
00 minutes
:
00 seconds

How to Add WordPress Menu Location [Tutorial]

This guidance will explain you how to add WordPress menu location to your theme. Sometimes you may need to add an extra navigation menu with important or frequently used links to increase the usability of your WordPress site.

To create a new menu you need to edit your theme files. Before making changes to any of your core files, it's best to backup your entire site in case something goes wrong along the way.

To add a new menu location option in your admin dashboard under Appearance > Menus you need to 'register a menu'. All it takes is adding a snippet of code to your 'functions.php' file located under /wp-content/themes/your_theme/ directory on the server.


Hey, you! Have you heard about our new subscription service ONE? If no, just keep reading what I’m telling you about! Our new subscription service ONE can give you an awesome opportunity to save your money and to get more items. The subscription costs only $19 a month and gives you access to downloads of any material from ONE package. Just subscribe for ONE and get unlimited quantity of cool elements! Check out what WordPress themes we have for you now within the subscription and choose the most appropriate ones. Moreover, if you are a blog reader, you can get a 5% discount on the subscription using the simple promo code BecomeThe1.


Registering New WordPress Add Menu Location

Access your server using ftp client or FileManager provided by your host. Navigate to /wp-content/themes/your_theme/ directory on your server. Open the 'functions.php' file for editing.

how to add menu wordpress

Scroll to the bottom of the file. If you'd like to add only one menu, add the following code on a new line:

function register_my_menu() {
register_nav_menu('additional-menu',__( 'Additional Menu' ));
}
add_action( 'init', 'register_my_menu' );

In this example, 'Additional Menu' is the name that will appear in your admin dashboard's menu page. The 'additional-menu' name is what WordPress will understand to execute your code properly.

If you would like to add multiple menus to your site, add this code on a new line instead:

function register_my_menus() {
register_nav_menus(
array(
 'additional-menu' => __( 'Additional Menu' ),
 'another-menu' => __( 'Another Menu' ),
 'extra-menu' => __( 'Extra Menu' )
 )
 );
}
add_action( 'init', 'register_my_menus' );

You can add as many new menus as you'd like with this method. The same rules will apply when naming them. Save the changes you made to the file.


Creating New WordPress Add Menu Location via Dashboard

Head over to Appearance > Menus in your dashboard. You'll notice your new menus will be listed under Theme Locations in the Manage Location section.

add navigation menu wordpress

Feel free to create a new menu or use an existing one. Once you have created a new menu, you can also manage the locations where they are displayed under the 'Manage Locations' tab.

add navigation menu wordpress

WordPress Add Menu Location to Your Theme

This is where you need to decide where you'd like to place your menu. If you'd like your menu to appear at the top of your page, you'll need to edit the 'header.php' file. You can also put it in your footer which means you would edit the 'footer.php' file. You can even display a menu on a page by editing its template file or to a sidebar, editing its 'sidebar.php' file.

You can place your new menu where ever you'd like. Here's the minimum amount of code you need to add to any of these locations:

<?php wp_nav_menu( array( 'theme_location' => 'additional-menu' ) ); ?>

Where additional-menu is your new menu.

You probably want to style your menu with CSS so it goes beyond basic functionality and also looks great. To do this, you'll need to create a class and add it to your theme with the following code:

<?wp_nav_menu( array( 'theme_location' => 'additional-menu', 'container_class' => 'new_menu_class' ) ); ?>

Again, replace additional-menu with the menu name you chose. We created 'new_menu_class' class as an example, feel free to specify your own style class here. Do not forget to add style rules for the new created class in your style.CSS file which is located under /wp-content/themes/your_theme/ directory on the server.

This is it, your theme got an additional menu and now you are one step closer to the greatest site ever. Stay tuned!


JetMenu - Mega Menu for Elementor Page Builder WordPress Plugin

JetMenu is a highly functional plugin, which was cut for Elementor page builder and allows to create Mega menus with dropdown items being at the same time easy to use. This plugin doesn’t limit your imagination and has rich potential of creating astonishing menus and styling them according to your vision and needs.

Demo | Download


Stratum - Elementor Extras WordPress Plugin

Stratum Elementor Addon is a collection of 20+ advanced Elementor widgets with a strong business orientation. The addon enhances the functionality of the existing Elementor widgets collection with extra multipurpose elements for all kinds of websites - from personal portfolios and blogs to business websites and large eCommerce projects.

Although Stratum widgets are fairly equal to premium-like solutions,even Elementor Pro the addon users can try all 20+ widgets for free. Moreover, the addon gives access to exclusive and highly-demanded options unavailable even in the Elementor Pro packages.

Demo | Download



WordPress Add Menu Location FAQ

How to add WordPress menu location?

Under Menu settings>Display location, you also find the option to determine where you want your menu to show on your WordPress website. These settings may vary depending on a WordPress theme.

How to add WordPress menu location and customize it?

To add wordpress menu location or customize the default menu of your website, you have to enter the WordPress dashboard, click on Appearance and then on Menus.

What's the best drag and drop page builder for your WordPress site?

We recommend you use the Elementor page builder for drag-and-drop customization of your WordPress theme or a ready-to-go website. There is a growing number of themes, templates, and plugins compatible with the page builder available in the Elementor marketplace.

How do I add new features to WordPress?

You can add a lot of features and tools to your WordPress site with plugins. A WordPress plugin is essentially an add-on for your website. Plugins typically add new features or functionality to your WordPress website with little effort on your part. Just install and configure the plugin settings.


Read Also


Don’t miss out these all-time favourites

  1. The best hosting for a WordPress website. Tap our link to get the best price on the market with 30% off. If Bluehost didn’t impress you check out other alternatives.
  2. Website Installation service - to get your template up and running within just 6 hours without hassle. No minute is wasted and the work is going.
  3. ONE Membership - to download unlimited number of WordPress themes, plugins, ppt and other products within one license. Since bigger is always better.
  4. Ready-to-Use Website service is the ultimate solution that includes full template installation & configuration, content integration, implementation of must-have plugins, security features and Extended on-page SEO optimization. A team of developers will do all the work for you.
  5. Must-Have WordPress Plugins - to get the most essential plugins for your website in one bundle. All plugins will be installed, activated and checked for proper functioning. 
  6. Finest Stock Images for Websites - to create amazing visuals. You’ll get access to Depositphotos.com to choose 15 images with unlimited topic and size selection.
  7. SSL Certificate Creation service - to get the absolute trust of your website visitors. Comodo Certificate is the most reliable https protocol that ensures users data safety against cyber attacks. 
  8. Website speed optimization service - to increase UX of your site and get a better Google PageSpeed score.


Alex Bulat

Writing a blog post or building a micro niche WordPress website is something Alex can do bare-handed. You're welcome to contact him via Telegram, Facebook, or LinkedIn.

Get more to your email

Subscribe to our newsletter and access exclusive content and offers available only to MonsterPost subscribers.

From was successfully send!
Server error. Please, try again later.

49 responses to “How to Add WordPress Menu Location [Tutorial]”

  1. RandyInvof says:

    Kudos! Quite a lot of stuff!
    custom essay company essay writing services reviews argumentative essay

  2. Ralphpep says:

    https://valtrex.icu/# valtrex generic canada

  3. DustinAleft says:

    https://medrxfast.com/# non prescription erection pills

  4. DustinAleft says:

    https://medrxfast.com/# how can i order prescription drugs without a doctor

  5. DustinAleft says:

    https://medrxfast.com/# tadalafil without a doctor’s prescription

  6. JeffreyNuags says:

    http://stromectolbestprice.com/# pig wormer ivermectin pour on

  7. Geraldnuh says:

    male ed drugs best pill for ed

  8. Bernardgoi says:

    previous Cebu in-town gran Alvin Garcia fine for coronavirus

    ex – Cebu destination mayor Alvin Garcia relating to saturday, february 20, 2021, publicised that he had proved advantage as for Sars CoV 2, herpes that the coronavirus health issues 2019.

    Garcia defined over his particular twitter net page this individual knowledgeable negligible throwing up and no other.

    inside wed night-time, Cebu Archbishop Jose Palma seemed to be to delivered to a non-public medical throughout the Cebu city afterward he proven convincing to the coronavirus, Monsignor ernest tan, spokesperson typically Archdiocese from Cebu, powerful.

    tans confirmed that do Palma not necessarily in required case and can be suffering with sickness due to soft hmmm. this particular vaccines, which unfortunately arrived throughout a Turkish airways planes at Istanbul, are manufactured in the indian subcontinent, believed chief executive Aleksandar Vucic, business stumbled on edinburgh airport to match the delivery. inspectors towards february. 23 will not implie breaking it can be 2015 nuclear property, But the american should certainly on the other hand exercise sanctions on Tehran up to relief the pact, unfamiliar Minister Mohammad Javad Zarif stated inside tuesday. 23 certainly not breaking the deal, Zarif charmlive scam replied interior public meet among Iran the english language appropriate language squeeze telly. president joe Biden governing administration announced on wed it’s ready approach Iran related to both places returning to the contract, the fact that targeted to Tehran taken from developing nuclear pistols despite the fact that rising mainly point sanctions. becoming Minister Olivier Veran pointed out on saturday the costa rica government are able to come to a conclusion recently on tightening trojan take care of activities in the med area.

    AdHere’s a ‘must read’ more or less resources

    departing other than the fund news bullitains to help you make the most of your finances. Fidelity’s upside publication. join up therefore.

  9. Larryked says:

    https://pharmacyizi.com/# medicine for erectile

  10. Larryked says:

    https://pharmacyizi.com/# erectile dysfunction drug

  11. orlistat contraindicaciones xenical buy belivag orlistat 120 mg para que sirve what happens if you take orlistat without food

  12. prednisone tab 10mg prednisone 2.5 mg tablet does prednisone give you energy why does prednisone make me feel so good

  13. rzmaktkrvk says:

    vhatudurrznjzzwqqsgmzmppqxabev

  14. cout kamagra ou commander du kamagra diffГ©rence entre cialis et kamagra ou se procurer du kamagra sans ordonnance

  15. RobertNap says:

    https://diflucan.icu/# where to buy diflucan in singapore

  16. propecia prostate cancer propecia buy online australia jimmy fallon propecia “commercial” trump what do i have to do to get propecia

  17. cialis dose says:

    chibro proscar propecia can i buy propecia in mexico ceasing propecia side effects heart what is the danger of taking too much propecia

  18. buy levitra singapore generic levitra 20mg how effective is levitra bayer levitra 20 mg

  19. zanaflex 2mg dosage zanaflex 6 mg capsules can withdrawal from zanaflex cause extrapyramidal symptoms what can you ise zanaflex for

  20. lfljyjvh says:

    how to apply erythromycin erythromycin benzoyl gel reviews

  21. ChesterJat says:

    https://stromectolgf.online/# ivermectin 3 mg tabs

  22. Bernardsbd says:

    expensive-Heeled sandals; for being amount zero; using pre-determined individual symmetries – toeing typically the limitations comparing outdated. not being to you’re wedding at the time they’re formerly 27 also known as bigger too could cause their loved ones reduce tackle. your standards can lead to a master’s college degree from trustworthy college or university; Being the aging; needing white wine, sleek face; Having a certain height and weight; incidents where shopper demand a girl that appears like a oriental style and / or actress the fact that they want. discern the lady appeals to you what you are researching for in any buddy. beginning to influence a considerable united states all sorts of women in the hunt for an overseas husband. when we discuss arena dating site, selecting relished to know the dimensions and heritage of your relationshipr. Whether you want to lose weight naturally basically to improve your health or to change your appearance, it’s great to know what urges then you. i wish to meet someone, absolutely adore regarding my life. nonetheless the psychological and emotional worry that women off offshore experiences if breaking up with a distant man, as well as a asian human being, is typically contributed to and compounded next to the undeniable stress and anxiety for them to find a boyfriend and also loved ones. there’s nothing to say in which the only burning the person mourn is that of the chance to end personal go searching; additionally assume a real lowering your gives assurance, Not just the possibility, associated with commonly found families spyware can grow old complete with and a comfortable kinds whole life.

    them counsel is most effective, everybody is unique. the only real distinction between was males on mail order lookup directories are seeking only grave family relationships. But it is likely hard to succeed in far eastern girls along with holy matrimony or romances with none know-how about computers as well as her going tradition. if you’re not pleasant offshore or possibly don’t have definitely fernrrstliche family, internet dating can be the most wonderful way to direct appealing asian males during wedding ceremony. chinese language brides-to-be as marital life would love the opportunity to receive a have a passion for confession. most ladies have everyone thinking should be build their loved ones very well. thru among the of these networks, you will have brilliant thrill to get at home with lovely oriental girls. you can now have the knowledge much it’ll cost you to be able to cina darling. To find the proper woman, you must understand what you anticipate your spouse in order to first. It helps to find the place for scouting that is when, also don’t squander a considerable time speaking with babes which are don’t have the same access of interaction on hand. china young ladies over wedding ceremony are nothing can beat necklaces-Diggers potentially would suggest women who worry about articles positive effects exclusive: they will importance kindness combined with individual houses rather than materialistic many advantages.

    different far eastern female do not watch a breakup due to proverbial one-entrance door-termination-so-another-one-launching working environment; the way they visualize it, the door generally one-direction suspensions using a one-opportunity trail in direction of matrimony. with this, how you can a lot of time available for personals best suited brides. free dating online far east chicks may be as challenging and tough since it is dating chinese girls advantageous, especially for a different people trying to get this man’s illusion chinese language language her conversation. within internet websites, you may a lot of chinese language children browsing for wedding ceremony or great interactions. an additional thing that will be intrinsic to every one chinese language program girls is how smart they are just plain. neighboring men are certainly attending to soulmates, and also district females are accustomed to it. neighbourhood civilization is full of tradition that a lot of china and taiwan the entire family still observe. japanese the ladies are ready to set aside their day to their loved ones quite some time. associated with some words of advice frequently occurs to produce going gals provided by associated with u. s,world around the globe. supplied with these surprisingly strenuous do the job well-being, combined with the demands of modern life of today and their specific filial work to look for a boyfriend, online dating services is also the most popular and common option utilized modern, managing asian those. similarly, these individuals work with newer beliefs together with stresses just that, when they will come in completely different establish, very maintain the convention to “binding” mothers so that you society’s guidelines.

    these girls now have alternative goals, personalities, then prospect. This adds a good sharp edge, certain in offshore women of all ages getting close to his or thirties because,since older more mature. being confident will not mimic a psycho to a woman you are contacting. develop into into action. If any occasion or function can getting close to and you already perhaps you enjoy more than usual, contribute 10 time of extra exercise to your pattern to the week or over before you get there. for those who your middle collection on discovering charming chinese language courses moms as marriage ceremony or genuine marriages other than don’t realise the place to begin, we will be this site to assist you. It might be priced at noting of in maximizing children, gorgeous chinese the ladies are really severe rather concurrently containing more love. one of five close to surveyed, eastern young women got a good number of disappointed utilizing married life. Karaoke. without a doubt, It’s a quite nicely-renowned news that fernrrstliche most women seriously like karaoke.

  23. yesbcdhb says:

    erythromycin ointment for newborns api erythromycin

  24. wdpfjvex says:

    what is the antibiotic erythromycin used to treat http://erythromycin1m.com/#

  25. wleuismg says:

    modafinil online modafinil 100mg over the counter

  26. Louisnxt says:

    You only require to concentrate on what’s right, also if it looks too easy to look at. The signup process is very easy and also complies with easy steps to get you started and also have your account. Lots of people place their particular account on Philippines relationship sites are to obtain one objective, seeking an appropriate solitary Philippines individual or single Philippines female for love and love. No one envisioned that they could find love online? If I was dropped in love with somebody met in dating sites, I can not imagine what I will certainly really feel. Like with many things, online dating obtains much easier the a lot more you do it. That’s fantastic news for you, since it offers you the opportunity to beam by asking her a fascinating, creative or funny concern like this… Here’s a brief, tasty appearing message that’s perfect for a dating app… There are numerous free Philippines dating services. These websites advertised their solutions with fake advertisements. You ought to pay focus to terms of assistance (tos) at these Philippines dating services if you’re new to free Philippines dating solutions. So, throw out every one of your reasons and concentrate on these tips for online dating if you’re major about finding your suit.

    It took 3 years as well as dates with 138 various guys to meet my match. Most of my 138 days were great, genuine people however, after a number of dates, I can determine why they were still solitary. Terminated the days I had aligned. I’ve produced five ideas for how to tell if a vietnamese woman likes you on-line dating using my own experience along with insights from Dave Heysen, CEO of RSVP and also Dr Stephen Whyte, a behavioral economist from QUT whom I interviewed for a recent webinar for singles in lockdown. We recommend that you check out at the very least some prominent totally free Filipino online dating sites then publish your accounts with photos of yourself. It appears e-courses no more have excellent value since they’re not so effective.However, you can produce passion in your offers if you integrate sounds or videos right into your complimentary offer. In the genuine globe if you can present on your own in the very best light available in those very first 5 mins. The various other individual will develop a negative impact about you if you consume alcohol a great deal on the initial day. For several people the real option of a superb date is the dinner routine.

    Attempt to maintain eye call with your date. That indicates you’ll desire to have call information so you can proceed to follow-up with them. On Tinder, you can couple an attention-grabbing GIF with a humorous message… You need to keep her focus every step of the way, as well as develop tourist attraction with every message.’t wish to keep analysis? If she doesn’t also wish to keep analysis, why would certainly she trouble responding, a lot less wish to meet you in person? Miss one of them, and she’s proceeding to the next person. View your inbox fill out with ladies who are excited to meet you personally! Meet More High-Quality Women – Fast! The emotional price was much more challenging. An affordable folding outdoor tents threw in the back of the pickup or maybe car is a great course to start. Then, register your page and also begin contacting various other participants.

    Proceed as well as apply the over on website Web optimization recommendations on your financial investment site and also see the results for by yourself. Singles who are major regarding locating a purposeful connection, will see messages like “How was your day? In this manner enhances your chances to have solution from 2 or 3 singles. Hiring a combination mtb can be a smart means to commit a little bit of top quality time with a girl. Unlike the good ol’ days, your initial communication will certainly currently occur exactly on your mobile phone as well as not at the neighborhood bar or dining establishment. The very first message you send can aid you do that. Right here is one very tiny suggestion that can significantly enhance your success rate when meeting ladies for the initial time: see to it to smile at her as often as possible. Spamming the online search engine in one means or another is purely prohibited.

  27. Outstanding quest there. What happened after?

    Thanks!

  28. brealaMak says:

    Purchase Cialis From Canada Kyrrvn plaquenil dose for covid 19

  29. Embemntum says:

    https://alevitrasp.com Buy Online Viagra Where Zefshatt

  30. Google says:

    Google

    That may be the end of this article. Here you will uncover some websites that we assume you will enjoy, just click the links.

  31. Google says:

    Google

    Although internet websites we backlink to beneath are considerably not related to ours, we really feel they are truly really worth a go by way of, so have a look.

  32. Google says:

    Google

    Sites of interest we have a link to.

  33. Google says:

    Google

    Very couple of web sites that transpire to be detailed beneath, from our point of view are undoubtedly properly worth checking out.

  34. George Qu says:

    Dear Sir or Madam,

    I try to put an additional menu (named ‘Second Menu’) on the header of the ColorMag Child Theme. I followed the instructions described in “https://monsterspost.com/add-navigation-menus-wordpress-theme/”. I modified file “function.php” by adding following cod:

    function register_my_menu() {
    register_nav_menu(‘second-menu’,__( ‘Second Menu’ ));
    }
    add_action( ‘init’, ‘register_my_menu’ );

    and modified the file “header.php” by adding following code:

    ‘second-menu’ ) ); ?>

    The codes were added to the bottom of the files. But nothing happens. Would you please help me?
    Thank you very much
    George Qu

  35. imran says:

    thank you you helped me a lot

Leave a Reply

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