If you follow and try my previous tips : Change Post Date Become Calendar Icon, using the "<data:post.dateHeader/>" you will get some calendar icon "blank" (no post date in it) for posts within same date.
This is because in default template, Blogger only show a single date for every post that was posted in that day. How to change it so we can show the post date on every post we have ?
Here are the steps to follow :
1. Follow the instruction to change your post date become calendar icon first. If you haven't do this, feel free to read my previous post about that: Change Post Date Become Calendar Icon.
2. Change the <data:post.dateHeader/> with <data:post.timestamp/> like this section:
<div class='post-date'><div class='warnaCoklatPutih'><script>UbahTanggal('<data:post.timestamp/>');</script></div></div>
3. There is no need more changes in your previous javascript code "UbahTanggal". It still runs well for this changes.
4. Make sure you already change the timestamps setting of your blogger template into "mm/dd/yyyy" or "mm/dd/yyyy hh:mm:ss am/pm".
5. Aware for other existence of your <data:post.timestamp/>. If you don't want to show the timestamps anywhere else, just delete that code from your xml template. (Find and delete it).
6. Save your editting, and see the result, is it working? :)
Good Luck ............
Related post :
0 comments:
Post a Comment