• Hi,

    I’m not sure what is it. In my very simple template I have declared menu in functions.php:

    add_action( 'after_setup_theme', 'register_my_menu' );
    function register_my_menu() {
        register_nav_menu( 'primary', 'Header Menu' );
        register_nav_menu( 'secondary', 'Footer Menu' );
    }

    and in header.php:

    <?php wp_nav_menu( array(
                    'menu' => 'Main Nav',
                    'theme_location' => 'primary',
                    'menu_class' => 'nav-menu1'
                ));
                ?>

    Menu is showing up no problem on site, but I can’t edit it from backend.
    Adding new menus resulting in adding couple menus, which aren’t working at all, so isn’t deleting menus. I have no clue what’s going on.

    I tried to reinstall wordpress, changing themes etc. but none of them helped.
    Is this some king of bug?

    Regards,
    Pawel

Viewing 1 replies (of 1 total)
  • Thread Starter kucharz.gotuje

    (@kucharzgotuje)

    Also, on same page: I can’t upload any files becouse of error:

    An error occurred in the upload. Please try again later.

    uploads directory is chmod -R 777

Viewing 1 replies (of 1 total)
  • The topic ‘'Add Menu' isn't working, Menus bug’ is closed to new replies.