I have seen so many bloggers have been asking me for tutorials to design Blogger template. As you all know after i gave Techieblogger.com to my another friend, I have created this new blog for providing blogger and web design tips. I have decided to post the whole process required for designing a seo optimized blogger template. You would have noticed that many designers have been charging you to convert a wordpress template to blogger one or even to design a unique blogger template. So I have decided to explain you all the steps needed to design your own blogger template.
General Layout of a Blogger template
According to me, a blogger template can be divided into 6 parts :
- Header
- Navigation Menu
- Main Container
- Post
- Sidebar
- Footer
I will explain you each and every part of the blogger in detail in the forthcoming articles. For an example, I have taken a screen shot of my blog itself.
Blogger Header Section
In this section, we can see how to code the header section of the blogger template. The header section starts with <head> tag.
Now Let me explain you the elements which need to be present in the header and will also explain you how to make it seo optimized as well.
General Code present under the header section is :
<!doctype html> <html> <head> <title>Hello world!</title> </head>
Now in this I am going to concentrate mainly on the <title> tag. In the future posts, i will explain much more on the header tags.
The <title> tag defines the title of the document. The title element is required in all HTML/XHTML documents. The text inside <title> is not displayed in the document. However, most browsers will display the title at the top of the window.
The title element:
- defines a title in the browser toolbar
- provides a title for the page when it is added to favorites
- displays a title for the page in search-engine results
The default code present in the Blogger Template is :
<title><data:blog.pageTitle/></title>
The above code displays your default page Title. Now let’s see how to play with the above code.
Customize the Page title in Post pages
If you want to customize the above code and make it seo compatible, then follow the below steps.
- Login to your Blogger account
- Go to Design tab under your Blog
- Navigate to EDIT HTML page
Now replace the above code with this one :
<b:if cond='data:blog.pageType == "item"'> <title> <data:blog.pageName/> | <data:blog.title/> </title> <b:else/> <title><data:blog.pageTitle/></title> </b:if>
The above code will help you to show custom titles under post pages. By default, only the post titles will be shown under any post page. But with the above code, you can add few keywords of your blog along with the post titles. Just edit this code <data:blog.title/> to show the important keywords of your blog in page titles alone.
In reverse, if you want to show a custom title in home page and the default Page title in all other posts, just like me, then you need to add the following code instead of the first one.
<b:if cond='data:blog.pageType == "item"'> <title> <data:blog.pageName/> | <data:blog.title/> </title> <b:else/> <title>Your Important Keywords First | <data:blog.title/> </title> </b:if>
Now you need to to place your important keywords of your blog first, then your blog title.
Show Custom Titles in Specific post pages
It’s an easy trick which allows you to show custom Page Title under specific post pages. This trick can help you to put important keywords of each post under the specific post pages.
<b:if cond='data:blog.url == "Post URL"'> <title> Custom Post Title!! </title> </b:if>
With the above code you can change the Page Title of any specific post. This can be especially useful for providing custom title to contact us, about us pages.
Any suggestions?
I hope that the above trick would be useful for you to customize the page title. In the future posts i will explain more about adding seo optimized META tags and adding specific Description to specific Post pages.
About the author /
Mohamed RiasI'm a programmer, photographer, and proud parent. With a passion for coding and a love of capturing life's moments through my camera lens, I'm always on the lookout for new challenges and opportunities to grow. As a dedicated parent, I understand the importance of balancing work and family, and I strive to be the best version of myself in all aspects of my life.
Related Posts
-
October 29, 2012 -
-
June 8, 2012 Designing Blogger Template : Adding Meta Tags
-
June 6, 2012 Grunge Mag Reloaded Blogger Template
-
February 12, 2010 25 Useful Tools for Registering and Monitoring Domain Name
-
January 24, 2010 Page Navigation Menu Widget for Blogger
Popular
Editor’s Pick
-
February 4, 2010 20+ incredible Gigapixel Photography Inspirations
Gigapixel photography is a new trend that has come about in the last few years, creating 1,000+ megapixels of data in single images, cropped together to create a monstrous image. The detail and spectrum that can be captured in a Giga pixel image is unlike that of anything that a single camera can capture. For…
-
May 14, 2023 Advanced Techniques and Debugging Strategies for Optimizing React Component Rerendering
React is a powerful JavaScript library for building user interfaces, particularly single-page applications. A fundamental concept in React is the component, a reusable piece of code that returns a React element to be rendered on the DOM. Rerendering is the process by which React updates the DOM to reflect changes in the state or props…
-
August 22, 2009 Show only post titles in Labels page
Hope you might have noticed that few blogger users are using custom layout for Home Page , Post Pages, Labels Page and Archives Page. Though I will write about having custom Layout in your blog later , In this post I will explain how to show only post titles in labels page and Archives page….
-
September 5, 2009 Show only post titles in Home page
As you might have noticed in many magazine themes , showing only post titles in home page is getting popular these days. By showing only post titles in Home page you can decrease the page loading time and also it will easy for the reader to navigate. Showing post titles in home page will certainly…
-
March 21, 2009 Optimization and acceleration of Windows : Disable Superfetch
If you are a gamer or an advanced user that need’s a lot of memory on your windows 7 you can get it without having to add ram to your pc by just 2 or 3 click , Disable the superfetch If you are one of the people that use the ready boost just close…



2 Comments
Adding Meta tags to Blogger Template
This is a nice tutorial. Bookmark & share