外掛說明
Debug Bar Post Types adds a new panel to the Debug Bar that displays detailed information about the registered post types for your site.
Important
This plugin requires the Debug Bar plugin to be installed and activated.
Also note that this plugin should be used solely for debugging and/or in a development environment and is not intended for use on a production site.
If you like this plugin, please rate and/or review it. If you have ideas on how to make the plugin even better or if you have found any bugs, please report these in the Support Forum or in the GitHub repository.
螢幕擷圖
安裝方式
- Install Debug Bar if not already installed (https://wordpress.org/plugins/debug-bar/)
- Extract the .zip file for this plugin and upload its contents to the
/wp-content/plugins/
directory. Alternatively, you can install directly from the Plugin directory within your WordPress Install. - Activate the plugin through the “Plugins” menu in WordPress.
常見問題集
- Installation Instructions
-
- Install Debug Bar if not already installed (https://wordpress.org/plugins/debug-bar/)
- Extract the .zip file for this plugin and upload its contents to the
/wp-content/plugins/
directory. Alternatively, you can install directly from the Plugin directory within your WordPress Install. - Activate the plugin through the “Plugins” menu in WordPress.
- Can it be used on live site ?
-
This plugin is only meant to be used for development purposes, but shouldn’t cause any issues if run on a production site.
- What are post types ?
-
WordPress can hold and display many different types of content. A single item of such a content is generally called a post, although post is also a specific post type. Internally, all the post types are stored in the same place, in the wp_posts database table, but are differentiated by a column called post_type.
WordPress 3.0 gives you the capability to add your own custom post types and to use them in different ways.
More information in the Codex - Why won’t the plugin activate ?
-
Have you read what it says in the beautifully red bar at the top of your plugins page ? As it says there, the Debug Bar plugin needs to be active for this plugin to work. If the Debug Bar plugin is not active, this plugin will automatically de-activate itself.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
2.0.0
Release date: 2018-01-22
- Improved compatibility with PHP 7.2.
- Updated the pretty print dependency to v1.8.0.
- Refactoring of part of the code base. No functional changes.
- General housekeeping.
- Added minimum PHP requirement header. (PHP 5.2.4, in line with WP itself.)
- Tested & found compatible WP 4.9.
1.4.0
Release date: 2017-07-10
- Improved usability of the admin notice in case the Debug Bar plugin is not active.
- The plugin will now add itself to the list of “recently active” plugins if it self-deactivates bcause the Debug Bar plugin is not active.
- Defer to just in time loading of translations for WP > 4.5.
- Updated the pretty print dependency to v1.7.0.
- Some code refactoring.
- Minor housekeeping.
- The minimum supported WP version is now 3.4, in line with the 0.9 version of the Debug Bar.
- Tested & found compatible WP 4.8.
1.3.0
Release date: 2016-04-12
- Hard-coded the text-domain for better compatibility with GlotPress.
- Make loading of text-domain compatible with use of the plugin in the
must-use
plugins directory. - Fix very minor layout inconsistency in combination with Twenty-Sixteen theme.
- Updated the pretty print class to v1.6.0.
- Minor housekeeping.
- Tested & found compatible with WP 4.5
1.2.2
Release date: 2015-12-26
- Fix weird table layout on front-end in combination with Twenty-Sixteen theme.
- Minor tidying up.
1.2.1
Release date: 2015-12-05
- Updated pretty print class & minor tidying up.
- Tested & found compatible with WP 4.4
1.2
Release date: 2015-04-18
- Added a count of the registered Custom Post Types to the top of the page.
- Split the display of Post Type properties. Standard post type properties are now shown first. Non-standard properties added by Custom Post Types are shown in a separate table.
- Added a table showing the defined labels for Post Types.
- Updated the pretty print class which now allows for limiting of the recursion depth when displaying the property values – props Joy for reporting issues with the Easy Post Types plugin. These should now be solved with this update.
- Tested & found compatible with WP 4.2
- Minor tidying up
- Updated language files
- Updated screenshots
1.1.1
Release date: 2014-09-05
- Fix compatibility with the Plugin Dependencies plugin
- Tested & found compatible with WP 4.0
1.1
Release date: 2013-12-02
- Minor tidying up
- Moved pretty print class to separate repository as several plugins are using it now.
1.0
Release date: 2013-11-29
- Initial release