跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
  • 支持
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Display Post Metadata

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Display Post Metadata

作者:Fahid Javid
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

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 codex page.

Links

  • GitHub Repository

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

屏幕截图

  • Visual shortcode insert button and shortcode.

  • Metadata information 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.

评价

Simple and excellent

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!

Excellent!

awoob4wporg 2021 年 11 月 30 日 1 回复
Good job!

Good Work

M Hassan Raza 2016 年 9 月 3 日
It is very helpful and nicely designed plugin. Hoping for good polishing updated of this one too 😉
阅读所有3条评价

贡献者及开发者

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

贡献者
  • Fahid Javid

帮助将「Display Post Metadata」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

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
  • 最后更新:3 月前
  • 活跃安装数量 500+
  • WordPress 版本 6.0 或更高版本
  • 已测试的最高版本为 6.9.1
  • PHP 版本 8.3 或更高版本
  • 语言
    English (US)
  • 标签
    custom post typemetametadatapagepost
  • 高级视图

评级

5 星(最高 5 星)。
  • 3 条 5 星评价 5 星 3
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

添加我的评价

查看全部评论

贡献者

  • Fahid Javid

支持

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

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗