Ivory Search › Forums › Support › 2nd time search uses the WordPress Default search
- This topic has 5 replies, 2 voices, and was last updated 2 years, 1 month ago by
Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- March 9, 2023 at 10:32 AM #15284
I hope you are well today and thank you for your question.
Could you please share the page URLs from your site that you are referring to so I can better understand it and help you?
Best regards,
Ivory Search Support- March 9, 2023 at 7:06 PM #15295
Hello
The web address for the search is “https://thetrainerstrainingcompany.co.uk/top-trainer-profiles/”.
The search box has your shortcode in it and it works beautifully but we want it to go straight back to be able to search again. We have another search template for this which has your shortcode in it but it just takes us back to the default search template which searches the entire site (which you will see when you.
So for instance, if you search for ‘Social Media’ the first time it brings up the trainer that can do this.
After you search the next time (as you will see) it searches all the site and not the trainers.
Hope that makes sense.
Thanks for your time on this 🙂
- March 9, 2023 at 8:22 PM #15296
You should change the search bar displayed on the page https://thetrainerstrainingcompany.co.uk/?s=Social+Media&id=233437&post_type=top-trainer-profiles with the search bar displayed here https://thetrainerstrainingcompany.co.uk/top-trainer-profiles/
- March 9, 2023 at 11:56 PM #15298
Hello
That is my issue though. If I change that search bar in there, then the ‘Site Search’ will not work when it’s needed for another part of the site as it will always keep trying to search for trainers (and not things like blogs).
This is why when we use your shortcode, the results page needs to then be the 2nd search template and not the 1st (the default one it goes to).
Or am I just misunderstanding what you are saying?
I really appreciate your time on this.
Gareth 🙂
- March 11, 2023 at 9:35 AM #15311
This is why when we use your shortcode, the results page needs to then be the 2nd search template and not the 1st (the default one it goes to).
What do you mean by 2nd search template?
Could you please share the page URLs of 2nd and 1st search templates?
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login