Remark: This post explains how to create special pages by making changes to the blogger template. As of January 2010, blogger provides a simpler way for the creation of special pages than the way explained here. This feature can be found in the blogger draft dashboard, under posting->edit pages.
Special pages are pages such as contact, feedback, or information for advertisers. The standard way to create such special pages on blogger is to create a new post. This means that readers will see date and time, labels, the post author, maybe even ads on your special page just like on a normal post. I found out recently how to create more professionally looking special pages in blogger and in this post I explain how to create them.
One of the articles I see again and again in variations on different blogs is the one about special pages in blogger. Usually the only thing it says it that you should create an article, where you omit comments and backlinks in the options. You would date back this article so it doesn't show up in the blog feed. To me this kind of special pages in blogger don't look professional enough.
The way to create special pages which allows most customization is to host them outside of blogger, however these pages would not be integrated with your blogger page layout. This week I learned about a different way to create special pages in blogger which are both professional in look and integrated into your site. I read about this first from an article in blogspot vision and I've since found similar suggestions on other blogs.
This second way to create professionally looking special pages in blogger involves linking to a page in "/search/label/" and putting a conditional in the template so that your text shows only up if the visitors go to that link. That's what the other article explained, however how to do it?
It cost me a lot of time to figure out the details to make it work but I created two special pages which you may want to see to know how these pages look like, one for advertisers and another one for feedback. In this post I explain the exact details on how to create them.
Start by thinking of a name for your special page, say, contact. The address would be then yourblog.blogspot.com/search/label/contact.
Now edit the template. In the blogger dashboard go to layout->edit HTML and mark expand widget templates. Before you edit make sure you have a backup of your template (you can make one by clicking on download template).
We need to edit inside the blog widget. Search for <b:includable id='main' var='top'>. The code within this include and the </b:includable> is responsible for showing posts. We need to create the following structure:
<b:includable id='main' var='top'>
<b:if cond='data:blog.url == "http://www.yourblog.blogspot.com/search/label/contact"'>
<!-- here you put the text you want to show up for your special page -->
<b:else/><!-- if not special page show post -->
<!-- don't change the code here which shows your posts -->
</b:if>
</b:includable>
Your changes are the following:
Leave the spaces in the conditional (" == "), otherwise it might not work.
Note that you leave the earlier code for the post untouched.
After these changes you should have your special page ready and once you save you should see it show up at your chosen location http://www.yourblog.blogspot.com/search/label/contact.
As for styling, you could use the same style as for the posts. For the heading you can use <b:if ..., <b:else/>,</b:if> before the closing </b:includable>.<h1 class='post-title entry-title'><a href='http://yourblog.blogspot.com/search/label/contact'>Contact</a></h1> and include the rest in <div class='post-body entry-content'> and </div>.
With styling, the structure will be like this:
U COMMENT
I FOLLOW

interesting info for blogger users, but unfortunately I use a different machine.
by the way, thanks for visiting my blog.
This is a good post. For those who are still newbies in blogging. Great!
@yoyo: i am using blogger, so that's what I am customizing. Many of my blogging articles come from that perspective, however, I hope, at least a few can also be interesting to wordpress users.
@Angel: thanks! I hope this post will useful both for beginners and more advanced users.
This is just what I needed.There actually appears to be special pages on my homepage but when you click on them,they're not leading you anywhere.I'll follow your instructions and hopefully I could create special pages successfully. Thanks for the valuable info!
@onlinewriter: I see what you mean. You can change http://femmepower.blogspot.com/YOUR-LINK-HERE for http://femmepower.blogspot.com/search/label/contact in the top menu bar. Please tell me how you get along.
Hi! I tried to edit my HTML but I failed on my first attempt.Actually my main concern is the homepage.When you click the page "HOME" it doesn't show the homepage at all.And unlike my WP blog,I can't create special pages in my blogger template. Will try again till I get it
right.Maybe I failed to follow your instructions well.
When you edit your template (mark expand widgets), you can search for <b:includable id='main' var='top'> and just behind that line you put this:
<b:if cond='data:blog.url == "http://femmepower.blogspot.com/search/label/contact"'>hello<b:else/>
Now you need to find the next </b:includable>
It must be the first </b:includable> after <b:includable id='main' var='top'>. You can find it by using the search function (usually control-F) or by scrolling down slowly.
Before </b:includable> you put this: </b:if>
You can press preview before saving the template. This will already tell you whether you applied the changes correctly and allow you to undo changes step by step if necessary.
When you have it right, save and in your browser (IE/Firefox) go to http://femmepower.blogspot.com/search/label/contact.
You should now see "hello" (or whatever other text you put).
Good post for newbies. Keep it up^^
Hello
I think all bloggers should read this post as it is very much informative about special pages in blogger.This is very useful post to create special pages.I am thankful to you.You have dona a great job.
acai beeren
When you edit your template to find the code best way is to use CTRL+F
thanx for your info.........
I honestly need this information. I had not idea how to create this kind of pages, and the curiosity was going me crazy. Finally I could perfect my blog.
This article is novel,Custom Soccer Jerseys I really love it. I also have some ideas written in my article, you can have a look if you have the interest. spain soccer jerseyWe can also discuss different topics.
Subscribe to replies to this post
This conversation is missing your voice. Your feedback is appreciated.
Post a Comment
You can use some HTML tags, such as <b>, <i>, <a>
You can follow the discussion of this post by subscribing.
You are free to include information from this article on your own site if you provide a backlink. You can use the following markup: