Home > Tutorial > Show Date and Timestamp for Each Blogger Post
Show Date and Timestamp for Each Blogger Post
Posted on Saturday, June 25, 2011 by android apps market for tablests
Re-tweaked by popular demand! Previously, I wrote a tutorial on how you can tweak your template to show date for each one of your Blogger posts. By default, posts that are published on the same day will have only one date shown, particularly on the last published post. In some templates, posts that are published on the same day are even grouped together (see image above).
In my old tutorial, I replaced the date with the timestamp. In other words, the timestamp had to be sacrificed just to have dates shown on each blogger post. But this time around, I've imrpovised the tweak by using some Javascript. You won't have to tamper with your timestamp to have the dates shown on each post. You get both Date and Timestamp with this tweak, and it's wayyy shorter than the other one!
Note: If you've already done my previous tweak, and wish to 'resurrect' your timestap, please undo/reverse the other tweak first before attempting this one.
Step 1:
If you're using the old Blogger interface: Go to Dashboard - Design - Edit HTML - Back Up (Download Full Template) - Check the box next to 'Expand Widget Templates'
If you're using the new Blogger interface: Go to Dashboard - Template - Backup/Restore - Download Full Template - Close - Edit HTML - Proceed - Check the box next to 'Expand Widget Templates'
Find and delete the following lines:
The lines to be deleted (Ending portion).
If you're using the old Blogger interface: Go to Dashboard - Design - Edit HTML - Back Up (Download Full Template) - Check the box next to 'Expand Widget Templates'
If you're using the new Blogger interface: Go to Dashboard - Template - Backup/Restore - Download Full Template - Close - Edit HTML - Proceed - Check the box next to 'Expand Widget Templates'
Find and delete the following lines:
<!-- posts -->The lines to be deleted (Starting portion).
<div class='blog-posts hfeed'>
<b:include data='top' name='status-message'/>
<data:defaultAdStart/>
<b:loop values='data:posts' var='post'>
<b:if cond='data:post.isDateStart'>
<b:if cond='data:post.isFirstPost == "false"'>
</div></div>
</b:if>
</b:if>
<b:if cond='data:post.isDateStart'>
<div class="date-outer">
</b:if>
<b:if cond='data:post.dateHeader'>
<h2 class='date-header'><span><data:post.dateHeader/></span></h2>
</b:if>
<b:if cond='data:post.isDateStart'>
<div class="date-posts">
</b:if>
<div class='post-outer'>
<b:include data='post' name='post'/>
<b:if cond='data:blog.pageType == "static_page"'>
<b:include data='post' name='comments'/>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<b:include data='post' name='comments'/>
</b:if>
</div>
<b:if cond='data:post.includeAd'>
<b:if cond='data:post.isFirstPost'>
<data:defaultAdEnd/>
<b:else/>
<data:adEnd/>
</b:if>
<b:if cond='data:mobile == "false"'>
<div class='inline-ad'>
<data:adCode/>
</div>
</b:if>
<data:adStart/>
</b:if>
<b:if cond='data:post.trackLatency'>
<data:post.latencyJs/>
</b:if>
</b:loop>
<b:if cond='data:numPosts != 0'>
</div></div>
</b:if>
<data:adEnd/>
</div>
The lines to be deleted (Ending portion).
Step 2:
Copy and paste the following lines in place of the deleted lines in Step 1:
The code in place (Ending portion).
Copy and paste the following lines in place of the deleted lines in Step 1:
<!-- posts -->The code in place (Starting portion).
<div class='blog-posts hfeed'>
<b:include data='top' name='status-message'/>
<data:defaultAdStart/>
<b:loop values='data:posts' var='post'>
<div class='date-outer'>
<script type='text/javascript'>var ssyby='<data:post.dateHeader/>';</script>
<h2 class='date-header'><span><script type='text/javascript'>document.write(ssyby);</script></span></h2>
<div class='date-posts'>
<div class='post-outer'>
<b:include data='post' name='post'/>
<b:if cond='data:blog.pageType == "static_page"'>
<b:include data='post' name='comments'/>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<b:include data='post' name='comments'/>
</b:if>
</div>
<b:if cond='data:post.includeAd'>
<b:if cond='data:post.isFirstPost'>
<data:defaultAdEnd/>
<b:else/>
<data:adEnd/>
</b:if>
<div class='inline-ad'>
<data:adCode/>
</div>
<data:adStart/>
</b:if>
<b:if cond='data:post.trackLatency'>
<data:post.latencyJs/>
</b:if>
</div>
</div>
</b:loop>
<data:adEnd/>
</div>
The code in place (Ending portion).
Another southern original. Enjoy folks.
Category Article Tutorial
Powered by Blogger.
Blog Archive
-
▼
2011
(4034)
-
▼
June
(142)
- Music Player for Android withSong Identification
- [Google + Project] Google’sNew Weapon AgainstFacebook
- [Google + Project] Google’sNew Weapon AgainstFacebook
- Search and Find Games forLinux Online
- Send Yourself Reminders onTwitter, Email and GTalk
- Riches to Rags: MySpace SoldFor $30 Million
- June Reflections
- Boy At The End of the World (MG)
- 10 Webmasters Mistakesthat Violate Google AdsenseTOS
- What affects the Adsenseearnings
- To Dream in The City of Sorrows
- The Unpleasantness at the Bellona Club
- The Classics Circuit: John Steinbeck Tour In Augus...
- Joining the Agatha Christie Reading Challenge
- Sunday Salon: Week in Review #26
- 5 Great iPhone Apps for Women
- Free Online Tool to Change IP Address While Surfing
- 8 Productivity Tips for Professional Blogging
- 5 Chrome Omnibar Tips for Better Productivity
- Microsoft vs Apple: History of the Computer Giants!
- Share Flickr Photos on Twitter, Facebook and Blogg...
- Wikipedia to Add “Love” Button for Contributors
- Wikipedia to Add “Love” Button for Contributors
- Create and Share Notes via Twitter or QR Code
- Show Date and Timestamp for Each Blogger Post
- Library Loot: Fifth Trip in June
- Nemesis
- Small Acts of Amazing Courage (MG/YA)
- William's Midsummer Dreams (MG)
- Transformers Dark of the Moon Advanced Screening
- Transformers Dark of the Moon: Sentinel Prime and ...
- Miles from Ordinary (YA)
- Spring Reading Thing Completed
- Google Shows OrganizedList of Related SearchResults
- Windows Media Player11 Codecs
- Windows 8 Beta –Rumors And ReleaseDate
- Access all your Files on DropBoxand Google using O...
- Access all your Files on DropBoxand Google using O...
- Front and Center (YA)
- Once Upon a Time Challenge Completed
- The Rumpelstiltskin Problem (MG)
- The Rise and Fall of Mount Majestic (MG)
- Rounded Corners for Blogger Widgets
- Sunday Salon: Week In Review #25
- How to Update iPhone Firmware
- How to transfer photos from iPhone to computer (PC...
- iPad 1 VS iPad 2
- No title
- Free Online Tool to Highlight Text on Webpage and ...
- SiS Readathon Report #2
- SiS Readathon Update #11
- SiS Readathon Update #10 and Mini-Challenge
- Library Loot: Fourth Trip in June
- SiS Readathon Update #7 and Mini Challenge
- SiS Readathon Update #6
- SiS Readathon: Report #1
- SiS Readathon Update #5 and Mini Challenge
- SiS Readathon Update #4 and Mini Challenge
- SiS Readathon Update #3 (No mini-challenge)
- Sis Readathon Update #2 and Mini Challenge
- SiS Readathon Update #1 and Mini-Challenge
- Spring Into Summer Readathon Begins Today!
- Free VPN Services – Trusted Methods to Achieve Online
- 5 Funniest Android Apps to Kill Time
- Install Vista Themes Without Patching the System!
- Download Latest themes for Your Windows Seven
- The most awaited OS – Windows 8
- Enable Google’s Search by Image Feature
- Free Online Tool to Cut or Edit MP3 Files
- Clouds of Witness
- Library Loot: Third Trip in June
- Fer-de-lance
- CFBA: Pompeii
- Oscar Wilde and the Death of No Importance
- Download Licensed Software for Free Everyday
- 5 Free Alternatives Software to Winrar
- [Software] Open Any Type of File with Free Opener
- Apple buys a company to create its own Google Earth
- New Orkut Bug Let Anyone Edit & Delete Photos of A...
- Orkut Low Bandwidth Version – Good for Dial-Up and...
- Apple gets sued by company named “iCloud”
- How to Download YouTube Videos on Android
- The Cat Who Played Brahms
- Insta7 – Mobile App for Faster Browsing on GPRS/3G...
- The Cat Who Saw Red
- Doggirl (MG/YA)
- The Sweetest Thing
- Sunday Salon: Week In Review #24
- 2011 Challenges: Signing Up for Spring into Summer...
- Remove YouTube Logo from Embedded Videos
- Remove YouTube Logo from Embedded Videos
- Get the Best Windows Mobile Apps for Your Personal...
- Check Gmails Without Internet Connection [New Feat...
- Gmail’s People Widget!
- The Nero Wolfe Not-so-Mini Challenge
- 2011 Challenges: Signing up for my own Nero Wolfe ...
- Weekly Geeks: 2011-19 Quotables
- Library Loot: Second Trip in June
- Rage (YA)
- Changing Blogger Pages Gadget Background and Text ...
-
▼
June
(142)





