• Resolved whalegeek

    (@whalegeek)


    Using WP 2.8.4 and the theme Old Magazines 1.0. Install went fine, I changed nothing in the code.

    Want the home page (which has a tab already) to the blog posts. The settings reflect that the home page would be the blog posts. But from the About tab (new page added in the Pages menu), clicking on home gets me no where. Just stays on about. Header graphic does go back home.

    I could add a page called Blog and make that the default home page, but then I would want to delete the non-working Home tab and am not sure where to do that.

    https://gendersphere.com

    Help? Thanks…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi

    Looking at the theme, there is a coding error in the header file. You need to edit it to fix it.

    In the Admin section, find the left column button for Appearance and click it. Click Editor in the section that opens up.

    Now look in the extreme right column and find the file header.php. Click on the link to open it in the center text edit window.

    Now scroll down and find this line
    <li class="pagenav-home"><ul><li <?php /* If this is the frontpage */ if ( is_home()) { ?> class="current_page_item" <?php } ?>><a href=".">Home</a></li></ul></li>

    change this <a href=".">Home</a>
    to this <a href="<?php bloginfo('url'); ?>">Home</a>
    (use Copy (from this post) and Paste so you don’t have to type that)
    and click Update File

    refresh your About page and the Home link should be working

    Thread Starter whalegeek

    (@whalegeek)

    Perfect, thank you! I know enough HTML to fix things in the editor, but get lost in PHP. Time to learn some!

    Works beautifully now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Default home tab not working’ is closed to new replies.