• Rohmel

    (@airomes)


    I have run into an issue where the plugin only lists 10 items. I can’t find where or figure out why this is happening. There should be more items listed. If I disable enough of the items to bring the total under 10, the plugin lists all of the correct items. When I enable more than 10, random items after 10 stop getting listed.

    Can anyone help with this?

    https://www.ads-software.com/extend/plugins/testimonial-rotator/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hal Gatewood

    (@halgatewood)

    Try adding this to your theme’s function.php file:

    function testimonial_rotator_number_of_posts( $args ) {
        $args['number_of_posts'] = 30;
        return $args;
    }
    add_filter( 'testimonial_rotator_display_args', 'testimonial_rotator_number_of_posts' );

    Change the 30 to whatever number you need.

    I’ve added the suggested additional code (below) to the end my functions.php but it still only rotates through the first three testimonials. I have a total of 14 testimonials entered. All testimonials have “0” for the order. I have tried numbering them 0-13, but still won’t display more than first 3. re: https://www.successfullyunemployed.com

    function testimonial_rotator_number_of_posts( $args ) {
    $args[‘number_of_posts’] = 14;
    return $args;
    }

    Plugin Author Hal Gatewood

    (@halgatewood)

    Just to confirm you also added the line underneath the function?

    add_filter( ‘testimonial_rotator_display_args’, ‘testimonial_rotator_number_of_posts’ );

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Only listing 10 testimonials’ is closed to new replies.