Search bar should show portfolio items
-
Hello team, I want my search bar to show portfolio items. How can I do it?
Hello,
In this case, navigate to WoodMart -> Header builder -> edit the “Search” element and for the “Post type” set the “All post types” value.
https://prnt.sc/HDgwi8xnUmX4
Feel free to reach out to me anytime when you have anything more to say.
Kind Regards
Ok so now I have set it to show only portfolio items. However I want to change the text that gets displayed when clicking on the search button. Instead os saying, search for projects- I want it to say search for products. How can I do it? Also want to change- Start typing to view projects you are looking for to products you are looking for. How to do?
Attachments:
You must be
logged in to view attached files.
Hello,
That text can be changed with the help of the Loco Translate plugin, please read our documentation on how to use it.
https://xtemos.com/docs-topic/translate-woodmart-theme-with-loco-translate/
Let me know if you have any questions, I’d be happy to answer them.
Kind Regards
Oh no. I don’t want to install any plugins to do this as it affects performance. Any other way to do this?
Hello,
With the help of Loco Translate, you can change text, then remove that plugin and the changed text will be saved. Otherwise, you can copy the woodmart_search_form
function (inc/modules/search.php) to your child theme and edit it there per your needs.
https://prnt.sc/OBX4wKkpikL_
https://prnt.sc/67Cgxp1avgZA
You can also reach out to us if you have any questions.
Kind Regards
Will it be possible for you to share a video showcasing this?
Hello,
Yep, here is a video with the result.
https://monosnap.com/file/oDdhRggQ1ofkkOnY599D7b5zSGjfIV
If you still have further questions, please don’t hesitate to reach out. We’d be happy to talk through them with you.
Kind Regards