Author, Time and Comment Below Post Title

by - 12:52 AM

Cuba tengok post title Beeha, bawah tu ada nama Beeha , tarikh dan masa post kan? Beeha tak suka tengok bilangan komen , nama penulis kat bawah.. Beeha rasa kemas lagi kalau ada di bawah post title. So, korang nak buat macam Beeha jugak? Boleh, Tapi make sure follow Beeha dulu. Heheeehee. Kejam kan,... Takde lahh sekejam tu, kite melawak jea.
Jadi, jum kita start tutorial kita. 
1. Sign In ---> Dashboard ---> Layout
2. Ada kotak Main a.k.a Blog Posts ---> Edit
Kotak macam di bawah akan keluar lepas korang tekan Edit. Jadi, tickkan yang macam Biha tick ni. Tick yang kedua tu korang boleh pilih sama ada nak tunjuk masa atau tarikh atau kedua-duanya sekali. Dan SAVE.
klik gambar untuk zoom


3. Kemudian, pergi ke Template ---> Edit Html ---> Ctrl+F and search 
<div class='post-header-line-1'/>
or
<div class='post-header'>

4. Then , copy this below code and paste it after the above code.

<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<font style='background:transparent url(http://1.bp.blogspot.com/--fsYbwHKiKM/T0uOGw-hdTI/AAAAAAAAA-s/QBcDITiSCEs/s1600/author.gif) no-repeat scroll top left;margin-left:80px;padding-left:25px;font-size:12px;'><data:post.author/></font> | <font style='background:transparent url(http://3.bp.blogspot.com/-1MEONG9XUgA/T0uOF8ICEdI/AAAAAAAAA-k/VBwTnA8PXbI/s1600/clock_icon.gif) no-repeat scroll top left;padding-left:25px;;font-size:12px;'><data:post.timestamp/></font>  |  <font style='background:transparent url(http://2.bp.blogspot.com/-Zz2yZeaJG6U/UrcfOYO6_JI/AAAAAAAAFnY/1WHah9jzmhE/s1600/tag.png) no-repeat scroll top left;padding-left:25px;font-size:12px;'><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' >       <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(http://4.bp.blogspot.com/-wGMp3jZ7DpU/T0uOrczut7I/AAAAAAAAA-0/F_BnJ5WS9BI/s1600/comment-icon.png) no-repeat scroll top left;Padding-left:20px;'><b:if cond='data:post.numComments == 0'>0 Comment<b:else/> <b:if cond='data:post.numComments == 1'><data:post.numComments/> Comment <b:else/><data:post.numComments/> Comments </b:if> </b:if></a>
          </b:if>
        </b:if>
      </span>
            </b:if>



Red : Author icon
Green : Time icon
Purple: Label Icon
Blue : Comment icon



NOTE : If you have TWO <div class='post-header-line-1'/> , please put the above code for both <div class='post-header-line-1'/>.


5. Lastly, PREVIEW blog and SAVE if no error. Thanks. :)





You May Also Like

3 Comment(s)

Feel free to leave your comment here. Thank you. ;)