Title: Display Post Metadata
Author: Fahid Javid
Published: <strong>2016 年 8 月 2 日</strong>
Last modified: 2025 年 12 月 4 日

---

搜索插件

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

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

# Display Post Metadata

 作者：[Fahid Javid](https://profiles.wordpress.org/fahidjavid/)

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

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

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

## 描述

It is a useful plugin to display the metadata information and custom fields of posts
and pages or custom post type. You can either display date, author, comments, views
or sticky meta information and custom fields list or maybe if you like then you 
can display all of them.

### Features

You can list the following information:

 * Published Date (The day when the post is published on the website)
 * Author (The Person who created the post or page)
 * Views (Number of people which have seen the post)
 * Sticky (If the post is sticky or not)
 * Comments (Number of comments on the post)
 * Custom Fields (The default custom fields of posts and pages) for more details
   please consult [Custom Fields](https://codex.wordpress.org/Custom_Fields) codex
   page.

### Links

 * [GitHub Repository](https://github.com/fahidjavid/display-post-metadata)

Please don’t forget to rate my Plugin if you find it useful, thanks.

## 屏幕截图

[⌊Visual shortcode insert button and shortcode.⌉⌊Visual shortcode insert button 
and shortcode.⌉[

Visual shortcode insert button and shortcode.

[⌊Metadata information is displayed.⌉⌊Metadata information is displayed.⌉[

Metadata information is displayed.

[⌊Custom Fields list is displayed.⌉⌊Custom Fields list is displayed.⌉[

Custom Fields list is displayed.

## 安装

Instructions for installing the Display Post Metadata Plugin.

 1. In your WordPress admin go to Plugins -> Add New.
 2. Enter Display Post Metadata in the text box and click Search Plugins.
 3. In the list of Plugins click Install Now next to the Display Post Metadata.
 4. Once installed click to activate.
 5. Now go to any page, post or custom post type and edit it.
 6. While editing, you can put the shortcode to display the metadata information. The
    shortcode is [metadata element=”date,author,comments,sticky,views,custom_fields”]

## 常见问题

### Does this plugin works with all major PHP versions?

Yes, it works with all major PHP versions and I have tested it with PHP version 
5.2, 5.3, 5.4, 5.5, 5.6 and 7.0.

## 评价

![](https://secure.gravatar.com/avatar/f239a548af48f577d1b3aea8e2873bd131e5824c2a485bc21b4ec76596faab3e?
s=60&d=retro&r=g)

### 󠀁[Simple and excellent](https://wordpress.org/support/topic/simple-and-excellent-44/)󠁿

 [qilight](https://profiles.wordpress.org/qilight/) 2024 年 6 月 26 日 1 回复

This plugin is so useful. My theme won’t allow me to place the meta underneath my
title within the text block (their suggestion/solution was to manually type it in–
ha, what a joke). Then, I found this plugin and it does exactly what I needed. From
all those plugins out there, this is the ONLY ONE that offers a simple solution 
to a common problem (within theme restrictions). Customer support is excellent as
well. Any question, just ask and they will respond promptly and help find solutions.
6 stars if I could!

![](https://secure.gravatar.com/avatar/99b2401b9b6a94a5343b91276d29fcb2905ce18e5d652c4be0ee31216048c304?
s=60&d=retro&r=g)

### 󠀁[Excellent!](https://wordpress.org/support/topic/excellent-11371/)󠁿

 [awoob4wporg](https://profiles.wordpress.org/awoob4wporg/) 2021 年 11 月 30 日 
1 回复

Good job!

![](https://secure.gravatar.com/avatar/29b05c44f19168a9c05dcc284ed0e5b89ad9f03970f5843557037ca0b2298db0?
s=60&d=retro&r=g)

### 󠀁[Good Work](https://wordpress.org/support/topic/good-work-310/)󠁿

 [M Hassan Raza](https://profiles.wordpress.org/hassanraza/) 2016 年 9 月 3 日

It is very helpful and nicely designed plugin. Hoping for good polishing updated
of this one too 😉

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/display-post-metadata/reviews/)

## 贡献者及开发者

「Display Post Metadata」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Fahid Javid ](https://profiles.wordpress.org/fahidjavid/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.5.5

 * WordPress 6.9 compatibility confirmed
 * Updated minimum WP requirement to 6.0
 * Updated minimum PHP requirement to 8.3 (recommended by WordPress.org)
 * Updated translation files for multilingual support
 * General code improvements

#### 1.5.4

 * Updated language file
 * Tested with WordPress 6.7.1

#### 1.5.3

 * Updated language file
 * Tested with WordPress 6.2

#### 1.5.2

 * Tested with WordPress 6.0.3

#### 1.5.1

 * Tested with WordPress 5.9.1

#### 1.5.0

 * Improved security of the plugin.
 * Tested with WordPress 5.8.2

#### 1.4.0

 * Tested with WordPress 5.7.1

#### 1.3.0

 * Tested with WordPress 5.4.1

#### 1.2.0

 * Added custom fields support for the posts and pages.
 * Improved shodcode execution method.

#### 1.1.0

 * Add a TinyMCE editor button to insert ‘metadata’ shortcode through a popup which
   will collect all of the user input for the shortcode attributes.

#### 1.0.1

 * Added Comments Post Metadata support
 * Updated POT file.

#### 1.0.0

 * Initial Release

## 额外信息

 *  版本 **1.5.5**
 *  最后更新：**6 月前**
 *  活跃安装数量 **500+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 8.3 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/display-post-metadata/)
 * 标签
 * [custom post type](https://cn.wordpress.org/plugins/tags/custom-post-type/)[meta](https://cn.wordpress.org/plugins/tags/meta/)
   [metadata](https://cn.wordpress.org/plugins/tags/metadata/)[page](https://cn.wordpress.org/plugins/tags/page/)
   [post](https://cn.wordpress.org/plugins/tags/post/)
 *  [高级视图](https://cn.wordpress.org/plugins/display-post-metadata/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/display-post-metadata/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/display-post-metadata/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/display-post-metadata/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/display-post-metadata/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/display-post-metadata/reviews/?filter=1)

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

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

## 贡献者

 *   [ Fahid Javid ](https://profiles.wordpress.org/fahidjavid/)

## 支持

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

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