Home › Forums › All Other Themes › How to show more than 10 reviews
- This topic has 7 replies, 2 voices, and was last updated 7 years, 1 month ago by Sonnal S Sinha.
-
AuthorPosts
-
March 1, 2017 at 7:19 am #63752
I’ve added the reviews section on the SKT Hotel theme, but it’s only displaying 10 reviews and not all of them. How can I change the number of reviews to display?
Thanks!March 1, 2017 at 7:26 am #63756Hi Elaina,
Kindly go to Setting>>Reading. You will find option “Blog pages show at most”. Increase the value from there.
Regards,
DaveMarch 1, 2017 at 7:33 am #63759Hi Dave,
Thanks for the quick response. It’s still not working after I’ve set the post to display at 20.
Regards,
ElainaMarch 1, 2017 at 7:39 am #63761Kindly show us your website URL.
Regards,
DaveMarch 1, 2017 at 8:51 am #63764Hi Dave,
Here it is: http://bigskycottages.co.za/
When you scroll down on the home page you’ll see the guest reviews. At the moment only 10 is displaying, but there are 14 in total.
Regards,
ElainaMarch 1, 2017 at 9:57 am #63778Hi,
Kindly go to inc/custom-functions.php (line number 784)
You will find this code:
query_posts('post_type=testimonial&showposts=10');
Replace the above code with this code:
query_posts('post_type=testimonial&showposts=-1');
Regards,
DaveMarch 1, 2017 at 10:23 am #63786Thanks Dave. It worked!
Thanks for all your help πMarch 1, 2017 at 11:04 am #63794π
-
AuthorPosts
- The topic ‘How to show more than 10 reviews’ is closed to new replies.