Title: delete second &#8220;home&#8221; page
Last modified: August 19, 2016

---

# delete second “home” page

 *  [am5](https://wordpress.org/support/users/am5/)
 * (@am5)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/delete-second-home-page/)
 * I was hoping that someone could point me in the direction of deleting the second
   home page for my site…Its not in the header.php as I have read elsewhere in the
   forums…can’t seem to figure out where the code is.
 * Thanks!
 * [http://www.kmfabric.com](http://www.kmfabric.com)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/delete-second-home-page/#post-1318283)
 * The link will be in your header.php template file. Or in a file that is called
   from header.php. Try looking for:
 * `<li class="<?php if(is_home() || is_front_page() ) echo 'current_page_item blogtab';
   else echo 'page_item blogtab'; ?>"><a href="<?php bloginfo('url');?>">Home</a
   ></li>`
 *  Thread Starter [am5](https://wordpress.org/support/users/am5/)
 * (@am5)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/delete-second-home-page/#post-1318284)
 * I’ve looked through almost all of the files, and I can’t find that anywhere…
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/delete-second-home-page/#post-1318285)
 * Then start by looking for `<ul class="dropdown dropdown-horizontal">`. The line
   you want to delete should be just after that line.
 *  [edjonesorganist](https://wordpress.org/support/users/edjonesorganist/)
 * (@edjonesorganist)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/delete-second-home-page/#post-1318770)
 * Hey hey,
 * I’m trying to do the same but can’t find this
 * 
 * anywhere. It’s not in my header.php. and cant find it anywhere in the coding.
 * I’m using WP 3.0.1 and Evening Shade 1.2 by pixel theme studio
 * Please help… 🙂
 *  [sport_billy](https://wordpress.org/support/users/sport_billy/)
 * (@sport_billy)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/delete-second-home-page/#post-1318772)
 * hello,
 * first of all i would like to say that i am completely new to wordpress.
 * I am also trying to delete the home page from my blog, with no luck for the past
   3 days. Any information that i find in the internet applies apparently to wordpress
   2.8 which is not the same as wordpress 3.01. I am using theme twentyten which
   is the default.
 * By the very life of me i have been looking for this `<li class="page_item ">"
   >Home` like the user edjonesorganist and i just can’t find anything in the header.
   php.I don’t know if i should search in another php file.
 * Please if anyone has found the solution, i’d really appreciate if he could make
   a post, i am getting really frustrated 🙁
 * Excuse any mistakes i am not a native speaker 🙂
 *  [sport_billy](https://wordpress.org/support/users/sport_billy/)
 * (@sport_billy)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/delete-second-home-page/#post-1318773)
 * hello once more,
 * i kind of found a solution, AFTER A LOT OF SEARCHING, so i would like to share
   it in case someone has the same problem with me 🙂
 * Although i couldn’t actually delete the homepage i managed to change its title
   and give it another name. The procedure is as follows:
    1)First go to httpdocs/
   wp-includes / post-template.php 2)Then find the following piece of code:
 *     ```
       function wp_page_menu( $args = array( ) ) {
       	$defaults = array('sort_column' => 'menu_order, post_title', 'menu_class' => 'menu', 'echo' => true, 'show_home'   => true, 'link_before' => '', 'link_after' => '');
       	$args = wp_parse_args( $args, $defaults );
       	$args = apply_filters( 'wp_page_menu_args', $args );
   
       	$menu = '';
   
       	$list_args = $args;
   
       	// Show Home in the menu
                   if ( ! empty($args['show_home']) ) {
       		if ( true === $args['show_home'] || '1' === $args['show_home'] || 1 === $args['show_home'] )
       			$text = __('Home');
       		else
       			$text = $args['show_home'];
       		$class = '';
       		if ( is_front_page() && !is_paged() )
       			$class = 'class="current_page_item"';
       		$menu .= '<li ' . $class . '><a href="' . home_url( '/' ) . '" title="' . esc_attr($text) . '">' . $args['link_before'] . $text . $args['link_after'] . '</a></li>';
       ```
   
 * 3)Change the value of the variable $test = __(‘Home’); to whatever you like,for
   example $test = __(‘Basic’);
 * 4) Save the changes then return to your blog refresh the page and thank me :P.
   I used ΑΡΧΙΚΗ since i am greek and that’s what i wanted.
    [http://www.biores.gr](http://www.biores.gr)
 * I am pretty sure that everything that has to do with the home page lies in that
   part of the code. If anyone finds a better solution please let me know 🙂
 *  [sport_billy](https://wordpress.org/support/users/sport_billy/)
 * (@sport_billy)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/delete-second-home-page/#post-1318774)
 * hello once more,
 * i kind of found a solution, AFTER A LOT OF SEARCHING, so i would like to share
   it in case someone has the same problem with me 🙂
 * Although i couldn’t actually delete the homepage i managed to change its title
   and give it another name. The procedure is as follows:
    1)First go to httpdocs/
   wp-includes / post-template.php 2)Then find the following piece of code:
 *     ```
       function wp_page_menu( $args = array( ) ) {
       	$defaults = array('sort_column' => 'menu_order, post_title', 'menu_class' => 'menu', 'echo' => true, 'show_home'   => true, 'link_before' => '', 'link_after' => '');
       	$args = wp_parse_args( $args, $defaults );
       	$args = apply_filters( 'wp_page_menu_args', $args );
   
       	$menu = '';
   
       	$list_args = $args;
   
       	// Show Home in the menu
                   if ( ! empty($args['show_home']) ) {
       		if ( true === $args['show_home'] || '1' === $args['show_home'] || 1 === $args['show_home'] )
       			$text = __('Home');
       		else
       			$text = $args['show_home'];
       		$class = '';
       		if ( is_front_page() && !is_paged() )
       			$class = 'class="current_page_item"';
       		$menu .= '<li ' . $class . '><a href="' . home_url( '/' ) . '" title="' . esc_attr($text) . '">' . $args['link_before'] . $text . $args['link_after'] . '</a></li>';
       ```
   
 * 3)Change the value of the variable $test = __(‘Home’); to whatever you like,for
   example $test = __(‘Basic’);
 * 4) Save the changes then return to your blog refresh the page and thank me :P.
   I used ΑΡΧΙΚΗ since i am greek and that’s what i wanted.
    [http://www.biores.gr](http://www.biores.gr)
 * I am pretty sure that everything that has to do with the home page lies in that
   part of the code. If anyone finds a better solution please let me know 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘delete second “home” page’ is closed to new replies.

 * 7 replies
 * 4 participants
 * Last reply from: [sport_billy](https://wordpress.org/support/users/sport_billy/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/delete-second-home-page/#post-1318774)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
