0
By default blogspot can not display the date of posting on the same day. And this is sometimes disturbing consistency in the layout. For that to date also appears on the same day should be added/replaced with a new script.

To save this script into our layout is quite easy. First, open your edit HTML template and do not forget to check "Expand Widget Templates" and than search first html code to date. (Ctrl + F)

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

And the final step, replace HTML code above with the following code.

<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>

Enjoy and happy blogging.

Post a Comment

 
Top