How to Create a Static Homepage in Blogger

Friday, October 30, 2009

Here are some basic instructions that will allow you to create the appearance of a static homepage using Blogger as your blogging platform. To make Blogger have a static homepage you first need to create an HTML/Javascript Gadget (formally called widgets).

Update: You cannot completely create a static homepage using Blogger. You are creating the appearance of a static homepage. If you truly want a static homepage either create a website or use WordPress. You can also purchase the template I use for this site from Magznetwork for $25 which will give you lifetime support and they have great tutorials on their site to help you.

Follow these simple steps to create a static homepage:

1. Log into your Blogger.com account.

2. Click the Layout link from the Dashboard.

How to Create a Static Homepage in Blogger3. Click Add a Gadget from anywhere on the Page Elements screen.

How to Create a Static Homepage in Blogger4. Click the + symbol next to HTML/JavaScript gadget.

How to Create a Static Homepage in Blogger5. Type test in the Title for now and test in the body of the gadget and click Save. You will change the words test to whatever you want later. For now we will be using the word test to find the gadget easier in the HTML code.

How to Create a Static Homepage in Blogger6. Next, click Edit HTML at the top of the page.

How to Create a Static Homepage in Blogger
7. Click Download Full Template to make a backup of your existing template before making any changes to your HTML. You should do this each time you plan on tweaking the HTML code in case something goes wrong. Then you can easily upload your template before you made the changes and restore your blog if needed.
How to Create a Static Homepage in Blogger8. Click on the checkbox next to Expand Widget Templates.

How to Create a Static Homepage in Blogger9. Using your Find feature on the browser through the Edit menu or pressing CTRL + F on your keyboard at the same time, search for the word test.

10. Click just AFTER <b:includable id="main"> and press the Enter key once. Then type or copy and paste this line of code
<b:if cond="data:blog.url == data:blog.homepageUrl">
11. Scroll down just slightly and look for <b:include name="quickedit"> and click in the blank space IN FRONT OF this line and type or copy/paste this code in.
</b:if>
When you are done your HTML code should look like this. You may want to click on this picture to make it larger so you can see it better.

How to Create a Static Homepage in Blogger12. Click Save Template at the bottom right.

13. Now click View Blog at the top of the page.

14. You should see the word test twice near the top and your posts just below that. Click on one of the posts. Now, if you have followed the steps correctly you should NOT see test on the post page.

15. Now you can go back to the Layout/Page Elements area and change the word test in the title and the test in the content area to whatever you want to appear on your homepage. You can also remove the word test from the title if you don't want a heading to show.

Summary

What we have done is to create a gadget and by just adding 2 lines of HTML code you have made it static - meaning it will only appear on the homepage and not on the post pages.

The best way to use a static homepage gadget is to set your posts to show one each page. You will then show the static gadget on the homepage and then one post just below it. To set your Blogger blog to only show one post per page click on the Settings tab at the top of the page and then click the Formatting link. You will see the box where you specify how many posts show on each page.

Here are some examples of what you can do with a static homepage:
  • Create a welcome paragraph that introduces your blog
  • Create a Google Adsense ad that only shows on your homepage
  • Create a small gallery of pictures that you only want to show on your homepage
  • Create a list of popular posts and link to those posts
Most of my Blogger blogs feature a static homepage. If you take a lot at my sites you will see what I mean. However, I have also chosen a template that had the static homepage featured already embedded in the code so I didn't have to use this function that I am teaching you.

If your template does not already have the static homepage feature then you can easily follow these steps to make your Blogger appear to have a static homepage.

NEW HERE? Subscribe to Mommy Bloggers Guide for Free by Email or RSS. You can also follow Wendy on Twitter and contact her by Email if you have questions, comments, ideas, or you would like to write a guest post.

  • Digg
  • del.icio.us
  • StumbleUpon
  • Yahoo! Buzz
  • Technorati
  • Facebook
  • TwitThis
  • MySpace
  • LinkedIn
  • Live
  • Google
  • Reddit
  • Sphinn
  • Propeller
  • Slashdot
  • Netvibes


35 comments:

  1. Αόρατη Μελάνη said...

    That's all fine, but:

    1. the gadget stays on the sidebar, and I want it in the center, on topo of the posts

    2. you don't have the same format options as in posts

    3. you can't have comments

    thanks anyway.

  2. Wendy (Sweetie) said...

    1. You can easily drag a gadget and place it above the posts.

    2. You can format the font, etc to look the same as in posts. You do that in the CSS.

    3. Of course you can't have comments because you are creating a static text area. You don't really want comments because this is STATIC information that doesn't change. You use it for a different reason. Take a look at my homepage and see how I use it.

  3. Unknown said...

    Thanks Wendy.

    This is my next hurdle... a homepage!

  4. Unknown said...

    Have my first big question:

    I went through all my Vow and attached their title to their "label". I then followed this tutorial and added the static portion.

    Here's my dilemma. My intent was to have the static part of the homepage be the label widget. But this tutorial only showed me how to add the html one.

    Can you help guide me? It's much appreciated.

  5. Unknown said...

    I tried to do it following the instructions above but having used the "Label" widget. I think it kind of worked, but it shows up on each individual posts page.

    Hmmmmm....

  6. Wendy (Sweetie) said...

    I believe you didn't add the code I show above around the right widget then. You need to search for the name of that widget which is Label1 I believe.

  7. Unknown said...

    I found the widget but still can't get it. Will keep trying. Grrrrr.

  8. Talibiddeen Jr. said...

    Didn't work for me....tried a couple of times :(

  9. Wendy (Sweetie) said...

    What is your site and I will check it out.

  10. Parvez said...
    This comment has been removed by the author.
  11. Parvez said...

    Good post I'll use your suggestions
    www.idealantivirus.blogspot.com

  12. Dave
    said...

    Hi,
    Could you tell me where to get such a template with Homepage already built in? I'm not very good with the tech stuff

  13. Honey + Lime said...

    Now, how to change the background color? Any ideas?

    Mommygaga.com

  14. Honey + Lime said...

    Never mind, found it. Thanks!

  15. 16by8@admin said...

    thanks........i don't want atleast the single post below my homepage.......what shud i do

  16. Mr.Blade said...

    Thanks a lot. It works!

  17. williamtribe said...

    is there away of putting a picture in there?

  18. Elijah Kim said...

    this is really great! I've used it many times! Thank you very much. It's cool, I can put pictures and my adsense too...

    Is there a way to change the background/

    thanks

  19. Z-worriors said...

    Awesome Dude!

    i worked Perfectly

    thanks man!

  20. Direct Linker said...

    nice post, thankyou!

  21. Papu Templates said...

    great, i like it, keep it up Bro!

  22. vilat said...

    this is what I'm looking for all time, coz I wanna optimize my single post loading time.
    It's great and simply, thanks for this article..

  23. Wordpress to Blogger said...

    Thanks for the post..Help me a lot...

  24. HEP said...

    Thank you!

  25. Dap said...

    Good post here.... quite interesting. You can as well use your automated date format, but require constant manual implimentation... I love your trick here! keep it up. Thanks.

  26. Motorhomes said...

    Really, that will help to me...

  27. Anonymous
    said...

    The static page shows in every post i have. why is that so? help :'(

    http://angitimnalibro.blogspot.com

  28. Pranesh said...

    So now I see two methods of creating static homepages in blogger. One is this method, other is a more simple one. Here is the url if anyone want to have a look.

    http://forumofthoughts.blogspot.com/2011/10/static-homepage-blog-like-in-website.html

  29. Musicvela said...

    hai sweetie ,
    thanks for your valuable information,
    and tried for static home page and drag that into post page also but it showing another post below to that .
    plz help me my blog

    http://m3schools.blogspot.com/

  30. db214 said...

    You're actually incredibly close to creating a static homepage (which IS possible).

    This guide shows you how to do it:

    http://www.accessj.com/2011/10/static-home-page-in-blogger-yes-you-can.html

  31. Anonymous
    said...

    Nice Tut.....

    http://funnytrickz.com/

  32. noomzam said...

    Appriciate your great work. Images are so useful
    make money

  33. Hosne said...

    Similar solutions http://ielts-guru.blogspot.com

  34. nitesh said...

    great !!! i will use it on my website sdesign firm website

  35. Unknown said...

    very useful article for blogging

    Thank you
    motel Accommodation NZ : Accommodation NZ

Post a Comment