This tutorial provides the code to automatically add space separated category slugs as classes to nav menu items that link to single posts in WordPress.
Could be useful for styling the menu items based on categories when using a plugin like Category Posts in Custom Menu.
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Session expired
Please log in again.
The login page will open in a new tab. After logging in you can close it and return to this page.