WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Change number of search results
- AuthorPosts
- 22 July, 2021 at 8:57 pm #56934
I’m using Kale pro with wp-pizza. When using the search option from wp-pizza I get the results with 10 results on each page. How or where can I change this to have all results on one single page? Or change “10” to “20” results?
You can see what I mean on https://dewiezebakker.be and do a search for “pistolet”.
Another strange this with this is that it gives 10 results and on a previous post it gives me the other 6 results.22 July, 2021 at 11:20 pm #56936the number of search results per page is controlled by the theme (or indeed by wordpress itself using 10 as a default i would guess). wppizza does not control this.
I am quite sure though that there are probably some filters you could use to adjust this as you like
the reason why you get 10 and 6 results is (most likely) that you have 16 search results but your theme will simply only display a max of 10 per page so the 10+6 would be expected
if your theme were to show 5 per page, you’d probably get 4 pages with 5, 5, 5 and 1 result24 July, 2021 at 3:07 pm #56965Olly, thx for the reply.
How these are sorted, I did understand already and is logical.I already found out how this works an was able to change it. It isn’t the theme “Kale Pro” that I use that controls this number. The number is used from a setting in wordpress itself. For other people this might also be handy to know, so here’s the solution:
Login to your WordPress dashboard and go to Settings » Reading page. Next, you need to change the value of ‘Blog pages show at most’ option to any number of posts you want to display.
This is by default set to “10”. Don’t forget to click on the ‘Save Changes’ button to store your settings! - AuthorPosts
- The topic ‘Change number of search results’ is closed to new replies.