ADVERTISEMENTS
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.
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>
</b:if> - Remove the code and replace with this one:
<b:if cond='data:post.dateHeader'>
<script>var ultimaFecha = '<data:post.dateHeader/>';</script>
<h2 class='date-header'><data:post.dateHeader/></h2>
<b:else/>
<h2 class='date-header'>
<script>document.write(ultimaFecha);</script>
</h2>
</b:if> - Click "SAVE TEMPLATE".
- Done.
Now, all of your posts in the same day will include the date. It’s easy, isn’t it?
its not working :(