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

Handy Custom Fields

描述

Handy Custom Fields is a compact plugin, which allows You to:
– work with additional data about post (while creating/editing blog posts);
– display such additional data by specifying name of the field You want to show;
– activate/deactivate each of the additional fields separately through WP admin panel (when deactivated, field will no longer be available for creating);

屏幕截图

  • Admin panel page with plugin settings
  • Post creation page with custom fields from HCF plugin

安装

Steps to become happy with HCF:
1. Copy “HCF” directory files to the “/wp-content/plugins/” directory.
2. Find the plugin in the “Plugins” menu in admin panel and activate it.
3. Set up plugin’s settings in admin panel (“HCF” page) by entering word “true” in inputs to active needed additional field/fields.

常见问题

How to add new custom field or edit existing?

In “HCF.php” file You will find “extra_fields_box_func” function.
Each “if” block references single plugin’s additional field. It checks if field is activated, and if so – generates markup in posts create/edit pages on admin panel.

How to add display custom field data on page?

Simply add code “ID, “title”, true); ?>” anywhere on your page, which will get custom field value and display it as text.
You have to specify name of custom field to show, in example it is “title”.

评价

此插件暂无评价。

贡献者及开发者

「Handy Custom Fields」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.1

  • Fixed function names.

1.0

  • Ended up with stable version.
  • Custom fields editing.
  • Inserting custom fields values in markup.