• Resolved teanaciousleaf

    (@teanaciousleaf)


    Hi I love the Neve theme, but I have a question about the Search feature/widget.

    Is there a way to change the results it displays? Ideally I’d like it to display products, but from my reading through previous posts I’ve gotten the idea that is a feature to come in the future. So is there a way to make it so it won’t list people’s names?

    For example when searching if you type in “copper panel” it will display pages with that phrase, but also the name of the person who created that page. How can I remove this?

    Thank you in advance

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @teanaciousleaf!

    Thanks for choosing Neve, we’re glad you like it!

    This can be achieved with custom CSS. Please insert the code below in the Additional CSS section within the Customizer. It should remove the author name from the products displayed on the search results page.

    .search-results .meta.author.vcard {
        display: none !important;
    }

    If you would also like to remove the number of comments that appear for some products, or any other meta data that can be displayed, along with the author name, you can replace .meta.author.vcard from the code above with .nv-meta-list, so the code will look like below.

    .search-results .nv-meta-list {
        display: none !important;
    }

    Have a great day!

    Thread Starter teanaciousleaf

    (@teanaciousleaf)

    Thank you Lucia, I just got in the office so I will try this out and let you know how it goes. ??

    Thread Starter teanaciousleaf

    (@teanaciousleaf)

    Hey Lucia, just wanted to say thank you again. This helped remove the authors name. Is Neve going to implement a product search feature or a customizable one at some point?

    Hello @teanaciousleaf!

    I’m glad to hear that now the page looks as you wanted and I’m happy I could help! For now, there is also a “Product Search” widget from WooCommerce that can be added as an alternative to the search form field from the theme, but we will surely take into account your suggestion.

    Thank you and have a great day!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Modify Search Results’ is closed to new replies.