Skip to Content
Home › Forums › Older releases › 1.0.x › Have I to add classes manually (eg. has-submenu current) › Reply To: Have I to add classes manually (eg. has-submenu current)
If you use the markCurrentItem: true option, the script will automatically add the “current” class to the proper item so you won’t need to do it server-side with PHP:
As for the “has-submenu” class – it is automatically added to the parent items’ A elements when the script initializes the menu tree so you don’t have to worry about it.
You will be emailed a link to set your password.
Username or Email Address
You will receive emails only on new version releases or really important news. Your email will not be shared with anyone. We hate spam too!