Skip to main content

Creating A Custom Template

When you first start blogging, you'll find a nice assortment of templates to choose from, to serve as the foundation for your new blog. After you've developed a few blogs, or tweaked one blog for a while to get it just right, you may decide that the Blogger provided assortment isn't so comprehensive as it looked earlier.

What to do now?

One solution would be to go wandering through the blogosphere, looking for other bloggers who have experienced the same frustration as you, and see what they did. In some cases, they'll offer the results of their efforts, frequently for no cost to you.

That's a third party solution - and third party solutions have both advantages and disadvantages.

Maybe you decide that you know what you want better than they do, so if they could create their own, why shouldn't you? And now, the fun begins.

What do I do now?

If you're completely new to this, then learn how templates work, and why they don't. Take an existing template, decide what you don't like, and figure out how to change what you don't like. None of this will be wasted effort, because all of what you do will be experience when you build a template from scratch.

After you've been tweaking and removing what you don't like from the existing template, start putting what you do like into a clean template. You can develop and test your clean template in a second blog, while you work on your existing template in your first blog.

When maintaining two blogs becomes too much work, and you can get more done by making changes straight into the second blog, there's the start to your first template developed from scratch. Keep the first blog, as a baseline, and start working on the second blog.

You work on the second blog in reverse order to how you previously worked on the first. Use the pieces of the first as models, and add the pieces into the second. Where you like a feature in the first blog, simply copy the code into the second. Where you want something different, write the code from scratch. By the time you've gotten this far, you already know how templates work, so now you learn why they don't work as you like them, and how to make the pieces that you want.

Again, just one step at a time. Backup your changes, and test your changes, with anal regularity.

Oh yeah, for testing your changes, there's the New Blogger June/July 2008 feature that lets you export comments / posts from one blog, and import them into another. So work on one blog, keep the second blog as a baseline, and copy the blog contents back and forth to create a nice uniform test environment.

And enjoy the learning. Blogging can be fun, if you relax.

>> Top


SBA said…
I found your article while searching for a template hack. Anyway, it's interesting that I'm going through these steps right now! I too made the mistake of hurriedly selecting a standard Blogger template just to get started! Now I'm knee deep into a template makeover! You really do learn a lot fairly quickly. A test blog is essential --- just remember to make it private. If you copy posts with links, google can find the test blog anyway...

Popular posts from this blog

Adding A Link To Your Blog Post

Occasionally, you see a very odd, cryptic complaint I just added a link in my blog, but the link vanished! No, it wasn't your imagination.

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

Embedded Comments And Main Page View

The option to display comments, embedded below the post, was made a blog option relatively recently. This was a long requested feature - and many bloggers added it to their blogs, as soon as the option was presented to us. Some blog owners like this feature so much, that they request it to be visible when the blog is opened, in main page view. I would like all comments, and the comment form, to be shown underneath the relevant post, automatically, for everyone to read without clicking on the number of comments link. And this is not how embedded comments work.