• I am using the ‘limit code snippet’ in my functions.php file and it works great.

    But that code snippet cannot display pagination in search results.

    So, for pagination do I need to use some plugin or there is some additional code snippet available to generate pagination.

    Thanks and looking forward for some quick response.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mikko Saari

    (@msaari)

    The built-in WordPress pagination functions are the way to go. There are plugins that do more advanced pagination, but I’ve rarely found them necessary, and some of them are not compatible with Relevanssi.

    Thread Starter tariqaltaf

    (@tariqaltaf)

    thanks let me test this.

    Thread Starter tariqaltaf

    (@tariqaltaf)

    One more question
    1) How can I add search textbox on search results page. I am also using Relevanssi Auto Complete plugin so I want autocomplete functionality on this new search text box.

    Thanks

    Plugin Author Mikko Saari

    (@msaari)

    If you are using Autocomplete for Relevanssi, do note that that plugin is not particularly well done, and will slow down your site a lot eventually as your database grows larger.

    There are many ways to add a search form on the search results page. You need to edit your search results template to add the form. You can use for example get_search_form() to add the form or add it manually.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to generate pagination in search results’ is closed to new replies.