Support » Plugin: WPAdverts - Classifieds Plugin » Results Page

  • Resolved briancraw

    (@briancraw)


    Hey Greg,

    Is it possible to have search results returned on a page without the search form on it. I have quite a few options on my search form and the results appear under them which requires scrolling to view. I would prefer if I could have the results on a clean page with just a link to return to search form.

    Thanks, Brian

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    yes, it is possible, on the new page you can use the [adverts_list] shortcode with search_bar param like this

    
    [adverts_list search_bar="disabled"]
    

    If your search form is using a custom form scheme (created with Custom Fields extension) then you will need to use the form_scheme param (even though the search form itself will not be displayed) otherwise only the default search params (keyword and location) will be recognized.

    Thread Starter briancraw

    (@briancraw)

    Thanks Greg, Is there a way to use a custom page form with many options which returns results which requires scrolling to see results to return results on a page with the search bar disabled. I do not know how to use the advanced search form I created to be used to search and then return the results on a clean page. The [adverts_list search_bar=”disabled”] provides the page with no search bar but I do not know how to search with that page either. I am hoping to search with normal form and return results on clean page without search bar. Thanks!

    Plugin Author Greg Winiarski

    (@gwin)

    I am not sure if this is what you are asking about, but if you have custom search form named custom_search, then you could set-up your website like this

    1. in the wp-admin / Pages panel create a page with a shortcode

    
    [adverts_list search_bar="disabled" form_scheme="custom_search"]
    

    This is a clean page with search results only, lets assume that after publication this page URL will be https://example.com/search-results/

    2. in the wp-admin / Pages panel create a page with a shortcode

    
    [adverts_list search_bar="enabled" show_results="0" form_scheme="custom_search" redirect_to="https://example.com/search-results/"]
    

    This page will show the search form only and when you click search it will send the user to page created in point #1.

    In other words #2 will allow the user to set search params and will redirect him to a page that can take the params, filter ads and show results.

    Thread Starter briancraw

    (@briancraw)

    Perfect. Thanks Greg!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.