Recent Posts
- Create a WordPress Options Panel Using CodeIgniter
- Speed up your website at godaddy shared hosting
- Lotus Domino – Dojo Pie Chart Legend Color Hack Tips On Zero Value
- Menu Manager WordPress Plugin
- User Link Feed Plugin for Wordpress
- Majalahku Premium Wordpress Theme
- Senang nya punya sepeda lipat (folding)
- Membuat form reply comment di wordpress
- Humor segar cara terbaik memikat pelanggan #1
- Kesan Integrasi Wordpress
Archives
Tags
bekerja dengan html jquery
bike
chat
chat jQuery JSON
codeigniter
comment
contribute
dojo
domino
dom manipulation
feed
folding
form
integration
javascript
jQuery
link
lipat
lotus
majalah
manager
manipulasi html
membuat web chat
membuat web chat seperti facebook
menu
oop
pengadaan barang/jasa
pengetahuan dasar
pie
Plugin
projek
projek it
proses pengerjaan projek
reply
sepeda
Theme
threaded
tips & trik
urbano
urbano 5.0
user
web
web chat facebook
wordpress
wordpress theme







Membuat form reply comment di wordpress
Tutorial singkat cara membuat threaded comment di wordpress. Tutorial ini ditujukan kepada developer saja, dan langsung aja deh ^_^
1. Buka file comments.php yang berada didalam folder themes yang digunakan.
2. Struktur tag html untuk daftar komentar diperkirakan harus seperti berikut ini supaya mudah:
<ul> <li id="comment_<?php echo $comment->comment_ID; ?>"> <div> <strong><a href="javascript:;" onclick="javascript:open_reply('comment_<?php echo $comment->comment_ID; ?>', '<?php echo $post->ID; ?>', '<?php echo $comment->comment_ID; ?>')">REPLY</a></strong> <strong><?php comment_author_link() ?></strong> / <?php echo $comment->comment_date; ?> <div></div> </div> <?php comment_text() ?> <div></div> </li> </ul>