How to Add a Menu Item in WordPress Without Linking to a Page
I assume you don’t want to completely remove it because it will literally disappear when hovering, which will look weird, like something’s broken. I recommend changing it from a text cursor (the one it appears when hovering over text) to a pointer.
Add Titles in WordPress Menu without linking to a page
The WordPress menu titles you include will direct visitors directly to a new page, but if you don’t want that to happen, there are ways around it. The WordPress menu titles are available in the first place because you create them. The menu will take visitors to a separate page on each of your WordPress website. This is done by providing a separate page link or a custom link to every menu item. If you want visitors to see your work, product or services separately in categories, you can include those categories as WordPress menu titles. Another option to consider is adding titles for each sub-menu category without the URL taking the visitor to a completely separate page. Take for instance a dropdown menu with categories belonging to a certain group: you can have the categories appear at the title of the menu without the visitor being navigated to a completely different page. This might clutter the screen and take more time than necessary.
Below is a step-by-step guide on how to figure out this simple task.
How to Remove Page Links From a Menu in WordPress
Nothing on the Internet is static. Just as websites develop and mature with the businesses they represent on the Web, it is only natural that over time you will need to reorganize your WordPress site, adding new pages and removing others from your navigation menus. While updating your website might seem like a formidable challenge, you can easily remove or replace page links on your menus with just a few clicks from the “Menus” sub-section of your WordPress dashboard.