Amount of header search form results - by TAT_PM

This topic has 4 replies, 2 voices, and was last updated 8 years, 1 month ago ago by Eva Kemp

  • Avatar: TAT_PM
    TAT_PM
    Participant
    February 15, 2016 at 16:36

    hello there,

    using the search funcionality in the header i always get three results (even if there is more products to match the search). can i increase this? e.g. get 5 results or more?

    thanks in advance 🙂

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    February 15, 2016 at 17:18

    Hello,

    You can change the limitation in the file wp-content/themes/legenda/search-results.php in line 60, edit the code $args['count'] = 3; and change “3” to the number you wish.

    Regards,
    Eva Kemp.

    Avatar: TAT_PM
    TAT_PM
    Participant
    February 17, 2016 at 17:35

    hello again,

    up to now it doesn’t work the way i want it to be. i changed the line in search-results.php as given by you, but still only get 3 products shown in the search-dropdown field.
    at the moment there is: $args[‘count’] = 10; used in the php-file

    maybe you take a look, i will send the URL in private content. a search for ‘mission pack’ should bring up 23 results

    thank you!

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    February 17, 2016 at 17:47

    Hello,

    Please provide us with FTP and wp-admin panel credentials in Private Content.

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.