Last active
December 11, 2019 12:08
-
-
Save kosinix/5459157 to your computer and use it in GitHub Desktop.
Add first and last CSS class to WordPress navigation menu items by using filters. CSS class will be added automatically without need for tinkering with WordPress admin. Note: Last class will be added to the last menu item. If the last menu item has sub menu, the last class will be added to the last item of that sub menu.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment