Add URL Slugs to `body` Class
This plug-in takes the URL, chops it into pieces, and adds each "piece" as an additional
class to the
Meaning, if your page's URL is:
body tag would have at least these classes:
2012 02 24 wordpress-plugin-add-url-slugs-as-body-classess
It gets much stronger when you start thinking about Categories or nested Pages:
which would add:
movies star-trek wrath-of-khan
This allows you to very easily add custom CSS and/or JS to these pages based on these new CSS classes.
Requires: 3.1 or higher
Compatible up to: 4.2.10
Last Updated: 1 year ago
Active Installs: 1,000+
Got something to say? Need help?