WordPress – Membuat Komentar dari Author terlihat Beda

Wednesday, July 15, 2009 12:33
Posted in category 3.Tutorial Wordpress

Salah satu dan salah banyak tentang WordPress adalah kemungkinan bagi penggunanya untuk mendesain sedemikian rupa sehingga lebih nyaman dipakai. Pada sesi ini saya akan memberikan tips sederhana agar Komentar dari Penulis terlihat berbeda tampilannya sehingga akan memudahkan reader.

Buka File comments.php kemudian cari baris ini (mungkin baris ini terlihat sedikit berbeda)

  • Kemudian rubahlah code tersebut menjadi seperti ini

  • comment " id="comment-">
  • Seperti terlihat, ada code tambahan yang akan di eksekusi ketika author melakukan komentar bukan? dimana sewaktu author melakukan komentar akan muncul class tambahan author-comment

    Langkah selanjutnya adalah memberikan code css untuk author comment tersebut, caranya buka file style.css dan tambahkan kode ini (kode ini terserah tiap pengguna, yang jelas bertujuan membuat tampilan beda dari sang author itu)

    .author-comment {
    	background: #efefef;
    	border-bottom: 1px solid #999;
    }
    

    Selamat Mencoba…

    You can leave a response, or trackback from your own site.

    693 Responses to “WordPress – Membuat Komentar dari Author terlihat Beda”

    1. WishHour.Com says:

      May 20th, 2026 at 5:27 AM

      WishHour.Com

      […]always a massive fan of linking to bloggers that I love but don’t get a lot of link like from[…]

    2. WishHour.Com says:

      May 20th, 2026 at 8:41 AM

      WishHour.Com

      […]always a significant fan of linking to bloggers that I love but don’t get a whole lot of link like from[…]

    3. WishHour.Com says:

      May 20th, 2026 at 11:14 AM

      WishHour.Com

      […]although websites we backlink to beneath are considerably not related to ours, we feel they may be actually really worth a go through, so have a look[…]

    Leave a Reply

    You must be logged in to post a comment.