• On the options/reading page, I’ve set it to use static pages for my front page and for my blog posts. The blog post page works fine, showing my posts. But the page that should display as my front page does not work. For some reason, it is not assigned a path when turned into a link, and so it links to whatever page it is on. I thought maybe the problem was specific to my theme (Cutline), so I tried it with the pages widget in the sidebar and also in the Default WP theme; regardless, the page that should be my home page has an empty path in the link code.

    The site I’m working on is http://teddiebutcher.com. The Welcome! link should be the home page, and it does contain content.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Using the Front Page feature of WordPress with Cutline doesn’t seem to work.

    I’ve added that to the http://codex.ww.wp.xz.cn/Themes/Theme_Compatibility/2.1 Themes that don’t seem to work section.

    Thread Starter Dan Butcher

    (@danbutcher)

    But it doesn’t seem to work when I used the default theme either.

    Just tried that and I had no problem with the WordPress Default 1.6 theme and the Front Page options set.

    Administration > Options > Reading

    Thread Starter Dan Butcher

    (@danbutcher)

    OK–I had 1.5, so I uploaded 1.6. It still doesn’t work.

    I should have noted that I had to alter Cutline to get all my pages to display in the navigation. For some reason, it has only 3 pages hard-coded into the header.php file. I replaced that with this:
    <?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
    so that only top-level pages will appear.

    Perhaps the better question for me to ask is this: What code needs to be in the template files to work with the front page option set to static front page. I’ve not been able to find anything about that.

    Another question: does it matter what the page slug is for the front page?

    No, based on my tests it doesn’t matter at all what the page slug is.

    Hardcoded Pages list and WP generated Pages list – might interfere.

    I don’t think any special code is needed for a Page to work as a ‘static front’. I tried (and succeeded) to make a frontpage even my Archive page…

    Thread Starter Dan Butcher

    (@danbutcher)

    I can see that the hardcoded list is a problem, but the wp_list_pages should work–it’s part of wp, right? What’s confusing is that the post page is working fine–it’s only the front page that doesn’t work.

    As a test, I did a completely new install of 2.1 with only the default and classic themes. I then created “Welcome” and “Posts” pages and assigned them through the Options page to the front page and the blog posts, respectively. Everything worked correctly.

    I then uploaded my modified version of Cutline, and the links work correctly. Finally, just to check one more thing, I turned on the permalinks function. It still works correctly.

    Not sure why it worked this time around, but at least I know I can make the front page option work with Cutline.

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

The topic ‘setting front page options in 2.1’ is closed to new replies.