How to set up a results page

Home Forums Product Support Forums Ajax Search Pro for WordPress Support How to set up a results page

This topic contains 4 replies, has 2 voices, and was last updated by Jimtowner Jimtowner 5 years, 11 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9421
    Jimtowner
    Jimtowner
    Participant

    When the user clicks on an post in a search result list is it possible to have the result display on a page of my choosing rather than my themes default page? I see there is a result shortcode and a “Redirect to url?” but I don’t understand how to use them., including:

    What would I put in {phrase} in ?s={phrase}?
    What does the result shortcode do and where does it go?

    A complete example would be great.

    Thanks,
    Steve

    #9426
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    The search results page is completely controlled by the theme itself, so unfortunately this is not possible.

    The results shortcode is to place the results list container to a different position on the same page. For example you have the search bar in the right navigation, but you want to display the results in the middle of the page, then you can use the results shortcode to move it there.

    A good example is the main search on this page: https://i.imgur.com/K5p0ZX8.png
    Another example is the property search demo: http://goo.gl/mNBcui
    There I use Visual Composer to create two rows. In the left row there is the search shortcode, in the right row there is the results shortcode.

    The redirection URL is for cases where the default search page is located on a permalink, or on a different URL. It does nothing, but sends the data to the given URL. In most cases, like yours, there is no need to change that. Some themes however use a different path, in that case it becomes very useful.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #9431
    Jimtowner
    Jimtowner
    Participant

    Ok, thanks for that explanation Ernest. I don’t know if this is technically feasible but would it be possible to have a configuration in ASP that overrides the theme and says “use this page” to display results. Is that something you could consider for a future version?

    #9439
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    It had been requested before, but so far I haven’t found a stable solution to add this feature yet unfortunately. It’s definitely something I want to be able to implement, but I’m honestly not sure if it’s going to be available anytime soon.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #9456
    Jimtowner
    Jimtowner
    Participant

    Ok. I’ll certainly be interested if your able to add it.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.