Skip to main content
8 events
when toggle format what by license comment
Oct 28, 2010 at 9:46 vote accept anu
Oct 28, 2010 at 9:44 comment added anu OK - a bit of a misunderstanding on my part - I thought there would be something to handle the retrieval of comments as well. But with a bit of tinkering, and a tiny bit of code to set the LIMIT start and end from the generated page number, that works fine.
Oct 27, 2010 at 22:35 comment added sorich87 I modified my answer.
Oct 27, 2010 at 22:34 history edited sorich87 CC BY-SA 2.5
added details based on code provided by the author of the question
Oct 27, 2010 at 0:26 comment added anu Yes - I did look at the reference, and googled for other references - still can't see how to pass a set of comments into it for pagination though.
Oct 26, 2010 at 18:16 comment added sorich87 Please see the reference page: codex.wordpress.org/Function_Reference/paginate_links. "The function can be used to create paginated link list for any area." All the parameters are explained there. You can also post your code here so that we give you a more specific answer.
Oct 26, 2010 at 17:32 comment added anu I thought paginate_links() was used to paginate post objects - it uses the global $wp_query. Is there some way of passing it an array of comments?
Oct 26, 2010 at 15:55 history answered sorich87 CC BY-SA 2.5