I want same functionality like WordPress provide for custom links but additionally I want to add some class to those links by default that is added by this feature (Other websites).

enter image description here

I have tried to add it with add_meta_box but it is not working.

  • You can enable class option for menu items from "Screen Options" at top right corner. – Bhupen Jan 28 at 8:48
  • @Bhupen Yes you're right but I want it by-default. – Dhaval Panchal Jan 28 at 8:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.