Skip to main content

The Two Templates

Your Blogger blog uses two different yet related HTML / XML templates, in formatting and displaying your posts.

The blog template defines objects that are consistent for the entire blog - and the post template defines objects that are consistent for each post (though the content of each post will vary, from post to post). You can change the blog tempate, when you wish.

The post template, when the blog is published, becomes part of the blog template - but the two are maintained separately. This lets you change your blog template (and the page layout) without affecting the post template (and the posts layout), and vice versa. When Blogger makes changes to post related features, they change post template code.

The blog template is configured using the dashboard Layout and Template pages.

The blog template is configured using the dashboard Layout page - or the Template - "Edit HTML" Template Editor.

You can add / arrange objects on the page, and re locate any object that you want, anywhere on the page (with a few exceptions), using a GUI drag and drop process. Wherever you drag it, the object becomes part of the page, and displays in that location on the page. And when the page is displayed, the object in question is displayed there, with one copy of each object / page.

When there are problems with any of the blog content except the posts themselves, and the problem can't be resolved by editing a widget or using the Layout "Edit HTML" wizard, the blog template is possibly corrupt - or probably just out of date.

Third party developers don't have access to the latest Blogger post template code. If you install a third party template, you frequently get out of date post template code - and broken comment / post features.

A corrupt / out of date blog template is, most easily, resolved by getting a new template.

When you have a corrupt blog template, if you didn't back the template up previously, you'll have to use the "Pick New Template" wizard, and get a fresh copy of your template. Or copy it and paste it into the "Edit HTML" window. Note that each widget includes a quickedit function (the "screwdriver / wrench" icon), which is also part of the blog template.

The post template is configured using "Configure Blog Posts".

The posts template is configured using the "Configure Blog Posts" widget in the dashboard Layout wizard. You can arrange (but can't add) objects using the GUI blog posts widget. If you want to add an object to be part of the posts, and display with each post, you either add it into each post manually, or using the (Settings - "Posts and comments") Post Template "Edit" link.

The Post Template Editor (please, do not confuse this with the "Template Editor") uses HTML code, not GUI - and it works for new posts only.

When there are problems with the posts, and the problems can't be resolved by editing the posts using the post editor, the post template is possibly corrupt. This can sometimes result from unwisely applied tweaks, made by the blog owner.

A corrupt post template is resolved by refreshing "Blog1", using Template Editor.

When you have a corrupt / out of date post template, you have to refresh the post template. This requires that you reset gadget "Blog1", in the Template Editor.

Any time you install a third party template, you should refresh the post template. Third party template developers have their own product development schedules - and will not reliably have access to the latest version of the post template.

Note that the post template also includes the post quick edit function (the "pencil" icon), the comments, and the labels - all elements which are different for each post.

Be sure to backup the template, before and after refreshing the post template.


Angelshair said…
Thank you for your answer on the blogger help group! I will answer you there, but I wanted to tell you that I love this blog, everything is clear, and don't afraid people like me:-).

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.