How to add a title in WordPress Menu without linking to a page
I was always under the wrong impression that you cannot add a title to your menu without having it linked to a page, category or tag. The day eventually came that I needed to add a title "Accounting" and "Payroll" to my top navigation menu. The subheadings would be actual pages on my website.
These 2 titles do not refer to any of my pages but are very important for the navigation of my website. In the past I used to create a page, save it without publishing and then link the page to my menu.
I came across this easy method of doing and was dumbstruck with how simple it is.
These are the 5 simple steps to do it:
Step 1: Go to Appearance section in the WordPress sidebar and select Menu.
Step 2: Click on Custom Links.
Step 3: Change the URL to #.Step 4: In Link Text: type what you would like to display as a title in your menu.
Step 5: Click: Add to Menu
It worked! The Menu Titles that I wanted are now included in my WordPress menu.
Now your custom created title will appear in your menu and you can drag it into the order you prefer.