该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

CPT Descriptions

描述

This plugin adds a place to enter a description for your custom post types which you can display anywhere in your theme.

安装

  1. Upload the ”cpt-descriptionsfolder to the/wp-content/plugins/` directory
  2. Activate the CPT Descriptions plugin through the ‘Plugins’ menu in WordPress
  3. Use the_cpt_description() or get_cpt_description() to display/use the custom post type description in your theme

常见问题

How do I display a/the custom post type description?

You can use the function the_cpt_description() to echo the current custom post type description or you can use get_cpt_description() to return the description for use in code.

If you are not on an archive/single custom post type template you can pass the post type variable to either function (eg. the_cpt_description(‘books’)) to get the description for that post type.

评价

此插件暂无评价。

贡献者及开发者

“CPT Descriptions” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“CPT Descriptions”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.1

  • Initial beta release.