

How to Display Author, Date, Labels and Comment Bubbles in Blogger?
1. Login to your Blogger Dashboard > go to 'Template' and hit the 'Edit HTML' button:
2. Click anywhere inside the code area and press the CTRL + F keys to open the Blogger search box

3. Type or paste the HTML line below in the search box and press Enter two times to find the second occurrence of it:
<div class='post-header-line-1'>Note: If you can't find the line above, look for this one:
<div class='post-header'>4. After this line, add the following:
<div style="margin: 10px 0;"><span style='background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIbLBAMXkAub17z93ysCMcxCD3ZlNCVxZcmW2Tis7UJN8D7tiIFS33f9960HPdXiWn9GUwwNGTFY8rX3SYqcApHOmruvvkoKeyMrQKv2O0Gk4PTOPpMvu9pUGir3891faAUBgf-fqzpIrM/s1600/author.png) no-repeat scroll top left;padding-left:20px;font-size:11px;'><data:post.author/></span> | <span style='background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXzu0DnZuoKq4bgaBk4tF0kLC3y58oMQpR4kmhHJNpbbSQFbJ5CH4KU5fI8Ksb9o2kGo_aensTKMBQyuJViwhvLEorosOsLfo76ImR9eb-sWAAo8DDoIJL-ZVrb-CvH5qG1VmZ0x3yPgTC/s1600/clock.png) no-repeat scroll top left;padding-left:20px;font-size:11px;'><data:post.timestamp/></span> | <span style='background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdk0A8-6pVtOjz2EKpdWZjd-aFGODSHYoNHagxaqdwUJl-DGRJ8gRNNVJ5RCDENpxQQv7oi4Bq-K-gOTjk3ezkgwC9bzEhCyovWYR58Tzs9wtwLhMCt2mxAKir5cpliWSTjvH_JOhcWhLt/s1600/tag.png) no-repeat scroll top left;background-position:0px -1px;padding-left:23px;font-size:11px;'><b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'><a expr:href='data:label.url + "?max-results=7"' rel='tag'><data:label.name/></a><b:if cond='data:label.isLast != "true"'>|</b:if></b:loop></b:if></span><span class='post-comment-link' style='float:right;'><b:if cond='data:blog.pageType != "item"'><b:if cond='data:post.allowComments'><a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick' style='background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGuz8gNZaDKg54Kcesa_jXs5hucCzE42PTEy0YHZE9u_OtVKUm5947nOFfK2VT5ULNYIbm6JkPk3-XlGaeDRtpNTHqYBxppO2jp2AXdTuLA7XKFmLnxgQxD2M15_nnrd44ohpwhQamXEJJ/s1600/comment.png) no-repeat;padding-left:20px;font-size:11px;'><b:if cond='data:post.numComments == 0'>Be the first to comment!<b:else/> <b:if cond='data:post.numComments == 1'><data:post.numComments/> Comment so far<b:else/><data:post.numComments/> Comments so far</b:if></b:if></a></b:if></b:if></span></div>
How to customize:
To change the icons, replace the urls in blue with those of your images (see this tutorial: how to get the url of an image):
- first url is for the author's icon
- second one is the clock icon
- the third one is the icon for the labels
- the last one is for the comment bubble
Related: How to Add Comment Bubbles to Blogger posts titles
5. Click the 'Save template' button and you're done!
Không có nhận xét nào
Đăng nhận xét