• Unlimited downloads from €14.50/month
  • 19+ million premium assets and templates
  • Cancellable at any time
  • Templates, Mockups, Media, Fonts, +5

Add Custom Post Type Slugs to Admin Body Class

by Aaron T. Grogg

1 Ratings

  • 5.0

Active Installations

10+

Last Update

9 years

Quality

D

Plugin Description

Description
When in Admin mode, this plug-in adds classes to the

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

Similar Plugins

  • Report Bug
The content on this website originates from various sources. All rights to the original content remain with the respective author. If you believe that your copyrights have been infringed by the use of content on this website, please contact us at info@plugin-guru.com. We will remove the content in question immediately.

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Collections

Create your first Collection

To create a collection, simply click on the symbol on the desired plugin.

You can see this symbol when you move the mouse over the plugin. 

Current Level

Plugin Magican

You have reached 0 views on your collections and are currently Plugin Magican. You magically help people find the right plugins and are a great asset to the community

0 of 500 views reached