php - How to make a custom comments list for wordpress -


i trying customize wordpress comments list retrieved using following function

<?php wp_list_comments('avatar_size=64&type=comment'); ?> 

i trying use following code

<ol class="commentlist clearfix">                                 <?php wp_list_comments('avatar_size=64&type=comment'); ?> </ol><!-- .commentlist end --> 

i have tried using

<ol class="commentlist clearfix">                                 <?php                             function my_comments_callback( $comment, $args, $depth ) {                                 $globals['comment'] = $comment;                                                               ?>                                 <li class="comment byuser comment-author-_smcl_admin thread-odd thread-alt depth-1" id="li-comment-<?php comment_id(); ?>">                                      <div id="comment-<?php comment_id(); ?>" class="comment-wrap clearfix">                                          <div class="comment-meta">                                              <div class="comment-author vcard">                                                  <span class="comment-avatar clearfix">                                                 <img alt='' src='http://1.gravatar.com/avatar/30110f1f3a4238c619bcceb10f4c4484?s=60&amp;d=http%3a%2f%2f1.gravatar.com%2favatar%2fad516503a11cd5ca435acc9bb6523536%3fs%3d60&amp;r=g' class='avatar avatar-60 photo' height='60' width='60' /></span>                                              </div>                                          </div>                                          <div class="comment-content clearfix">                                              <div class="comment-author"><a href='http://themeforest.net/user/semicolonweb' rel='external nofollow' class='url'>semicolon</a><span><a href="#" title="permalink comment">april 25, 2012 @ 1:03 am</a></span></div>                                              <p><?php comment_text(); ?></p>                                              <a class='comment-reply-link'><?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( '<i class="icon-reply"></i>' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?></a>                                          </div>                                          <div class="clear"></div>                                      </div>                                  </li>                                 <?php                             }                             ?> 

but either way not able desired result. how can go making custom comments list in wordpress? thanks.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -