[wp-trac] [WordPress Trac] #16431: Adding include to wp_list_comments()
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 1 04:27:50 UTC 2011
#16431: Adding include to wp_list_comments()
--------------------------+-----------------------------
Reporter: danielpataki | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
I have been building a simple forum on Wordpress using posts as questions,
top-level comments as answers, replies as comments on answers.
Choosing a best answer is available, which adds the ID of the chosen
answer (comment) ti the postmeta of the question.
I would like to arrange my answers so that the first one is the chosen
best answer, and below you can view the normal flow of answers.
It would be nice if this could be done using wp_list_comments(). I would
call it once and use "include" to show just the one comment, and then I
would call it again without the include to show the usual flow of
comments.
I believe this might be generally helpful in other cases as well though.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16431>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list