Friday, November 20, 2009

Displaying dates for all the posts written on same day!

When you write more than one post on the same day, the date will be displayed for ONLY the Topmost post on your blog. It looks like something like this:




This is a bug. In order to display the date for ALL the posts written on same day, follow these steps:
1>Login to Blogger
2>Click on 'Layout'  and then click on  'Edit HTML'. First back up your current template.
3>Click on 'Expand Widget Template'

4>Find this code:
<b:if cond='data:post.dateHeader'>
<h2 class='date-header'><data:post.dateHeader/></h2>
</b:if>


5>Replace the found code with the code below:

<b:if cond='data:post.dateHeader'>
<script>var ultimaFecha = &#39;<data:post.dateHeader/>&#39;;</script>
<h2 class='date-header'><data:post.dateHeader/></h2>
<b:else/>
<h2 class='date-header'>
<script>document.write(ultimaFecha);</script>
</h2>
</b:if>

6>Save the template and close.









Blogger Templates
Blogger Templates
Twitter Delicious Facebook Digg Stumbleupon Favorites More

0 comments:

 

Networked!

Disabling Right Clicks

Recent Readers

Recent Viewers

Blog Metamorphosis Copyright © 2009 WoodMag is Designed by Ipietoon for Free Blogger Template

--added by swathi