Highlights the left border color and background color and reformats the post status as visual color tags in the wordpress admin post list view. Supports the standard WordPress status for: Published, Future, Draft, Pending, Private, Protected, Sticky (tag only) and custom statuses like Archived (via Archive Post Status plugin.
- Adds a left thick border color and highlights the line with a light background color, similar to the comments and plugins admin views.
- Modifies the post status tags added to a Page/Post name to have a tag appearance with matching background color and dashicon
- Both these changes make it super easy to spot the various types of post statuses in the admin view
- Supports all WordPress Post status values: Published, Future, Draft, Pending, Private, Protected, Sticky (tag only)
- Support for custom post statuses like Archived via Archive Post Status plugin
- Supports the 4.2 status of the Front Page and Posts Page (blog page) to easily spot those posts/pages
- Supports the 4.3 tags of Scheduled Posts to see upcoming posts/pages
- Define custom colors using the color picker in the Admin Settings screen
- Define custom dash icons using the dashicons picker in the Admin Settings screen
- Enable/disable view in Admin Settings screen
- Enable/disable icons in Admin Settings screen
- Change the background color lightness value from 0 (dark) to (1) light
- Reset settings to defaults in Admin Settings screen
If all your posts or pages are only published, nothing in the display will change. This plugin doesn’t add anything to regular Published posts, otherwise the screen will look way too colourful. To see the plugin in action, you will have to set at least one of your posts or pages to DRAFT, PENDING, PROTECTED, PRIVATE or any status other than published, to make it show something.
- Icons appear inside the tag, if enabled.
- Published status: color, no tag.
- Scheduled status: color, with tag (WP 4.3+)
- Protected status: overrides color, but still adds tag (multiple tags support)
- Sticky status: tag only (multiple tags support).
- Front Page, Blog Posts: tag only (WP 4.2+)
- Some inspiration for the tags was taken from the WordPress Landing Pages plugin.
- Thanks to Brad Vincent for his Dashicons Picker with some minor modifications and updates.
- Use the WordPress Admin Plugins installer: Search for the plugin name, and click INSTALL and click the ACTIVATE link
- -or- Download the ZIP: Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins admin page.
- Ensure you have some posts or pages that are not just published to see the default colors
Where are the settings?
You can click the Settings link on the plugin install screen, or find it under SETTINGS: Post State Tags.
Why are there no default settings to make it look like the screenshots?
On some installations, the plugin setup doesn’t work correctly (haven’t figured that out), so the settings appears blank. Just click on the [RESET SETTINGS] button at the bottom to reset the settings, make change after and then SAVE.
Can I change colors?
Yes. In the settings admin screen, you can change the color values using the color picker. The lighter background color is automatically calculated using RGB/HSL values.
Can I change icons?
Yes. In the settings admin screen, you can pick new dash icons using the picker, or enter the dash icon class, see DashIcons.
Are there default colors and icons / How can I reset to defaults?
You can simply go to the settings and click the reset to defaults button at the bottom to reset all the colors and dash-icons to their default values.
Can I temporarily disable the plugin?
Yes. In the settings admin screen, there is a checkbox to disable the output (preserve settings).
Can I hide the little dash icons?
Yes. In the settings admin screen, there is a checkbox to disable the tag icons (if you prefer).
How do I change the light background color value
There is a back-end setting to change the value of the lightness. The default is 0.97 which creates a 97% lightness of the primary status color setup for each status. The values can range from 0 = black/dark to 0.5 = full saturation of the color to 1.0 = full white/light.
Contributors & Developers
“Post State Tags” adalah perisian sumber terbuka. Orang-orang berikut telah menyumbang kepada pemalam ini.Penyumbang
“Post State Tags” telah diterjemahkan ke dalam 2 penempatan. Terima kasih kepada para penterjemah untuk terjemahan mereka.
Translate “Post State Tags” into your language.
Berminat dalam pembangunan?
Layari kod, periksa repositori SVN, atau langgani log pembangunan dengan RSS.
- Fixed: Fixed issue with function manage_post_columns()
- Fixed: Language strings on ” Icon” Label
- Compatibility for WP 5.4.x
- Fixed: ensure filter is only for back-end – https://wordpress.org/support/topic/fix-needed-for-use-w-wp-5-4/
- Fixed: conflict with other settings api classes, renamed
- Fixed: bug with other icon classes, fixed dashicons picker
- Compatibility for WP 5.1.x
- Fix check index values for icons and color with special custom statuses like WooCommerce
- Replaced create_function in Settings API library with anonymous function
- Fixed a bug in the migration check for install and version
- Refactor plugin as a PHP Class
- Settings API Library used to manage settings Tabs and update settings
- Added additional Lightness value in the advanced tab, to directly control the lightness of the background color.
- Compatibility for WP 4.9.8
- Compatibility for WP 4.7
- Replace admin url function in settings
- Fixed installation bug where icons weren’t setup correctly (finally)
- Flag as compatible with WordPress 4.6
- Flag as compatible with WordPress 4.5
- Small style fixes in the way WordPress 4.4 displays settings
- Added corrected support for new inline scheduled post status, since WP 4.3
- Added filter for background color light value, with example code in FAQ
- Added Settings interface for: enable, icon visbility, post status color picker and dashicons picker
- Modified post archive status dashicon to match icon from Archived Post Status plugin
- First release using standard WordPress colors