Support » Plugin: GC Testimonials » add shortcode to allow custom limit # of testimonials per page

  • Resolved wordkoop


    this applies to [full-testimonials]: please allow for custom setting of this parameter, as we use your full-page testimonials because of the sweet look, but do not want five on our home page. instead, please allow for [full-testimonials limit=”x”] to specify how many testimonials per page.

    for the present, i have updated the php directly (obviously less than ideal) via updating the line in gc-testimonials/testimonials.php from
    $output .= '$("#testimonials_container").quickPager({ pageSize: 5, currentPage: 1, pagerLocation: "after" });';
    $output .= '$("#testimonials_container").quickPager({ pageSize: 1, currentPage: 1, pagerLocation: "after" });';

    look forward to seeing this in a near-future update ~ and other users, please bump if you too would like to see this!


Viewing 8 replies - 1 through 8 (of 8 total)
  • 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.

    I find that 20 on a page works quite nicely and went with this:

    $output .= ‘$(“#testimonials_container”).quickPager({ pageSize: 20, currentPage: 1, pagerLocation: “after” });’; $output .= ‘});’;

    Example of the output here:

    Thanks for the tip!

    Plugin Author devnz


    Im glad you got it sorted!

    This is one of the main requests and will be implemented in a future release.

    oops! I figured out my answer. ignore this.

    thank you for posting this. this is exactly what I was looking for, too 🙂 yes adding this would be a great addition to a great plugin.



    Please help:

    changing : $output .= ‘$(“#testimonials_container”).quickPager({ pageSize: 1, currentPage: 1, pagerLocation: “after” });’;

    does not work for me.

    only want to extend pagination

    I also want to add the “read more” link.

    how can I make this work?

    ok – what happened
    my client just updated their plugin – I went in and updated the php to:

    $output .= ‘$(“#testimonials_container”).quickPager({ pageSize: 50, currentPage: 1, pagerLocation: “after” });’;

    but still a million to a page? how can I fix? thanks!

    well tried it again by editing thru wordpress and not ftp and it worked – looking forward to an update with this enhancement!
    Thanks! 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘add shortcode to allow custom limit # of testimonials per page’ is closed to new replies.