In addition, it would also be helpful to be able to add menu items below that “home” menu link. For example, I’d like to move the topic “About This Site” under the “home” link to reduce the length of the primary menu. Right now that isn’t possible because the “home” link doesn’t appear in the menu creation page.
Hi
You can hide the title and the search in the options.
Shortening the text is generally not a good idea -for the user to easilly understand where to go, the menu should be as clear and obvious as possible.
Also users normally only “see” the first 3 menu items of a horisontal menu (We scan from top left to right before we loose interests) so I would strongly suggest changing your menu structure.
http://uxmovement.com/navigation/top-navigation-vs-left-navigation-which-works-better/
I am not sure where the Home link is coming from, the theme does not add it. Perhaps adding it to your menu will overwrite it?
I see where the Home link is coming from. It is in the Aaron functions.php file lines 86 through 108 where it sets it up to splice the site title into position 1 of the menu. But I don’t see where the option is to hide that from the menu.
/**
* aaron_hide_title
*
* Unless the option is hidden in the customizer, display the site title (with link) in the primary menu.
*/
if ( !get_theme_mod( 'aaron_hide_title') ){
function aaron_menu_title( $items, $args ) {
if( $args->theme_location == 'header' ){
$new_item = array( '<li class="toptitle"><a href="' . esc_url( home_url( '/' ) ) .'" rel="home">' . get_bloginfo('name') .'</a></li>' );
$items = preg_replace( '/<\/li>\s<li/', '</li>,<li', $items );
$array_items = explode( ',', $items );
array_splice( $array_items, 0, 0, $new_item ); // splice in at position 1
$items = implode( '', $array_items );
}
return $items;
}
add_filter('wp_nav_menu_items','aaron_menu_title', 10, 2);
}
Aha! I thought you meant an actual link with the text Home
Please go to the customizer and open the Advanced Settings panel, there you will find an option that reads:
“Check this box to hide the clickable site title in the header menu.”
Couldn’t one also change the menu’s “Navigation Label” to be something short, like “Home,” while the page itself has a longer name (the
Title Attribute”)? That’s how I do it. Customize/Menus/ click on the menu item and change the Navigation Label to be shorter.