Forums

[Theme Painter ] Renaming Home Page to something else (7 posts)

  1. awardprod
    Member
    Posted 3 years ago #

    Hello
    I'm using Painter 1.0 template for our blog. http://www.awardproductions.com/blog
    I want to change the name of the home button to blog. Is this possible? If so how do I make this happen?

    Thanks

    http://wordpress.org/extend/themes/painter

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    Unless I'm missing it...just do Pages->Edit and edit that page and change the name to blog.

    This is what the theme uses to display Pages in the header.php
    <?php wp_list_pages('depth=2&title_li='); ?>

  3. awardprod
    Member
    Posted 3 years ago #

    I can edit the pages that I've created without a problem. The home page tab was created by person who designed the template. I don't have access to this under pages, that I can see. Do I need to edit the code under appearance, editor?

  4. MichaelH
    Volunteer
    Posted 3 years ago #

    Then that theme was modified, and in the theme's header.php, their might be a hardcoded reference to "Home" or the use of wp_page_menu displays Home.

    If necessary, paste your theme's header.php into a pastebin and report the link back here.

  5. nikkikrish
    Member
    Posted 3 years ago #

    I'm using Painter 1.1 and I don't see a "Home" button at all in the page menu bar. How would I add a Home button for the main Posts page as awardprod appears to have in his modified theme?

  6. xyxoxy
    Member
    Posted 2 years ago #

    I know this is an older post but I thought I would comment since I just had the same problem with the Painter theme... no "Home" menu.

    I created one as follows by editing header.php. I just added the list item in the menu section on or around line 60. I called mine "Home" but you could name it whatever you like. Also since this is a hack, it will not be affected by the page order or parent/child attributes. It will always show up in the menu first before other pages.

    <!-- Menu -->
          <div id="menu">
            <ul>
    added-->   <li><a href='/index.php'>Home</a></li>
               <?php wp_list_pages('depth=2&title_li='); ?>
            </ul>
          </div>

    HTH someone.

  7. hwb
    Member
    Posted 2 years ago #

    hello, this may vary by theme (depending on the location of the navigation menu), but I was just able to do this on the Yashfa theme by visiting the Header template.

    The code I changed was:

    <li <?php if(is_home()){echo 'class="current_page_item"';}?>>/" title="Home">Home

    to

    <li <?php if(is_home()){echo 'class="current_page_item"';}?>>/" title="Blog">Blog.

Topic Closed

This topic has been closed to new replies.

About this Topic