Display post author, date, labels and comments with icons below post titles

Posted by Unknown Senin, 27 Februari 2012 0 komentar
When there are no comments made to your posts, there's a link that says 'Be the First to comment!' and when there is just one comment it says '1 comment so far'. If you want to make your blog more stylish by replacing these texts with some cute small icons along with the default Author Name, Post Date, Labels and Comments... then just follow the next steps:






Steps:
 
Step 1. From your Blogger Dashboard, click on the Template option, then press the Edit HTML button:


Step 2. Select the "Expand widgets templates" box



Step 3. Search for the below code (press the CTRL + F keys and paste the code in the search box):


<div class='post-header-line-1'>

If you can't find the code above, look for this one:

    <div class='post-header'>

Step 4. Paste the following code below/after the code above:

<font style='background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUlXAX5K6UFOWnOC9ePk3b4giDIm3oanlii7AQh4jvVoe50IHm9isUloP5wkXScIEgsjsBPHN47edksRcXkbwXHUq3dVL0L1a6OiNU-7tk2zRI6AnUoj0KnV6vocR1x0FFREC_So5EhTZ6/s1600/author.gif) 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/AVvXsEjPRYoE6phyphenhyphenZSxBV9DuJenlGP9BnXiMthUAL4avA1Py4TR4YK-N9chzJoKNp2HNr2Qns4wZshFYtBlKy9ZsbH0rnTLk53PNHmfdvX4r7QC2NXr7HeE89q5gdGQSW2NLqD0TE0SLj6Jrm5Hz/s1600/clock_icon.gif) 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/AVvXsEjskNK__HmiX0zcV-dv9zSsNn16Zz_-qfvFfUN-qdCFtKgvp_keu3h9LSJfP2L_TYwhrj9Yt_0Cz-buCqOa9OR9NmCgFmkLoquokNqF5_hicYVyb_SRELbvi4Cww2mmnbP5IKmcBcdCAPfD/s1600/tag+icon.gif) 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 + &quot;?max-results=8&quot;' rel='tag'><data:label.name/></a>
<b:if cond='data:label.isLast != &quot;true&quot;'>|</b:if>
</b:loop>
</b:if></font>
<span class='post-comment-link' style='Float:right;'>
        <b:if cond='data:blog.pageType != &quot;item&quot;'>
          <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/AVvXsEhHk8hvIX-xKO8gj3TN03MC4gbM06HCyFFgxL3Wnats6WSA-_Iy1WLzwkvQouHla6yhMf6LALlb_oifL92WOEc86LszDDBN-4K51pMr6V1Yks5aYLouo9xTBoyGceh-nMM6cr03HlP_KI0H/s1600/comment-icon.png) no-repeat;Padding-left:20px;'><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>

How to customize:

If you want to change the icons, just replace the URL addresses above colored with:

  • Red - Author
  • Green - Date
  • Blue - Labels
  • Violet - Comment bubble

... with the URL address of your image.

Step 5. Save template... and you're done!
TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: Display post author, date, labels and comments with icons below post titles
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke http://android-rush.blogspot.com/2012/02/display-post-author-date-labels-and.html. Terima kasih sudah singgah membaca artikel ini.

0 komentar:

Posting Komentar

Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of Android rush.