[wp-hackers] How to number the paged comments in theme Was: Tutorial for custom Walker_Comment ?

Mike Little mike at zed1.com
Thu Nov 5 14:27:21 UTC 2009

2009/11/5 Andrew Nacin <anacin at gwhatchet.com>

> >
> > 2. I want to echo my <div class="navigation"><?php
> > paginate_comments_links() ?></div> only if there is actual comment
> paging.
> >
> You could use the echo=false arg and check the length of the returned
> string.


I don't believe that will work: the default comment_walker *always* echoes.

See this trac ticket for a report and fix

Mike Little

More information about the wp-hackers mailing list