• Resolved Nikodemsky

    (@nikodemsky)


    So for now “redirect to search results page” after clicking on “search” from ajax redirects to page with current search query – which is hard limited to number provided in settings.

    For me it’s kind of weird, if limit results to 3 in ajax then why would i want to see just 3 results in page dedicated to see all results from query?

    Is there some kind of filter to remove “ID” from query on search results page? I want ajax search to show only 3 results and after redirect to search results dedicated page i want to see ALL results, not just 3 i have seen in ajax.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    I hope you are well today and thank you for your questions.

    So for now “redirect to search results page” after clicking on “search” from ajax redirects to page with current search query – which is hard limited to number provided in settings.

    For me it’s kind of weird, if limit results to 3 in ajax then why would i want to see just 3 results in page dedicated to see all results from query?

    It is not all results but the number of search results displayed per page which is same for both.

    Is there some kind of filter to remove “ID” from query on search results page? I want ajax search to show only 3 results and after redirect to search results dedicated page i want to see ALL results, not just 3 i have seen in ajax.

    You have to develop custom code to achieve this as this is custom requirement.

    If you are not a developer, you can consider hiring a developer to develop it. You can hire a developer from any freelance site or WordPress agency.

    You can also consider hiring me to develop it for you using the form https://ivorysearch.com/custom-work/

    Best regards,

    Thread Starter Nikodemsky

    (@nikodemsky)

    I am developer, but custom modifications in plugin’s code are not update-proof and simple thing as that should be considered in options or as filter.

    So i can expect any help in that matter or should i just look on my own or switch plugin?

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    I recommend you to use the plugin hook is_pre_get_posts added in the below plugin file to change the functionality so it will be update proof.

    https://plugins.trac.www.ads-software.com/browser/add-search-to-menu/trunk/public/class-is-public.php#L631

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search results – redirect from ajax search’ is closed to new replies.