OnPoint Plugins

  • Plugins
    • Advanced Sidebar Menu
    • Go Live Update Urls
  • About
    • Services
    • Showcase
  • Blog
  • Contact
  • Support
  • Log In
← Back to support

Give title to product categories

Resolved

Requested: 8 months and 4 hours ago

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

Plugin: Advanced Sidebar Menu

  1. OnPoint Plugins

    7 months and 4 weeks ago

    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.

  2. Remco Harmsen

    7 months and 4 weeks ago

    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.

     

     

  3. OnPoint Plugins

    7 months and 4 weeks ago

    Hi Remco,

    The following filter should do the trick.

    Have a great day!

  4. Remco Harmsen

    7 months and 2 weeks ago

    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?

  5. OnPoint Plugins

    7 months and 2 weeks ago

    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!

  6. OnPoint Plugins

    7 months and 2 weeks ago

    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!

     

  7. Remco Harmsen

    7 months and 2 weeks ago

    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!

New Response Cancel reply

You must be logged in to respond. Only PRO members are allowed to respond to support requests.

© 2023 · WordPress Development · Terms Of Service · Privacy Policy · Cookie Policy · Log in

  • Plugins
  • Blog
  • Contact