How to put home url in new wp_nav_menu? (2 posts)

  1. alonsaints
    Posted 5 years ago #

    Anyone knows how I can put a section called Home in new wp_nav_menu template tag but in functions.php? I tried with functions of twentyten theme but don't work.

    function twentyten_page_menu_args( $args ) {
    	$args['show_home'] = true;
    	return $args;
    add_filter( 'wp_page_menu_args', 'twentyten_page_menu_args' );?>

    Someone can help me please?
    Thanks in advance

  2. Tom Smith
    Posted 5 years ago #

    One Super Easy way to do that would be to add a custom link in the menu, http://yourdomain.com/

    Zero code.

Topic Closed

This topic has been closed to new replies.

About this Topic