[wp-testers] Tested 2.7 threaded comments...

Frank Bueltge frank at bueltge.de
Sun Sep 14 18:31:10 GMT 2008


It is possible to separating Trackbakc and Comments with this function?

Liebe Grüsse
Frank
______________________________
Mein Buch: WordPress - Weblogs einrichten und administrieren | ISBN
978-3-937514-33-8

bueltge.de
kvfl.com



On Sat, Sep 13, 2008 at 3:41 AM, DD32 <wordpress at dd32.id.au> wrote:
> On Sat, 13 Sep 2008 11:21:30 +1000, Idled Soul <idledsoul at gmail.com> wrote:
>
>> DD32 wrote:
>>>
>>> Just a note on this:
>>> It seems setting a depth of 0 currently results in, A depth of zero!,
>>> Ie. You cannot nest comments at all.
>>>
>>> I've got a patch to change it from:
>>> <?php if ( $depth < $args['depth'] ) echo
>>> comment_reply_link(array('add_below' => 'div-comment')) ?>
>>> to
>>> <?php if ( 0 == $args['depth'] || $depth < $args['depth'] ) echo
>>> comment_reply_link(array('add_below' => 'div-comment')) ?>
>>>
>>> which would result in the result that Ryan was expecting :)
>>
>> Thanks Ryan and DD32 for explaining this, and then creating the patch
>> DD32. :D Now, since your patch was committed to Trunk, using this
>> function in comments.php file:
>>
>> wp_list_comments(array('depth' => 0));
>>
>> would allow unlimited Comment Threading, right? Or, what exactly will work
>> to allow unlimited Threading? Thanks in advance!
>
> Yep, It allows for unlimited threading :) I've implemented it on my blog,
> and its working well (But no-one comments there anyway to see it...)
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list