Home Forums WoodMart support forum Search bar should show portfolio items

Search bar should show portfolio items

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #458016

    stavom33
    Participant

    Hello team, I want my search bar to show portfolio items. How can I do it?

    #458074

    Luke Nielsen
    Keymaster

    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

    #458082

    stavom33
    Participant

    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.
    #458089

    Luke Nielsen
    Keymaster

    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

    #458094

    stavom33
    Participant

    Oh no. I don’t want to install any plugins to do this as it affects performance. Any other way to do this?

    #458128

    Luke Nielsen
    Keymaster

    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

    #458141

    stavom33
    Participant

    Will it be possible for you to share a video showcasing this?

    #458589

    Luke Nielsen
    Keymaster

    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

Tagged: 

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