Title: Display post meta, term meta, comment meta, and user meta
Author: Manuel Canga
Published: <strong>2020 年 12 月 21 日</strong>
Last modified: 2024 年 11 月 16 日

---

搜索插件

![](https://ps.w.org/display-metadata/assets/banner-772x250.png?rev=2443918)

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

![](https://ps.w.org/display-metadata/assets/icon-256x256.jpg?rev=2443918)

# Display post meta, term meta, comment meta, and user meta

 作者：[Manuel Canga](https://profiles.wordpress.org/trasweb/)

[下载](https://downloads.wordpress.org/plugin/display-metadata.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/display-metadata/#description)
 * [评价](https://cn.wordpress.org/plugins/display-metadata/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/display-metadata/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/display-metadata/#developers)

 [支持](https://wordpress.org/support/plugin/display-metadata/)

## 描述

Displays metadata in a metabox on the creation/editing pages for posts (any CPT),
terms (any taxonomy), and users.
 The metadata is shown in a human-readable format,
organized and unserialized. This metabox will only be visible to administrator users
or users with the `display_metadata_metabox` capability.

As a developer, you often need to access and review the values of metadata (or properties)
attached to posts, terms,
 users, or comments. Whether it’s for debugging or optimizing
custom functionalities, having a clear view of this data is essential for ensuring
your code interacts correctly with the underlying WordPress objects.

As a sysadmin, managing and cleaning up unnecessary meta fields is crucial for keeping
the database lean and efficient.
 By understanding which meta fields are currently
in use across posts, terms, comments, and users, you can make informed decisions
about which metadata to remove, optimizing performance and preventing clutter in
your system.

As a plugin author, it’s important to verify that your plugin is creating and managing
meta fields properly.
 The Display Meta plugin allows you to inspect whether your
plugin is adding the correct metadata and helps ensure compatibility with other 
plugins that may also modify metadata.

As a theme author, knowing which meta fields are available is key to leveraging 
them effectively in your theme designs.
 Whether you want to display custom fields
in a template or use metadata for styling purposes, having direct access to this
information will enable you to create more dynamic and responsive themes.

In all of these cases (and many more), the Display Meta plugin simplifies the process
by displaying all relevant metadata
 in a human-readable format, right within the
WordPress admin interface. With this tool, you can easily view, organize, and manage
metadata without having to dig through the database or write custom queries.

### Thanks

 * Codection for [reviewing](https://codection.com/plugin-para-visualizar-metadatos-en-wordpress/)
   this plugin.

### Send me bugs or improvements

If you’re interested in contributing to Display Metadata, head to the [Display Metadata GitHub Repository](https://github.com/manuelcanga/DisplayMetadata/).

## 屏幕截图

[⌊You can see post( from any CPT ) properties, custom fields and protected meta 
from a post metabox.⌉⌊You can see post( from any CPT ) properties, custom fields
and protected meta from a post metabox.⌉[

You can see post( from any CPT ) properties, custom fields and protected meta from
a post metabox.

[⌊You can see term( from any taxonoy ) properties, custom fields and protected meta.⌉⌊
You can see term( from any taxonoy ) properties, custom fields and protected meta
.⌉[

You can see term( from any taxonoy ) properties, custom fields and protected meta.

[⌊Finally, You also can see user properties, custom fields and protected meta.⌉⌊
Finally, You also can see user properties, custom fields and protected meta.⌉[

Finally, You also can see user properties, custom fields and protected meta.

## 安装

 1. Log in to the `/wp-admin/` dashboard of your WordPress website.
 2. Go to the **Plugins** section.
 3. Select the **Add New** sub-menu item.
 4. In the search bar, type **Display Metadata** and click the **Search Plugins** button.
 5. Find the plugin and click the **Install Now** button.
 6. After installation, click the **Activate Plugin** button.
 7. Once activated, this plugin will add a new metabox to the editing form of posts(
    any CPT), terms (any taxonomy), comments, and users.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Display post meta, term meta, comment meta, and user meta」是开源软件。 以下人员
对此插件做出了贡献。

贡献者

 *   [ Manuel Canga ](https://profiles.wordpress.org/trasweb/)

「Display post meta, term meta, comment meta, and user meta」插件已被翻译至 4 种
本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/display-metadata/contributors)
为本插件所做的贡献。

[帮助将「Display post meta, term meta, comment meta, and user meta」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/display-metadata)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/display-metadata/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/display-metadata/)，或通过[RSS](https://plugins.trac.wordpress.org/log/display-metadata/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/display-metadata/)。

## 更新日志

More detailed changes in [Display Metadata GitHub Repository](https://github.com/manuelcanga/DisplayMetadata/).

= 1.0 / 2024-11-16

 * Fixed security issue.
 * Added support for recent PHP versions (starting from 8.1).
 * Added unit and functional tests to the deployment workflow.
 * Improved code readability.

= 0.4 / 2022-07-25

 * Fix warning with PHP 8.0
 * Test with WP 6.0.1 version.
 * Better meta names when keys are repeated.

= 0.3 / 2021-07-17

 * Better hover
 * Better design
 * Fix bug with metas with the same key.

= 0.2 / 2021-02-05

 * Support to comment metadata.
 * Support to copy meta keys / values to clipboard.
 * Make clickable links.
 * Allow showing empty array.

#### 0.1 / 2020-12-21

 * Initial release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**2 年前**
 *  活跃安装数量 **80+**
 *  WordPress 版本 ** 4.9.0 或更高版本 **
 *  已测试的最高版本为 **6.7.0**
 *  PHP 版本 ** 8.1 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/display-metadata/) 、 [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/display-metadata/)、
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/display-metadata/) 、 
   [Spanish (Spain)](https://es.wordpress.org/plugins/display-metadata/) 和 [Spanish (Venezuela)](https://ve.wordpress.org/plugins/display-metadata/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/display-metadata)
 * 标签
 * [custom post types](https://cn.wordpress.org/plugins/tags/custom-post-types/)
   [debug](https://cn.wordpress.org/plugins/tags/debug/)[metabox](https://cn.wordpress.org/plugins/tags/metabox/)
   [metadata](https://cn.wordpress.org/plugins/tags/metadata/)[taxonomy](https://cn.wordpress.org/plugins/tags/taxonomy/)
 *  [高级视图](https://cn.wordpress.org/plugins/display-metadata/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/display-metadata/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/display-metadata/reviews/)

## 贡献者

 *   [ Manuel Canga ](https://profiles.wordpress.org/trasweb/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/display-metadata/)