This is my first question here,

all I want is a code snippet where I can give a proper class name to my category for example

category name: movie result: category_movie

with code snippets

  • 1
    An HTML class? For what element? Jan 11 at 10:24
  • HTML class name to menu items
    – Clone 2
    Jan 13 at 4:59
  • You don’t need code you can add classes to menu items through the UI. Just check Screen Options to check that the field is enabled. Jan 13 at 6:17


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.