Testimonial slider

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8214
    Flukkini
    Participant

    Hi, is there any way to limit the number of testimonial displayed on the slider?

    #8223
    Support Team
    Keymaster

    Hello @flukkini,

    The theme itself does not have the option to limit the testimonial slider but you can limit the no as per your requirement by using the filter provided in the theme.

    For this you need activate the child theme and to know how to activate the child theme please refer to below given link:

    http://wptravel.io/how-to-create-a-child-theme/

    After activating the child theme in your child theme functions.php file please add below given code.

    function travel_log_testimonials_child (){
    	return 4;
    }
    add_filter('travel_log_testimonials_posts_limit','travel_log_testimonials_child');

    Here change the no as per your requirement.

    Hope this helps.

    Regards!!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Travel Log’ is closed to new topics and replies.