Nav without blog url
-
[ Moderator note: please wrap code or log lines in backticks or use the code button. I’ve added the backticks to your post. ]
Hello,
I’m looking for a solution. I have a website that’s pointed to an anoter domain. The problem is the main nav always links to the not pointed url. So i want to delete the url of the blog in the link;
<a href="/second-page/">
in stead of
</a><a href="https://school.nl/second-page/">
is that possible?
The menu code now
wp_nav_menu( array( 'menu' => 'mainNav', /* menu name */ 'menu_class' => 'nav', 'theme_location' => 'mainNav', /* where in the theme it's assigned */ 'container' => 'false', /* container class */ 'fallback_cb' => 'bones_main_nav_fallback', /* menu fallback */ 'depth' => '2', /* suppress lower levels for now */ 'walker' => new description_walker() ) );
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Nav without blog url’ is closed to new replies.