This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

I want to show search results on a new page with more filters on the result page

Home Forums Product Support Forums Ajax Search Pro for WordPress Support I want to show search results on a new page with more filters on the result page

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #19491
    AliBabakhaniAliBabakhani
    Participant

    Hi, I have added a search box on my site but I want it to open the search results on a new page. When someone apply filters and search then it should open all the match results on a page that I will assign and at left side there must be filters available so users can apply more filters for specific results right on the result page. Please help.
    Thanks alot!

    #19495
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Well, the closes thing you could do is to redirect the results to the results page when clicking the magnifier or return buttons, with results override activated, as it is not possible push them to a separate page.

    On the results page, you could also place the same search instance shortcode/widget, and enable the live results loader feature. I have looked at your themes results page source, in your case the container selector needs to be changed to:

    [html]#content-area[/html]

    ..here, like so: https://i.imgur.com/SElhVcY.png

    In that case, whenever the plugin detects, that it is currently on the results page, it will use the live reload feature. When the override is enabled, the filter states and the phrase is also memorized and sent to the results page search bar.

    #19517
    AliBabakhaniAliBabakhani
    Participant

    You cannot access this content.

    #19522
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    It won’t work even if the override is deactivated, that is simply not possible, as WordPress does not work that way unfortunately.

    However, I have configured the plugin so that the widget is displayed on the sidebar via this feature, as well as enabled the live results loader. Now, whenever you are not on the results page, the live results will display. It also remembers the filter states of course. On the results page, the results container is filtered live. This is as close as it can possibly get.

    #19532
    AliBabakhaniAliBabakhani
    Participant

    So why there is an option to redirect them to a custom URL?
    I want to redirect it to the custom page where it shows all the matched results and user can filter those results with available filters on the page.
    Its completely basic and must have thing with this plugin, dont you think so?

    #19543
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    The custom URL option is there, so that in cases, where the search results page URL is changed to a different permalink structure (via .htaccess or function), then it can be adapted to it.

    While it sounds basic, It is not that simple unfortunately. WordPress uses query handlers to determine which theme files are included to display, and the search.php file is the one responsible of displaying search results. That file is completely in control of the layout.

    There is a work in progress for a custom results shortcode, that could be placed to a page, and when the redirection is made to that page via a search bar, it will display the results as the page content.

    #19549
    AliBabakhaniAliBabakhani
    Participant

    I am not understanding what you are saying, its pretty basic need if you think properly.
    is there any other plugin for WordPress which can show all the matched results on a page and then we can filter from there?

    #19552
    Ernest MarcinkoErnest Marcinko
    Keymaster

    I don’t know if there is such plugin unfortunately, I usually see these types of solutions hard-coded into themes or custom coded.

    You can do things like this or this, but once there is a redirection to the results page, then the WordPress passes the query to the results template, which cannot be affected from the perspective of a plugin. I understand exactly what you need, simply redirect to a page where the results are displayed and can be refined further – as simple as it sounds from usage perspective, from plugin development perspective it is very problematic, otherwise this feature would be already included in the plugin. A solution is under development, but there are many programmatical issues/boundaries that need to be resolved in order to make it work correctly.

    #19555
    AliBabakhaniAliBabakhani
    Participant

    Thank you very much for the support, but it seems that iam not able to handle that… Can i get a refund in this case? I will try to find a other solution for my project. that would be very nice.

    #19556
    AliBabakhaniAliBabakhani
    Participant

    You cannot access this content.

    #19568
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘I want to show search results on a new page with more filters on the result page’ is closed to new replies.