Add Custom Post Type Slugs to Admin `<body>` Class
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:
And, when you are editing a Post, something like this:
Alternatively, for custom posts, for example "movie", you would see either:
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
Requires: 3.1 or higher
Compatible up to: 4.2.11
Last Updated: 2 years ago
Active Installs: 40+
Got something to say? Need help?