• Resolved hispeed88

    (@hispeed88)


    Hi,

    I have a problem with my footer menu (it always was a problem). I don’t know why it always creates all menus that I have into the footer menu. I only want to show a few link in the footer and not all.

    You can see the menu here in the backend:
    https://ibb.co/StFGHFH

    Do I need some extra code or probably I simply misunderstand something basic very wrong.

    Thank you for your help.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    Are you using any plugin to create the menu?

    Please go to Appearance > Menu, and make sure to assign only 1 menu to the footer and check.

    and also try to disable all the nonocean plugin and check if it is working or not. If yes, enable the one by one plugin, and refresh the page after enabling each plugin, to check the conflict issue, and check.

    Thread Starter hispeed88

    (@hispeed88)

    Hi Abhishek,

    I deactivated all the plugins and tried it:

    – Loco Translate
    – Nav Menu Roles
    – Recipe Card Blocks by WPZOOM
    – Restricted Authors.

    No change when I deactivate them.
    The only one which is activated:
    https://ibb.co/B4WkrR9

    What can I do next?

    Thread Starter hispeed88

    (@hispeed88)

    I think I found the problem:

    I have this for the menus added ad the start before I found the nav menu roles plugin and Restricted Authors. This was the reason. This needs to be extended, but I will use the Nav Menu Roles which is better.

    function my_wp_nav_menu_args($args = '') {
        if(is_user_logged_in()) {
            $args['menu'] = 'Navigationsmenue-Logged-in';
        }
        else {
            $args['menu'] = 'Navigationsmenue';
        }
        return $args;
    }
    add_filter('wp_nav_menu_args', 'my_wp_nav_menu_args');

    Glad to know that you have found the causes for the issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Footer menu always shows all menus’ is closed to new replies.