↧
Add Custom CSS Classes in WordPress Custom Menu’s Individual Items
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. I was...
View ArticleAdd custom CSS classes to wp_nav_menu’s HTML output using WordPress filters
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...
View Article