I tried adding it, but it didn’t do anything for me. Was there a specific place this code is supposed to go inside functions.php. I added this code to:
}
if ( function_exists( 'wp_nav_menu' ) ){
if (function_exists('add_theme_support')) {
add_theme_support('nav-menus');
add_action( 'init', 'register_my_menus' );
function register_my_menus() {
register_nav_menus(
array(
'top-links' => __( 'Top Links' ),
'main-menu' => __( 'Main Menu' ),
'footer-links' => __( 'Footer Links' )
)
);
}
}
}
Could you show me where exactly I ought to paste this code?