alex sysoef
Get weekly Blogging eZine plus Free, INSTANT access to "Profitable Blogging For Newbies" ($17 Value)

11277Blog Subscribers
15676Twitter Followers
expert wordpress

WordPress Static Front Page Options to Consider

This guest post was submitted by Jeff Houdyschell from WordPressMax.com his site provides WordPress guides and installation for the “geek” impaired.

With the growing popularity of blogs everyday more people are getting familiar with, and comfortable using the various blogging platforms. With that webmasters are turning to content management systems like WordPress to power entire websites.

One of the options of WordPress is to choose a static front page, creating a page that shows the same content instead of the the blog loop. Most WordPress bloggers are familiar with this option, however a few things should be considered beforehand.

The steps to use a static front page are quite simple: first two pages (not posts) need to be created, one for the static front page and another for the blog loop. The static front page can have whatever title you want but I suggest you call it the title of your website. Add all the content on this page that you want to show on the front page. Title the blog page “Blog” with the same page slug. Add no content to the blog page.

Go to options, then the reading subpanel, select the static front page option and choose the respective pages to use from the drop down box. Now here is where your blog theme comes into play. If your theme has a navigation bar in the header, things can get a bit messy here and my require you to customize the theme.

The navigation bar on most WordPress themes have a Home or Blog link that point to the main URL and also show links to any additional pages created. So adding a Home page or Blog page to use the static front page option my show these links twice in the navigation bar. So you may want consider learning how to change this by hard coding the navigation bar in the themes header.php file.

Another thing to consider is the static front page itself and what you want it to look like. While you probably want it to have the same look as the rest of the site you may not want it to show the same sidebar items or the title of the page just above the content.

One thing I suggest changing, or actually removing, is the title of the the page that appears right above the content on the page. If you want the site to look like a static or “regular” website then you may want to remove this, especially if the title of the page is generic like “Home”.

You have two options for removing the title on the front page, one is to edit the page.php template to remove the title on all pages or create a custom page template to use for the static front page. The code to be removed from the page.php file should look something like this:

<h2 id=”post-<?php the_ID(); ?>”><a href=”<?php the_permalink() ?>” rel=”bookmark” title=’Permanent Link to “<?php the_title(); ?>”‘><?php the_title(); ?></a></h2>

You may also want to create a different sidebar for the static front page and this option would definitely require a different custom page template, another sidebar file and possibly some additional code added to the functions.php file.

As you can see using a static front page to run your website can be as easy as creating a few pages and changing a few options or you could get into some custom coding to really make it stand out and be different. All of the information you need to customize your WordPress powered site can be found online and I suggest starting at wordpress.org. One of the steps is covered here: How To Create A Custom WordPress Page Template

Like This Post? Share It!

  • StumbleUpon
  • Digg
  • Google Bookmarks
  • del.icio.us
  • Mixx
  • MisterWong
  • Reddit
  • Sphinn
  • Propeller
  • Technorati
  • Facebook
  • E-mail this story to a friend!
Tags: , ,
Technorati: howto, howto-guides, wordpress,

11 Responses to “WordPress Static Front Page Options to Consider”

  1. Robert Eilers (6 comments.) says:

    Thanks. I was wondering how to do this.

    Robert Eilers’s last blog post..New Site More Than Thought

  2. Steven Snell (1 comments.) says:

    The static front page is under-used (in my opinion). Thanks for the info.

    Steven Snell’s last blog post..Vandelay Design?s Best of 2007

  3. Banabu Australia (2 comments.) says:

    Hi Jeff

    I recently tried a static home page with a new blog… and while I’m not 100% sure, I think it slowed down the speed at which my new posts were picked up by search engines since they were no longer being shown on the home page… As a compromise, I inserted a permanent “welcome” message to appear at the top of the home page instead simply by editing the index.php template. That way, my new posts are still displayed.

    Just another possibility to consider :)

    Cheers
    Stephen Spry

    Banabu Australia’s last blog post..How Easy Is It To Control Your Mind?

  4. TheSpot-er (971 comments.) says:

    Stephen,

    I personally think that static page is great idea BUT … I would also add the loop to it to display at least last 3 posts. It can be done easily using LIMIT statement …

    That way you get the benefit of static page AND your latest posts been available.

    Alex

    • Ronak Shah (2 comments.) says:

      Hi Alex,

      I wish to have different posts on different pages mentioned on the navigation bar. And moreover, I wish to show the static page as well as the lasts three posts out there on the home page just as you’ve mentioned. I’ve downloaded the different posts per page plugin from maxblogpress as well.

      Please let me know how can I do the same?

      Thanks.

      Regards,
      Ronak Shah.- EWP member

      • TheSpotter (397 comments.) says:

        Ronak,

        I don’t do it so I can’t advise you on it. You might need to hire a professional to help you.

        • Ronak Shah (2 comments.) says:

          I understand that you don’t do it. However, I would be glad if you’d add such information on your blog as it would certainly be a great idea. Visitors will keep coming back every now and then and you may even beat places like semiologic for wordpress.

          Do you have any such stuff for EWP members?

  5. Banabu Australia (2 comments.) says:

    Hey Alex…

    I suppose it all depends on whether you want it to look like a blog (dynamic)… or more like a traditional “web site” (static).

    I love the changing content you get with the blog format – everyone says this encourages repeat visits by both people and search engines – yet at the same time, some blogs could benefit from a short, permanent “intro” as I’ve done with Banabu… and then linked to the longer “welcome” page (which once was the static home page… when we first did the site).

    Maybe I’ve hacked a “solution” to suit my needs by hard coding the shorter intro in the index.php template… and it’s probably not the best way to do it… but the intro with the latest X posts (just set from within WP-Admin/Options/Reading) works for me in this case… :)

    And maybe even the Different Posts Per Page plugin might also be useful here too…

    Stephen

    Banabu Australia’s last blog post..How Easy Is It To Control Your Mind?

  6. Jon Heller (1 comments.) says:

    Hi Alex,

    I am both a new customer and a new affiliate, and I could use some help. It seems that one of my plugins has caused the ability to create a static home page to simply vanish… and I have no clue as to where to even start looking.

    Older “static home page” plugins are obsolete, and diving into the loop gives me nightmares…

    Any help at all would be most appreciated.

    Thanks in advance…

    Jon Hellers last blog post..Chronic Stress Linked to Physical and Mental Ailments

  7. TheSpotter (397 comments.) says:

    Ronak,

    No, nothing of the sorts is offered. We are talking custom code that is different for themes. That is why I recommended a pro for you. It will be fairly simple mod when that person will work directly on YOUR blog.

Leave a Reply

Comment Guidelines: After 3 approved comments - all your links become DoFollow links (controlled by LuciaLinkyLove). No Keywords In Name. No inappropriate or offensive comments. No links to inappropriate or offensive sites. Comments must contribute to the discussion. ALL SPAM DELETED!

Comments Manually Approved prior to appearing!

CommentLuv Enabled