>
Download This Plugin | |
Download Elegant Themes | |
Name | Add URL Slugs as Body Classes |
Version | 1.1 |
Author | Aaron T. Grogg |
Rating | 94 |
Last updated | 2013-01-11 05:47:00 |
Downloads |
1381
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Add URL Slugs as Body Classes plugin added 370 bytes of resources to the Home page and 139 bytes of resources to the sample Post page.
Add URL Slugs as Body Classes plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Add URL Slugs as Body Classes plugin ads no tables to your Wordpress blog database.This plug-in takes the URL, chops it into pieces, and adds each "piece" as an additional
class to the body
tag.
Meaning, if your page's URL is:
http://aarontgrogg.com/2012/02/24/wordpress-plugin-add-url-slugs-as-body-classes/
Your page's 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:
http://aarontgrogg.com/category/wordpress/
which would give you:
category wordpress
while:
http://aarontgrogg.com/movies/star-trek/wrath-of-khan/
would give you:
movies star-trek wrath-of-khan
Please let me know if you have any questions/suggestions/thoughts, Atg http://aarontgrogg.com/ aarontgrogg@gmail.com