WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Add home page link in menu (Sandbox theme)

[Resolved] Add home page link in menu (Sandbox theme)

  • Hi, I’m wondering how I might go about inserting a home page link into my menu bar (navigation bar) using the Sandbox theme. As you can see on my website (http://infini9.com/wordpress/) there are links to work, clients, about, contact.. but not home!

    I think it’s done by editing the functions.php file (I may be wrong though), this area.

    function sandbox_globalnav() {
    	if ( $menu = str_replace( array( "\r", "\n", "\t" ), '', wp_list_pages('title_li=&sort_column=menu_order&echo=0') ) )
    		$menu = '<ul>' . $menu . '</ul>';
    	$menu = '<div id="menu">' . $menu . "</div>\n";
    	echo apply_filters( 'globalnav_menu', $menu ); // Filter to override default globalnav: globalnav_menu
    }

    Can anyone direct me as to how to do this?

    Thanks!
    -Josh

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Add home page link in menu (Sandbox theme)’ is closed to new replies.