5
Current Date on Every Post, Even if it's Posted on the Same Day for blogger blogs
As you have probably noticed, Blogger displays the current date only once in your posts on top of them (on the main page). It means to say if you published more posts on the same day only the above post will have date and  time of the post on the same day. Blogger groups articles written on same day together, and the template variable data:post.dateHeader is only set for the first displayed post of the day which is the last post of the day because of non-chronological blog post order. I saw some instructions to replace date Header by timestamp, that is ok but you lose the timestamp under the post.

The importance of date is for the sake of the readers. You will notice that the chronology of your articles on your site has something to do with what readers may read or may resort to. For readers who are into current events, as much as possible they would resort to your latest and that is something that you need to work out by tweaking the current date on every post.



Here is how to display the current date on top of each Blogger blogs post, even if the posts are published on the same date. Just Follow the instructions below. 


Show Current Date on Every Post Instructions

You will need to edit the Layout. To do so

Step 1. Go to your Blogger Dashboard > Layout > Edit HTML
Step 2. Make sure you check "Expand Widget Templates". 
Step 3. Search for code that looks like this (it doesn't have to be exactly like it):

<div class='blog-posts'>
<b:loop values='data:posts' var='post'>
<b:if cond='data:post.dateHeader'>
<h2 class='date-header'>
<data:post.dateHeader/>
</h2> </b:if>
<b:include data='post' name='post'/>

delete the code in red from the section above, and replace it with the green lines from below:

<div class='blog-posts'>
<b:loop values='data:posts' var='post'>
<div class='date-header'>
<data:post.timestamp/>
</div>
<b:include data='post' name='post'/>
<b:if cond='data:blog.pageType == "item"'>

Step 4. Then, you can tweak the date to your linking, by going to your Blogger Dashboard > Settings > Formatting and look for Timestamp Format and select the date format you desire.

Step 5. Your Done

Note: if you have problems or queries about this adding current date on everypost just post your comment below,thanks
The Author

I'm Frank from Philippines. born on July 20, 1986 Author of www.theblogservices.net. I was a blogger since July 2010, I have a great passion about blogging and all other stuff online. Follow Me on Google+ or Like our official FB Page HERE

Related Post



5 comments:

  1. interesting to know about the dates thanks for sharing the info

    ReplyDelete
    Replies
    1. Your welcome, thanks for the comment. you're free to browse all other useful blogging tips on this blog, see you around.

      Delete
  2. Thank you for this, it worked perfectly!

    ReplyDelete
    Replies
    1. Your welcome, Thanks for leaving your feedback. Happy Blogging!

      Delete