You could go to the wordpress menu and make the target of the link a #. If the user clicks on it, they are taken to the top of the page where they probably are anyway since they’re using the navigation.
Related Posts:
- Exclude Tags from get_the_tags
- is there a quick way to hide category from everywhere?
- Exclude pages with certain template from wp_list_pages
- Exclude category from category archive
- Combine get_page_by_title to exclude pages from wp_list_pages
- Exlude pages from wp_list_pages
- Multiple arrays in post__not_in parameter
- wp_list_pages() exclude category
- Exclude pages by menu order
- Exclude some categories from the post page
- Don’t execute function on specific posts
- using pre_get_posts to exclude
- problems exluding categories
- Better way to exclude category output for post/pages?
- Create a list of pages excluding children of selected page
- post__in and tag__not_in conflict
- How to exclude one category
- How to exclude a category in the following Code?
- Exclude from wp_list_pages by template
- Exclude Categories from wp_list_categories()
- List post wit the same category but exclude parent
- Display 1 category only with get_the_category (by ID or slug)
- trouble with my loop
- Get first category only and excluding one
- Exclude pages by custom field (with yes/no) storing wrong data?
- Exclude post ID from wp_query
- Dynamically exclude menu items from wp_nav_menu
- How do I exclude plugins from getting automatically updated?
- Exclude Current Post from Recent Posts Loop
- How can I hide children of draft pages using wp_list_pages()?
- Return parent post with its children using WP_Query?
- exclude category from get_posts?
- Exclude Specific Term from Search
- Exclude the category from the WordPress loop
- Show just one level of child pages, wp_list_pages woe
- Skipping first 3 posts in wp query
- Shortcode producing headers already sent error
- Exclude certain category from latest updates
- how can I use WP_Query to exclude a specific tag.?
- Exclude categories from Loop, queries, widgets, post navigation
- Highlighting current item of custom post types’ sub pages, listed by wp_list_pages
- How to hook wp_list_pages?
- List posts by category exclude current post
- wp_list_categories exclude not working
- How to filter by category in REST API, excluding posts also in other category term?
- Exclude ALL posts from sub categories
- Is there a way to make a custom Page type?
- How does wordpress calculate the page depth?
- How to List All Pages (With their template names) Within a Website
- How can I list all pages with their templates?
- Excludes posts that don’t have attachments in the_content()
- Test if page is child and has children, if so echo child pages also on grandchild pages
- Excluding a category from next and previous post links
- Retrieving custom taxonomy in order, but excluding specific tax IDs
- How to exclude/filter a tag from get_the_tag_list()
- Add Parent to List of Subpages
- Ways to give a wp_list_pages menu link specific class names?
- Exclude post_type from admin comments_list
- get all page IDs from wp_list_pages
- Add class to the items in wp_list_pages
- Exclude Category From Home Page, Display Posts on It’s Own Page?
- How to show only parents subpages of current page item in vertical menu?
- Change ul class=”children” for wp_list_pages?
- Exclude Custom Post Type & Pages From Auto-Tag Function
- Add exception for specific tag
- How to add active class to custom menu using while loop and wp_list_pages
- how to properly list child pages in sidebar?
- How to exclude categories from recent posts, recent comments & category widgets?
- Exclude a category from the filed under list only on some templates
- Display grandchildren on child and grandchild pages using wp_list_pages
- Get attached media only
- Alter secondary loop to exclude posts from current page category
- Load parent pages when there are no child pages
- Exclude posts with specific meta_value while sorting by a separate meta_value
- Exclude file from theme editor
- Filter keywords from search query
- wp_list_pages – show pages immediately 1 level below current level
- Add filter to wp_dropdown_pages() or wp_dropdown_categories() – no select container?
- Custom Post Type Name Causing Problem
- exclude custom post type by meta key in wp_query
- Adding span tags within wp_list_pages list items
- Dynamically excluding current page id
- Do not allow to search certain words
- create shortcode to show children if any otherwise siblings
- Check whether the child page has siblings
- inserting custom li class to wp_list_pages
- Exclude a specific tag from the get_the_tags list
- Handling complex multi-level architecture / menu for large site
- Exclude One Category and its Subcategories using WP_LIST_FILTER
- Exclude the parent custom post-type posts only
- Exclude subfolder from WP-redirect works with html but not php files
- No link on empty page in wp_list_pages
- How to exclude shortcode from specific page IDs if it’s set to global
- Query Ignoring ‘exclude’ Parameter?
- How to get a list of all recently published child pages?
- dynamically limit depth of wp_list_pages
- Manipulate Output of wp_list_something: select menu instead of li’s
- How to exclude a directory from WordPress permalinks in a Multisite environment?
- Filter Posts by Excluding Categories
- Default WP search excluding specific characters, is it possible?