WordPress has a great feature called ‘filter’ with which we can add our own classes to nav menu items. Most times you need to add classes in nav menu items on some conditions. For example, in menu you have ‘sample ‘ category item. You have to add class to this item if your single post […]
The WordPress function wp_nav_menu() is a great way to give users the ability to control their menu items in WordPress 3.0+. You can easily add/delete/move menu items from WordPress admin panel.