[wp-trac] [WordPress Trac] #12223: Adding a titles to comment levels with the walker class

WordPress Trac noreply at wordpress.org
Sun Aug 11 20:38:58 UTC 2013


#12223: Adding a titles to comment levels with the walker class
-------------------------------------------------+-------------------------
 Reporter:  danielpataki                         |       Owner:
     Type:  feature request                      |      Status:  closed
 Priority:  normal                               |   Milestone:  Future
Component:  Comments                             |  Release
 Severity:  normal                               |     Version:
 Keywords:  walker class wp_list_comments close  |  Resolution:  invalid
-------------------------------------------------+-------------------------
Changes (by westonruter):

 * keywords:  walker class, wp_list_comments => walker class
     wp_list_comments close
 * status:  new => closed
 * resolution:   => invalid


Comment:

 Replying to [comment:3 danielpataki]:
 > Yes, I normally use a callback to format everything, but while this
 allows me to format any comment, I cant do anything before the 2nd level
 comments start for a first level.

 The `wp_list_comments` `callback` argument actually ''does'' get called
 for all comments on all thread depth levels, not just the first level.
 Also take note of the `end-callback` argument as well:
 http://codex.wordpress.org/Function_Reference/wp_list_comments

--
Ticket URL: <http://core.trac.wordpress.org/ticket/12223#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list