More than 5 testimonials in front page
-
Hello,
I’d like to know if there’s any easy way (or code) that allows more than 5 testimonials to be displayed at the front page.
Pretty much what’s described at the title.
The blog I need help with is: (visible only to logged in users)
-
-
Hi there!
You can set “Testimonials per page” at https://wordpress.com/settings/writing/dragorigames.com. However, if your theme may override this.
Please check more details about it here https://en.support.wordpress.com/testimonials/.
Let me know if that helps!
-
Hi there. It’s not possible to display more than five testimonials on the front page in TextBook.
However, since you have the Business plan, you could make this change in a child theme.
Making a child theme means your changes won’t be overwritten when you update the theme. If you’re new to child themes, you can explore these guides:
http://codex.wordpress.org/Child_Themes
https://www.smashingmagazine.com/2016/01/create-customize-wordpress-child-theme/
http://vimeo.com/39023468Once your child theme folder is set up, create a copy this file from the parent theme, and place it in the child theme folder, following this folder structure:
/components/features/testimonials/display-testimonials.phpIn the copy of your file in your child theme, find this line near the top:
'posts_per_page' => 5,Change the number 5 to whatever you prefer.
Next, zip up your child theme and upload in your dashboard.
Finally, activate your child theme.
-
archanasolanki11 –
You can set “Testimonials per page” at https://wordpress.com/settings/writing/dragorigames.com. However, if your theme may override this.
That setting is for the testimonial archive page. It does not affect the front page. It’s always a good idea to test something like this if you’re unsure, before providing it to folks here. :)
-
- The topic ‘More than 5 testimonials in front page’ is closed to new replies.