body code>标记至少应具有以下类别:
2012 02 24 wordpress-plugin-add-url-slugs-as-body-classess
2012 02 24 wordpress-plugin-add-url-slugs-as-body-classess p>
It gets much stronger when you start thinking about Categories or nested Pages:
当您开始考虑类别或嵌套页面时,它会变得更加强大:
http://www.example.com/category/wordpress/
http://www.example.com/category/wordpress/
which would add:
其中会添加:
category wordpress
类别wordpress
while:
时间:
http://www.example.com/movies/star-trek/wrath-of-khan/
http://www.example.com/movies/star-trek/wrath-of-khan/
would add:
会添加:
movies star-trek wrath-of-khan
电影星际迷航可汗之怒 p>
This allows you to very easily add custom CSS and/or JS to these pages based on these new CSS classes.
这使您可以基于这些新的CSS类非常轻松地向这些页面添加自定义CSS和/或JS。 p>
Please let me know if you have any questions/suggestions/thoughts,
如果您有任何疑问/建议/想法,请告诉我,
Atg
Atg
http://aarontgrogg.com/
http://aarontgrogg.com/
aarontgrogg@gmail.com
aarontgrogg@gmail.com p>