• Hi there – I have a problem with a homepage menu I’m using, in which links that have a ‘scrollto’ function on the page work fine, but any attempts to link to other pages from the menu don’t work.

    The URL appears in my browser on hover, but when clicked nothing happens.

    I have another menu for every page except the home, and all links work fine on this menu. Each of the two menus have different CSS properties and an individual PHP file.

    Is there possibly some issue with the PHP for the homepage menu:

    <?php
    if ( function_exists('has_nav_menu') && has_nav_menu('home-menu') ) { ?>
    <?php
    	wp_nav_menu( array( 'depth' => 6, 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_class' => '', 'menu_id' => 'nav' , 'theme_location' => 'home-menu' ) );
    ?>
    <?php } else {} ?>

    …or could this be something caused by the presence of the ‘scrollto’ script, affecting any links that are trying to link out?

    Many thanks in advance.

  • The topic ‘Custom menu items not redirecting’ is closed to new replies.