>
Download This Plugin | |
Download Elegant Themes | |
Name | Add Custom Post Type Slugs to Admin Body Class |
Version | 1.1 |
Author | Aaron T. Grogg |
Rating | 0 |
Last updated | 2013-01-11 05:20:00 |
Downloads |
654
|
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 Custom Post Type Slugs to Admin Body Class plugin added 28 bytes of resources to the Home page and 20 bytes of resources to the sample Post page.
Add Custom Post Type Slugs to Admin Body Class plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Add Custom Post Type Slugs to Admin Body Class plugin ads no tables to your Wordpress blog database.When in Admin mode, this plug-in adds classes to the <body>
tag to let
your CSS know where you are.
For example, if you are viewing the list of all your Posts, you would get this additional class:
edit-list-post
And, when you are editing a Post, something like this:
edit-page-post
Alternatively, for custom posts, for example "movie", you would see either:
edit-list-movie
or:
edit-page-movie
This allows you to write custom CSS and JS to interact with these varying edit pages within WP.
Please let me know if you have any questions/suggestions/thoughts, Atg http://aarontgrogg.com/ aarontgrogg@gmail.com