The posts are the most important part of the blog as a whole - they contain the material which your visitors read, which is generally what attracts them to the blog. Most of the blog content, that's indexed by the search engines, comes from the posts. It follows, then, that the post template is the most important part of the blog template.
When there are problems with the posts or post accessories, and the problems can't be resolved by editing the posts using the Post Editor, or adjusting the various settings in the Blog Posts gadget, the post template is corrupt, or out of date. There are three possible techniques, to resolve problems with the post template.
Resetting the post template is a fairly simple task, when you get used to it. It's done using the "Edit HTML" wizard in the Classic GUI Template Editor - and it's done without Expanding Widget Templates.
Using the "Edit HTML" wizard, look for the "Blog Posts" gadget.
"Blog Posts" will probably be in the "Main" section. To be safe, you can simply save the entire "Main" section by copying and pasting its contents into any text file. This will help you put the posts template back, exactly as it was previously.
Here is a sample of a vary simple "Main" section - one with only "Blog Posts". If your blog has gadgets above or below "Blog Posts", your template may or may not be similar.
>> Top
When there are problems with the posts or post accessories, and the problems can't be resolved by editing the posts using the Post Editor, or adjusting the various settings in the Blog Posts gadget, the post template is corrupt, or out of date. There are three possible techniques, to resolve problems with the post template.
Resetting the post template is a fairly simple task, when you get used to it. It's done using the "Edit HTML" wizard in the Classic GUI Template Editor - and it's done without Expanding Widget Templates.
Using the "Edit HTML" wizard, look for the "Blog Posts" gadget.
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>
"Blog Posts" will probably be in the "Main" section. To be safe, you can simply save the entire "Main" section by copying and pasting its contents into any text file. This will help you put the posts template back, exactly as it was previously.
Here is a sample of a vary simple "Main" section - one with only "Blog Posts". If your blog has gadgets above or below "Blog Posts", your template may or may not be similar.
<b:section class='main' id='main' showaddelement='no'>
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>
</b:section>
This is a fairly quick process, all done from "Edit HTML".- Start out by backing up the template.
- Find the "Blog Posts" gadget inside the "Main" section, and remove that one line of code, shown above in red. Be sure to remove the entire line of code - don't leave yourself vulnerable to XML error messages.
- A variation on Step #2 is to simply change "id='Blog1'" to "id='Blog2'" - without deleting anything. This may, similarly, force the refresh of the post template, without the need for Steps #6-7.
- Save the change.
- Confirm the deletion of "Blog Posts".
- Replace that one line of code, shown above in red.
- Save the change.
- Clear browser cache, then test the change. If the problem isn't resolved, try resetting the widget templates.
- And finish by backing up the template, again.
- And don't forget to clear browser cache, to ensure that the changes are immediately visible.
>> Top
Comments
Take this out:
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>
Save.
Put this back:
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>
Save again.
Thanks for answering my question. I understand know what to delete and then paste where. The new problem is that for some reason blogger lets me delete the code you just mentioned in your comment, then it says
"Warning: Your new template does not include the following widgets:
* Blog1
Would you like to keep these widgets on your blog or delete them?
Deleting widgets cannot be undone."
No matter whether I click keep widgets, delete widgets or cancel, the code I just deleted appears on its own. I cleared the cashe and the layout hasnt changed.
What am I doing wrong?
Thank you for your help.
Here is where I strongly appeal you to post this question in BHF: Something Is Broken, or in Nitecruzr Dot Net - Blogging, so we can explore this in a dialogue.
Thanks
The 'Attribution' gadget is not relevant here. If your blog has posts, it has a posts template. Please, start a discussion in BHF: How Do I?, so we can discuss. If you wish, post back the URL of the discussion, so I can catch it.
Be sure to remove the entire line of code - and make sure that you did not select "Expand Widget Templates".
You really need to post in BHF: Something Is Broken, so we can figure out what your problem is.
I spent too many hours, almost lost my day trying to fix this and then I find your blog and this post and it is fixed in a minute!
You are my hero!
Thanks!
*I bow to you! lol
I'm using a 3rd party template from Premium Templates and I believe that after trying more than 4 different templates the constant change may have corrupted certain aspects of my xml data.
I have spent countless hours using the other procedures ("expand widgets, search for date:Header) that I'm sure everyone else has seen to no avail.
Then I find this blog and this process is simple and nicely outlined not to mention that it worked like a charm.
Thanks again for reminding us about the K.I.S.S. - Keep It Simple Stupid, principle.
Marc
Rob
:)
Keep up the good work.
The bloggers always turn out to be the experts, never the company people who are supposed to support the product.
Sigmar
Thanks!
(JH)