Is it possible not to show a specific category in the search bar?
not by a user’s roll, it’s for everyone
and I still want users to be able to chose this category when they submit listings.
I want only not showing the category name on front-end search bar when users search.
I want it to work as below:
If user doesn’t know which category to chose, he can chose “undefined”
Admin can set it to right category manually so the listing will be searchable in right category.
Problem is : users still can see “undefined” in search bar <—- I want to hide this.
I’ve been struggling with codes for hours but none of them didn’t work
Sorry, there’s no simple code snippet for this, it would require a custom implementation. If customizations beyond the available features are required for your site, please consider hiring someone for custom work https://fvrr.co/32e7LvY
I found another way to hide category.
It works for my purpose on front page, but it replaces a whole site if there have a word “undefined” in the contents.
I think this should be OK for now.
I don’t know if I can say it a solution though.
I’ll post if I found a better way.
Could you explain more about the expected result for this issue? Which words do you want to change in the search bar? If it is possible, please provide screenshots.
it looks wired but in my language sometimes a word changes for submitting and searching purpose.
I want something like replacing word “undefined” to “uncategorized” only in search bar.
Now the code above working but it replaces a whole site if there have a word “undefined” in the contents.
Thank you for your instruction. But my question is not about translating.
Your code snippet for hiding a category name from search bar working fine.
Besides that I wanted to know how I can change a category name only in search bar because sometimes in my language, a word varies for submitting and searching.
Something like past tense and present tense in English.
Thank you for your help
Sorry, there’s no simple code snippet for this, it would require a custom implementation. If customizations beyond the available features are required for your site, please consider hiring someone for custom work Fiverr - Freelance Services Marketplace
Is it possible not to show a specific category in the search bar? I have many categories, but there are some I do not want to display in the search bar. Is there a snippet that can help me exclude certain categories?