WordPress.org

Ready to get started?Download WordPress

Forums

GC Testimonials
[resolved] add shortcode to allow custom limit # of testimonials per page (1 post)

  1. wordkoop
    Member
    Posted 1 year ago #

    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" });';
    to
    $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!

    cheers,
    d@Ve

    http://wordpress.org/extend/plugins/gc-testimonials/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.