• Hi, I have read on this forum how to change homepage to static page and then create another page for a blog. I have done all this and managed to rename the old index home page blog with no problem. However, I now find that this new blog is just a copy of the new home page. The url is an exact duplicate of the homepage. However, if I type in the url/blog, i get the page I expect. Don’t know how to proceed since there is no way that I can see to edit the index page. I am running the Snowblind theme.

    Thanks in advance for your help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter cathiow47

    (@cathiow47)

    Cheers, I was only following the breif instructions on the forum. All done now. Did have a problem with two home pages which is why I think I originally changed the header in the PHP which probably confused things but I have figured out how to make the home (page) that I assigned not show up. Thanks for your help.

    I do have another question though. Are there now two homepages though one has been selected not to show, ie the index page and the one I created? If so From an SEO point of veiw I beleive that duplicate pages are marked down by google. Please explain as I have only minimal knowlege of how wordpress works. Thanks once again,

    Cathy.

    Thread Starter cathiow47

    (@cathiow47)

    Hi, I now have another problem. Since I changed the pages to only show the static home page (index) and not the one I made, my blog doesn’t come up in the link bar at the top. It’s page number is “included” in those pages I want to show up. Also, even if I select the home page to come up, I still only have one homepage in the link bar whereas before I had two of them. What is going on?? You can take a look at my site here: cathy-blackburn.net
    Cheers,

    Cathy

    Cathy,

    When you say the page number is included, are you referring to the list of pages id that you are passing to the wp_list_pages function in your header.php?

    Rgds
    Michael

    Thread Starter cathiow47

    (@cathiow47)

    Hi Michael,

    I have given the pages a number in the pages, page order section. I looked at the wp_list_pages part but didn’t change it there as I wasn’t sure which bit to change. As I looked around more I found that you could change which pages show up in the theme its self and there is a box there where you can either put “all” for all pages or give the number of the pages you want to show. When I list the pages, the blog page doesn’t come up. When I put “all” in the box, it updates to \ and only the home page which I suspect is the index comes up. Before I did anything I had two copies of the home page.

    Thanks,

    Cathy.

    Cathy,

    Sounds a bit like your theme does not support static pages, which theme are you using?

    With the wp_list_pages you either need to add an include or exclude parameter.

    The current one may look something like:
    <?php wp_list_pages('sort_column=menu_order'); ?>

    You would need to change it to, to exclude your static page,
    <?php wp_list_pages('sort_column=menu_order&exclude=5'); ?>

    Or to, to include your blog page,
    <?php wp_list_pages('sort_column=menu_order&include=45'); ?>

    Where the numbers are the page ids.

    Thread Starter cathiow47

    (@cathiow47)

    Hi Michael,

    The theme is Snow Blind.This is the code (below). Wanted this theme because it is easy to SEO and customisable. If this one won’t work, can you recommend one that will?

    Cheers,

    Cathy.

    • “>home
    • <?php
      $pages = get_option(‘sil_pages_include’);
      if($pages) {
      if(strtolower($pages) == “all”) {
      wp_list_pages(‘title_li=&depth=1’);
      } else {
      wp_list_pages(‘title_li=&depth=1&include=’.$pages);
      }
      } else {
      wp_list_pages(‘title_li=&depth=1&number=8’);
      }

    Cathy,

    I downloaded the theme and had a quick look. On a test site I have the static page worked fine. In the Reading Settings I set a static home page & a blog page the theme automatically supported the link to the static home page. When I added the page number for the blogs it worked like a charm.

    There might be a widget conflict, try turning them all off? Maybe reinstall the theme?

    Sorry I can’t be more help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Change homepage’ is closed to new replies.