WordPress.org

Ready to get started?Download WordPress

Forums

How to change name of home page (8 posts)

  1. robgrayson
    Member
    Posted 6 years ago #

    Hi,

    I'm sure there must be an easy answer to this. I'd like to change the name of the "front" page of my site from the default "Home" to "Blog". I don't want to change anything about how this page operates/what it displays (I've made some changes to the index.php file to exclude some post categories) - I just want to change the name so that the menu navigation and URIs show "Blog" instead of "home".

    Thanks,

    Rob

  2. robgrayson
    Member
    Posted 6 years ago #

    Bump...anyone know if this is possible?

    Thanks,

    Rob

  3. moshu
    Member
    Posted 6 years ago #

    No, because nobody knows what theme you are using. Check out the header.php file, find the "Home" and edit it.

  4. robgrayson
    Member
    Posted 6 years ago #

    OK, my bad - I'm using Autumn Concept 1. Site is at http://www.graysonsinfrance.net/test (if you can't find it, I've already moved it to its "live" location at http://www.graysonsinfrance.net by the time you read this.

    I looked in header.php, and it contains various references to "home", such as the following:

    <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">

    and

    <h1 id="logo">"><?php bloginfo('name'); ?></h1>

    and

  5. ">Home
  6. I'm guessing maybe only the third one of these with the cap H needs changing?

    Thanks in advance,

    Rob

  • mores
    Member
    Posted 6 years ago #

    You'll most likely have a wp_list_pages somewhere. For example, mine says

    <div id="menu"><ul><li><a href="./">Home</a></li><?php wp_list_pages('sort_column=menu_order&title_li='); ?></ul></div>

    See how the Page List is generated by PHP, but the "Home" is manually written in front of the code? You'll have something like that too.

  • robgrayson
    Member
    Posted 6 years ago #

    The only reference I can find to list_pages in the header file is:

    <?php wp_list_pages('title_li='); ?>

    Rob

  • gummybear
    Member
    Posted 6 years ago #

    You need to open your header.php file. Log into your Administrator section (wp-admin). Go to PRESENTATION > THEME EDITOR. On the RIGHT-HAND side where it says "Autumn etc theme files" and find header.php or just Header and open it.

    Find this line:
    <li><a href="<?php echo get_settings('home'); ?>">Home</a></li>

    Change only the word "Home" to "Blog". Leave the get_settings('home') part alone.

  • robgrayson
    Member
    Posted 6 years ago #

    Thanks, Gummybear - simple as that.

    Rob

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.