Viewing 3 replies - 1 through 3 (of 3 total)
  • add page new page name is home and
    add this page in menu u get home page

    Does your site front page display the blog posts index, or a static page?

    Also: are you using a custom user navigation menu, or is the fallback menu being displayed? To find out, go to Dashboard -> Appearance -> Menus, and look to see what (if anything) is selected for the appropriate Theme Location in the Theme Locations meta box in the upper left-hand corner.

    If the default fallback is being displayed (i.e. no custom menu is selected for the given Theme Location), then add the following to functions.php:

    function themename_child_filter_wp_page_menu_args( $args ) {
    	$args['show_home'] = true;
    	return $args;
    }
    add_filter( 'wp_page_menu_args', 'themename_child_filter_wp_page_menu_args' );

    That should cause WordPress to output a “Home” link, if the Theme is using the default fallback functionm, wp_page_menu().

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help me to add HOME button’ is closed to new replies.