Change number of search results

WPPizza – A Restaurant Plugin for WordPress Support General Support Change number of search results

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #56934
    johanfmp
    Participant

      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.

      #56936
      Olly
      Admin & Mod

        the 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 result

        #56965
        johanfmp
        Participant

          Olly, 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!

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The topic ‘Change number of search results’ is closed to new replies.