Ivory Search › Forums › Support › change query string setting
Tagged: query string
- This topic has 7 replies, 2 voices, and was last updated 7 months, 2 weeks ago by Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- May 1, 2024 at 7:16 PM #20384
Dear Sir,
When doing woocommerce product search, the query string shows “product_type=product”.
How can I change the query string to “product_type=products”?
Thanks for your help.
Rgs, Tai
- May 2, 2024 at 10:28 AM #20392
I hope you are well today and thank you for your question.
You can achieve this by developing a custom code.
If you are not a developer, you can consider hiring a developer to develop it. You can hire a developer from any freelance site or WordPress agency.
You can also consider hiring me to develop it for you using the form https://ivorysearch.com/custom-work/
Best regards,
Ivory Search Support - May 3, 2024 at 9:25 PM #20424This reply has been marked as private.
- May 4, 2024 at 11:10 AM #20430
You can just remove the post type added by the Ivory Search plugin by enabling the search form option as shown in the attached screenshot and then add a new post type by developing a custom code.
You don’t need to use any Ivory Search plugin hook or modify its files.
Attachments:
You must be logged in to view attached files.- May 5, 2024 at 10:42 PM #20449
Dear Sir
Thanks for your kind feedback. However, what you suggested is not workable in my case, as I use Elementor to design the search result page template which can be applied only when the search form of ivory search plugin would generate query string with “post-type=xxx” in url.
As attached below two pictures, when setting the search form applied post type in ivory plugin at website backend, it says “products”. But why in the fronted using the search form, the url query string of “post-type=xxx” generated shows “product” instead?
PS: My Elementor search result page template works fine with the query string of “product-type=products”. It will not be applied when it is “product” or no post type query string in the url.
I wonder if you can advise how to revise the query string generated by ivory search form of “post-type=xxx” section can just show what it was set inthe backend as “products”?
Thanks for your kind support.
Attachments:
You must be logged in to view attached files.
- May 6, 2024 at 8:24 AM #20455
It is not a solution I have said in my previous reply that You can just remove the post type added by the Ivory Search plugin by enabling the search form option as shown in the previously shared screenshot and then add a new post type by developing a custom code.
If you are not a developer, you can consider hiring a developer to develop it. You can hire a developer from any freelance site or WordPress agency.
You can also consider hiring me to develop it for you using the form https://ivorysearch.com/custom-work/
- May 6, 2024 at 8:08 PM #20460
Dear Sir,
Thanks for your kind support and advice.
Rgs, Tai
- May 7, 2024 at 4:21 PM #20469
You are always welcome here 🙂
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login