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

Create a search like the one in your example

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Create a search like the one in your example

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #51497
    kath molyneuxkath molyneux
    Participant

    Hi there

    I’m trying to create an interative search like the one on your home page (screenshot attached)

    I tried working it all out for myself but the videos don;t match the version that I’m looking at so I’m getting confused.

    Basically I want to be able to search jobs by Location and Company and Job Title…. eg show all jobs in North West location – result = 10, filter this by Company – new result = 2. Or maybe, search by Company – result = 20, filter this by Job Title – new result shows 3 jobs.

    I hope this makes sense!

    Thank you

    #51503
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Sure – I will help you as much as I can.

    The generic theme for that search is this one. After selection the search input should look very similar to that. For keyword suggestions (below the search bar) go here.

    Then about the filters
    – In that example I have set the to be a block and visible at all time: https://i.imgur.com/bRz15e4.png
    – Then depending on the case, I suspect you want taxonomy term filters. For that we selected the category and the blog_category taxonomies. If you click the display mode button, the labels, states etc.. can be changed.

    To have separate filter boxes (one for Company, one for Location similarly to us having the Example Categories and the Blog categories) they should be separate custom taxonomies. It’s generally a good practice to have taxonomy separation between very distinctive categorization criteria. In case you don’t have that yet, I highly recommend to create taxonomies for them.

    That’s basically it πŸ™‚

    #51513
    kath molyneuxkath molyneux
    Participant

    Thank you so much! – I will follow this and report back πŸ™‚

    #51514
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #51515
    kath molyneuxkath molyneux
    Participant

    Hi there

    So I’m doing really well, I think!

    I’ve created separate taxonomies and the search seems to be working great – just a couple of things… How can I make the separate categories horizontal?

    Also, not really Ajax related, but I can’t see how to include the Custom taxonomy fields in my Job Post?

    Thank you so much for your help with this!

    Katherine

    #51517
    kath molyneuxkath molyneux
    Participant

    It’s okay! I did it – I had set the search width to 50% (doh!)

    Thank you so much for your help.

    #51519
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Great πŸ™‚ You are very welcome!

    #51568
    kath molyneuxkath molyneux
    Participant

    Hi there Ernest

    https://www.sustainable-careers.co.uk/

    We’re on with the design now and it’s looking great – please is it possible to have the options as a drop down instead of showing them all as checkboxes?
    I did see a dropdown option but it didn’t seem to do anthing.

    Hope you can help!

    Thank you so much

    Katherine

    #51572
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Sure Katherine!

    You can change that here: https://i.imgur.com/UiaSHbE.png

    #51620
    kath molyneuxkath molyneux
    Participant

    Thank you once again! That works perfectly…

    Thank you so much for your help.

    Katherine

    #51621
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #51933
    kath molyneuxkath molyneux
    Participant

    Hi Ernest

    Please could I trouble you for another request?

    The search front end on the website is working perfectly.

    Because this is a careers site, we need the functionality of a jobs board and I have added a plugin called https://wpjobopenings.com/

    I’ve adjusted the Ajax search so that it searches the jobs created using this plugin instead of posts.

    What I really want to be able to achieve is to send the search results to this page https://www.sustainable-careers.co.uk/jobs/

    I had a go (with the duplicate search instance) but I could make it work… Is this possible to achieve?

    Thank you!

    best wishes
    Kath

    #51934
    kath molyneuxkath molyneux
    Participant

    ps – that should say…
    I had a go (with the duplicate search instance) but I could NOT make it work… Is this possible to achieve?

    #51941
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Kath,

    Sort of, yes, I think it’s doable.

    While the search override may not trigger because of the custom page, you can definitely send the search to redirect to that page and let the other search do it’s thing.

    To do that, go to the Search Behavior -> Magnifier and Return actions menu, and set the custom redirect URL to this:

    jobs/?jq={phrase}

    If all goes well, the plugin will redirect to the jobs search page, with the pre-populated search query.

    #51950
    kath molyneuxkath molyneux
    Participant

    Hi Ernest
    Thank you. I’ve put that in the duplicate search instance, but it’s still going to the default results page. I’ve cleared the cache etc.

    Hope you can help!

    Thank you
    best wishes
    Kath

Viewing 15 posts - 1 through 15 (of 18 total)
  • You must be logged in to reply to this topic.