Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.
    https://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 ??

    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.
    https://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 ??

    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 ??

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