• My site has a very long title (the full name of the organization and the acronym), which takes up too much space in the navigation links. Even without the acronym, it takes up too much space. With the other menu topics, it pushes the search box to the next row. I’ve also had to add a tertiary menu to handle the other main site topics to be just below the primary menu. In the previous theme I used, I was able to get them all in one row. Perhaps I can still do that if I change the font size to be much smaller but it would help if the “home” link wasn’t so long.

    Is it possible to have an option that allows us to edit the text used for this “home” link in the navigation menu?

    http://wdcb.stcwdc.org/

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sleeplessindc

    (@sleeplessindc)

    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.

    Theme Author Carolina Nymark

    (@poena)

    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?

    Thread Starter sleeplessindc

    (@sleeplessindc)

    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);
    }

    Theme Author Carolina Nymark

    (@poena)

    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.”

    Thread Starter sleeplessindc

    (@sleeplessindc)

    Ah! Thank you!

    christianboyce

    (@christianboyce)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Feature Request: Ability to shorten home page menu text’ is closed to new replies.