I solved this issue by adding this code to my walker
if( !is_home()){
$item->url = get_bloginfo('url')."/#!/page_".$temp_url;
}
Related Posts:
- WP /wp-admin/admin-ajax.php produces 404
- current-menu-item not apllying with wp_nav_menu() on ajax
- Programmatically add a Navigation menu and menu items
- Get page IDs from nav items
- Remove a menu item in menu
- How to count nav menu items?
- Custom settings disappear during database migration?
- Call custom field into menu item
- Exclude Private, Draft pages from Primary Nav when using custom menu
- Automatically remove trashed pages from nav menu
- Pulling Featured Images in to a WordPress Menu
- wp_nav_menu always falls back to a menu
- Menu Disappears on Category Pages
- Overriding wp_nav_menu default arguments
- Move admin menu at the end
- Should the caching of WordPress menus be specific to each page?
- Not able to get current menu ID
- How to implement my own icons instead of using the svg icon system
- wp_nav_menu (secondary menu) not adding current classes
- WordPress wp_nav_menu with a nav tag
- How can I detect whether a BuddyPress page is active from within my theme?
- `start_el` depth argument in custom nav walker always evaluates to zero
- Programmatically set current-menu-item using wp_nav_menu
- WordPress Split Menu
- Custom Admin Menu Order
- How to set classname for tag in wordpress menu?
- How can I add divs or change li in the submenu of the menu_nav
- Get number of root elements in walker class
- Operable default menu *and* custom 3 menu
- WordPress menu permalink redirects to wrong page
- HTML to WordPress Menu convert
- How to change menu URLs to hashes?
- How to create this Custom Walker Menu
- create a 2 row menu in wordpress
- Get menu item by name or slug
- How to handle many different menus?
- wp_page_menu not working right?
- using OOP approach to create plugin but stuck at making hyperlinks to work
- creating a custom walker class
- edit user menu item
- Excluding a media query from specific pages
- Use dashicons in menu items?
- Menu Arrow for Child Element
- Custom menu with different behavior for every item
- Responsive dropdown menu with smaller screen sizes
- Menu separator appearing on next line
- Add a counter beside menu item label
- Why is my array of nav menus returning empty?
- Problem in applying active class to wordpress menu
- How to get submenu dropdown with images?
- Modifying the walker to insert parent’s description above sub menus
- wp_list_pages Hierarchical Help
- How to avoid the and which added when custon menu widget is used
- How to create a complete mulilanguage site using xili language plugin?
- Add pages content to startpage through custom menu
- pre_get_posts fix to show menu on CPT Archives broken WP 6.0
- WordPress Menu Problem
- How can I remove the navigation menu from a Page that is not on the menu?
- get_nva_menu_locations returns only filled ones
- Add attributes to wrapper html generated by wp_nav_menu
- Get Each Menu Nav Label of Menus in HTML tag
- How can I click the parent menu then redirect to a special URL?
- Stuck while adding bootstrap navwalker class
- use value returned from shortcode as menu item
- Hiding specific navigation menus from specific roles in admin panel
- Need Help Regarding Menu Magement in admin
- Create a menu item with a blank title
- Navigation bar is on live site but nothing under menu so can’t add in a page
- WordPress menu issue after update
- Displaying a part of a menu containing the page the user is currently viewing and only it’s immediate children
- Menu’s built in the edit theme view do not have active states set when on child pages
- Menu Responsive
- How to create menu in Word Press 4.2.2?
- Custom menu creation
- Mobile Menu Not Working
- wp_nav_menu list children if on parent page but sibling if on sibling page
- Adding class atribute to wp_nav_menu ul
- custom rearranged menu with excerpt for selected children in sidebar.php
- Programatically retreive page content from its template page
- Menu – custom structure
- TwentyTwelve child theme: Incorrect footer menu
- adding a numbers to a item from navigation menu
- Rogue current menu item class in wp_nav_menu()
- Use wp_nav_menu to dynamically generate child menus
- Two pages named the same thing, on a different level but conflicting url paths in menus and direct links
- How do I change the default wordpress navigation header that comes with my theme?
- To Add Logout Button in Menu [duplicate]
- Add qtranslate language select box to menu [closed]
- Custom menus not showing
- menu_class showing up on DIV instead of UL
- deleted menu still present [closed]
- Nav menu custom html:
- How was this menu system created?
- How can i make two menu walkers with logo in center?
- Broken drop down menu using Bootstrap and navwalker class
- Is it possible to animate the Twenty Eleven menu? [closed]
- Why is WordPress stripping anchor links from mneu item URLs?
- Add button and title on submenu WordPress
- wp_get_nav_menu_items array not getting 3rd level children
- Unable to order my menu by dragging