Generate Custom Post Types and Custom Taxonomies from the WordPress administration which is easy to understand.
It's a must have for any user working with WordPress.
This Plugin published on GitHub.
安装:
Upload 'custom-post-type-generator' folder to the /wp-content/plugins/ directory.
Activate the plugin through the 'Plugins' menu in WordPress.
Navigate to the 'Custom Post Type Generator' menu in WordPress.
屏幕截图:
升级注意事项:
2.0.0
There was the Fatal Error in ver1.0.x.
This problem is solved in ver.2.0.0.
However, WordPress Option Data Structure has been modified fundamentally.
Please be sure to do backup of 'Custom Post Type Name' and 'Taxonomy Name'.
But Contents will not delete which belong to.
Thanks.
更新日志:
2.4.2
Support new parameters. eq.)'show_in_rest'
Minor Bug fixed.
2.4.1
Remove deprecated function 'secreen_icon()'.
2.4.0
Bug fixed.
Alternate table row CSS.
2.3.9
Bug fixed.
Export function improved.
Open Close buttons improved.
Security improved.
2.3.8
Support WordPress v4.5.x.
Replace the 'add_utility_page()' to 'add_menu_page()'.
2.3.7
Support for the 'meta_box_cb' parameter of Custom Taxonomy.
2.3.6
Delete flush_rewrite_rules() from init hook.
2.3.5
Bug fixed
Exported PHP Code
2.3.4
Bug fixed
2.3.3
Bug fixed
priority 'init' hook of cptg_generate().
2.3.2
Validation of input values improved.
2.3.1
Activation improved.
Support non public objects( show_ui=true, show_in_menu=true ).
Admin UI improved.
2.3.0
Support for the most parameters.
Admin UI improved.
Objects List improved.
Exported PHP Code improved.
Bug fixed
2.2.4
Bug fixed
flush_rewrite_rules() of PHP code.
2.2.3
Support for the 'rewrite' parameter.
Support for the 'sort' parameter of Custom Taxonomy.
Admin UI improved.
Input error check improved.
Bug fixed
flush_rewrite_rules()
2.2.2
Bug fixed
2.2.1
Bug fixed
2.2.0
Export to PHP
Add 'Other Objects' List.
Bug fixed
2.1.3
Bug fixed
Order Custom Post Types.
2.1.2
Bug fixed
2.1.1
Order Custom Post Types using a Drag and Drop Sortable JavaScript.
2.0.1
Bug fixed
The Configuration of 'Publicly Queryable'.
2.0.0
WordPress Options Structure was Renovated.
Fatal Error(500 Error) solved.
1.0.2
*Bug fixed
menu_icon (Default: null - defaults to the posts icon)