• Resolved kimber787

    (@kimber787)


    I am running version 2.2.1 on my site. I have created a “home” page that I would like to have as the static page that shows up when someone comes to the site.

    In the admin panel, I selected in the Options area, in the Reading section, to display a static page (which I named “home”) as the page the front page displays. Now, when people come to the site, that home page is what they see.

    However, when I choose this option, the blog no longer works. Meaning, if you try to go to the blog page, it just redirects to the home page. You can get to the blog posts by clicking on my list of recent blog posts, but you can’t get to the actual blog page if I have the home page selected as the static page to show as the front page.

    Is there something else I need to do in order to get this to work? I really want to have the home page be the first one visitors see, but then they need to be able to navigate to the blog itself once they are at the site.

    The site is soulmateinbusiness.com.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Is there something else I need to do in order to get this to work?
    Probably, there is.
    Did you select another Page to be your “posts page”?

    Thread Starter kimber787

    (@kimber787)

    I see that option to select another page, but the page titled “blog” that the software automatically creates is not on the drop down list to select.

    I can make another page and call it blog, but then how do I remove the “blog” page that’s already there and created by the software?

    OK, you do NOT have another Page called “blog” – you just have a hardcoded link/anchor named blog that goes to the main/home page = the static homepage you just set up.

    You MUST select another Page for your posts… and then, most likely, remove the hardcoded “blog” link form the template file (usually, in header.php).

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    To be fair, the Static Page option is somewhat confusing. At least, I found it confusing when I first tried to use it.

    The general idea here is that you need to have two Pages (as in Write->Page) to use it. One Page will be moved to the root of your site (aka, the “home” page) where the normal blog posts usually display. The other Page will be replaced entirely with the normal blog posts.

    Thread Starter kimber787

    (@kimber787)

    Any idea what the html code will look like that I need to remove from the template? And do I just delete it, or do I need to replace it with something?

    I’m using “Unnamed One” as my blog template.

    Thanks!

    It would be easier if you provide a link to the theme’s download page…
    You just delete it. It must be a line with the word “blog” in it as the anchor/link text

    Thread Starter kimber787

    (@kimber787)

    Thanks for your help, moshu. I found, and deleted, this snippet of code from the header file, and it seems to have worked:

    <?php _e(‘Blog’); ?>

    Thanks again!

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

The topic ‘Static Page option not working’ is closed to new replies.