Cleaner wp_nav_menu
-
[ Moderator note: moved to How-to and Troubleshooting. ]
It would be reeeaaally reeaally good if we could have an option to simply skip echoing id and classes in each list when using wp_nav_menu.
So instead of having
<li id="menu-item-156" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-156">
we can have good old simple<li>
I find those classes completely unnecessary in every project I have and they only add meaningless bloat to pages.THANK YOU
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Cleaner wp_nav_menu’ is closed to new replies.