Hi 🙂
Was looking in the docs and previous support questions, but could not find the anwser.
How can I give a name to a product category that is used to display this category in the menu?
I have found the option for pages, but need the same for product categories.
Many thanks in advance 🙂
Remco
OnPoint Plugins
Hi Remco,
The plugin does not currently support setting the name of a category in the menu from the WordPress admin.
However, if you would like to share some categories and the names you would like displayed, I can write a filter for you which will take care of it.
Remco Harmsen
That would work 🙂
For example: https://www.aanbiedingenbaas.nl/baby/difrax/difrax-flessen/
The name is “Difrax flessen aanbieding” and I would like to change that to “Difrax fles”
If I have the code snippet than I can adjust it myself when other items come up in the future.
OnPoint Plugins
Hi Remco,
The following filter should do the trick.
Have a great day!
Remco Harmsen
Hi and very sorry for my late reply.
Just tested the code snippet and it worked perfectly 🙂
What should I do if I wanted to change more than 1 item?
OnPoint Plugins
Hi Remco,
You may add additional cases to the switch to change multiple items.
For example if you had another item with the name “Example name” and you wanted to change the name to “Stable” you would add another case like so:
Have a great weekend!
OnPoint Plugins
Hi Remco,
I wanted to stop in to let you know the feature to add a custom title made it into the version 9.1.0 release.
You may now add a custom category title by using the field found on the category edit screen.
Feel free to update the plugin and remove your filter whenever you like.
Enjoy!
Remco Harmsen
That is a very nice update, many thanks 🙂
I was already planning on giving this plugin and support a 5 star review, but if I could give 6, I would.
Many thanks again and have a good day!