Support » Plugin: Better Recent Comments » Pagination

  • Resolved carmarthenfood

    (@carmarthenfood)


    Hello Andy,

    I noticed that a couple of years ago that a request was added for pagination in the plugin, I can’t find anything so assume this was not implemented.

    I have managed to get it to show the woocommerce reviews but it would be really useful to show reviews over more than one page, I have tried everything I can think of to get it to work but have failed.

    If you have the time I would appreciate your help.

    Thanks
    Terry

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andy Keith

    (@andykeith)

    Hi Terry,

    You could do this in theory. It’s a developer task and not that straightforward.

    You would need to pass the paged option to the get_comments function used in the plugin. You can hook into this using the ‘better_recent_comments_comment_args’ filter. The paged and number args are documented in WP_Comment_Query. You can see the (not very good) documentation for it here:

    https://developer.wordpress.org/reference/classes/wp_comment_query/

    Hello Andy,

    Thanks for the tips, sounds like a wet winter evening job! I’ll have a go when I have time, it would be a nice enhancement but not completely essential.

    Thanks
    Terry

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pagination’ is closed to new replies.