Content feed Comments Feed

How to show the date of every post, posted in the same day

When you post more than one articles in one day, you will have only one post with its date. It is your last post. That’s not a problem because by default, it will be like that. Blogger cannot display the date of post in the same day.

Anyway, if you are interested in displaying the date of post in all posts, there is a simple hack to display the date of post.

Below are the steps:
  • Please log in to blogger with your ID
  • Click Layout
  • Click Edit HTML tab
  • Check the small box next to the text “Expand Widget Template"

  • Find this code :

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

  • Remove the code and replace with this one:

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

  • Click "SAVE TEMPLATE".
  • Done.

Now, all of your posts in the same day will include the date. It’s easy, isn’t it?

Click to Know Source of the Content

Your Ad Here

1 Responses to How to show the date of every post, posted in the same day

  1. Lonely Pinay Says:
  2. its not working :(


Post a Comment

Blogumulus by Wonderful-Tricks