How to Add Author, Date, Labels and Comment Bubbles to Blogger
Step 1. From the Blogger Dashboard > go to "Template" and press the "Edit HTML" buttonStep 2. Click inside the code area and press the CTRL + F keys to open the blogger' search box
Step 3. Type or paste the below code inside the search box and hit Enter to find it:
<div class='post-header-line-1'>Note: If you can't find the code above, look for this one:
<div class='post-header'>Step 4. After this code add the following code:
<div style="margin: 5px 0; border-bottom: 1px solid #F2F2F2;padding: 5px;"><font style='background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK04pTeIWt-6EjmoOT5DZ6E1D8DAqqafqS46tYQmCLwpMp7tS9JbWa5z22BO-lbmGapZNlgZcMRS3wFhp9p3QER0eNEEgaDrIF4oGUIr5rfIQb2BDpGyCjWM_k_ZBAcRtaa798K6XaCoLJ/s1600/author.png) no-repeat scroll top left;padding-left:25px;font-size:11px;'><data:post.author/></font> | <font style='background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilyxB7YhRzj2Q8eiF01VADAcI-ZQ3Fb_LfSCrG0ck5qIwkYfuQaeyRuVuTlFlzUApNmy6jJLW0BHHoAtOWElKZMi6Eok9t65Q-ARaVNcrR3xgM-krjSBIUSqkFRfOunna7GMxIYYyBAjZx/s1600/clock.png) no-repeat scroll top left;padding-left:25px;font-size:11px;'><data:post.timestamp/></font> | <font style='background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpaaPtSOojkfzHELoUsMwNliIxwFWUNSbmFDceodI_U6_rcdZ-eygn61Sj0bve9NzcIHnWH6BIYu9BbTfnL0OHdSoFiMPbh50T4v1PIH_Vk19KyPwDLx-RoIYHQP0Uw6WQyi5G-T4Hjp8T/s1600/tag.png) no-repeat scroll top left;padding-left:25px;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=8"' rel='tag'><data:label.name/></a>
<b:if cond='data:label.isLast != "true"'>|</b:if>
</b:loop>
</b:if></font>
<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/AVvXsEjgNhq4bZzJGIFiC2-0-wKQCLCVs7M3_QYWu39rx8fVVCtbclOayj_E-1a4QyCOCUI9REN72N01_IHFNzIYfMEru8ENCuhuFSUcThc16dqumqA3fndD0baJm3zvw8O2pJCfHh3wBkw-mFs0/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 from above with the image URLs:
- First one is the icon for the Author
- Second one is the Clock icon
- The 3rd one is the icon near the Labels
- And the last one is for the comment bubble
Related: How to Add Comment Bubbles to Blogger posts titles
Step 5. Click the "Save template" button and you're done!
0 Response to "Display post author, date, labels and comments with icons below post titles"
Posting Komentar