Thank you for posting this. It is exactly the code I was looking for, although I want all Testimonials on one page, so I changed it to:
$output .= ‘$(“#testimonials_container”).quickPager({ pageSize: 100, currentPage: 1, pagerLocation: “after” });’;
…assuming there shouldn’t be more than 100 testimonials on one page.