Hi WPyogi
I followed the instructions on the link
I use twentytwlve theme so in my child theme i created a functions.php file and then input the code
function register_my_menu() {
register_nav_menu('header-menu',__( 'Header Menu' ));
}
add_action( 'init', 'register_my_menu' );
followed by
function register_my_menus() {
register_nav_menus(
array(
'header-menu' => __( 'Header Menu' ),
'extra-menu' => __( 'Extra Menu' )
)
);
}
add_action( 'init', 'register_my_menus' );
nothing happened and in fact the page wouldn’t save! please help!
i had to remove the new functions.php as the site wouldn’t even load after i added it. please let me know what i should do