ThemeShaper Forums » Thematic

[closed]

Home button

(2 posts)
  • Started 4 years ago by 1seleema
  • Latest reply from Chris
  • This topic is not resolved
  1. 1seleema
    Member

    Hi, I would like to add a home button to the navbar http://wiserwoman.com unfortunately I'm not technically wise. Any help would be appreciated. Thanks

    P.S
    I did try the different snippets of code on the forum, but did not work.

    Posted 4 years ago #
  2. Hi,

    include the following code in your child theme's functions.php:

    function childtheme_menu_args($args) {
        $args = array(
            'show_home' => 'Home',
            'sort_column' => 'menu_order',
            'menu_class' => 'menu',
            'echo' => true
        );
    	return $args;
    }
    add_filter('wp_page_menu_args','childtheme_menu_args');

    Chris

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.