WordPress.org

China 简体中文

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

Plugin Directory

Post Meta Controls

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

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

Post Meta Controls

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

描述

Demo – Documentation – GitHub

Register, Save, Modify and Get meta data in the Gutenberg editor.
Use this plugin to add meta data controls inside a sidebar in the editor of posts, pages or custom post types.
This is the list of controls available:

  • Buttons
  • Checkbox, Checkbox Multiple
  • Color, Color with Alpha
  • Custom text
  • Date Range, Date Single
  • Image, Image Multiple
  • Radio
  • Range, Range with Float number
  • Select
  • Text, Textarea

The plugin comes with different options to customize the Sidebars, Tabs, Panels and Setting controls.

Usage

Once the plugin is installed, you will need to include the plugin filter inside your plugin or theme to create a sidebar with it’s settings.
The new sidebar/s can be accessed in any post type where it was registered.
Modify the setting values with the controls inside the sidebar.
Use the plugin helpers (see Helpers to get the meta values section) to get the meta data in the front end.

屏幕截图

  • Sidebar with different tabs, panels and controls

安装

Installation from the WordPress admin.

  1. Log in to the WordPress admin and navigate to Plugins > Add New.
  2. Type Post Meta Controls in the Search field.
  3. In the results list Post Meta Controls plugin should appear, click Install Now button.
  4. Once it finished installing, click the Activate button.
  5. Now you can register your sidebar and settings using the filter in your plugin or theme.
  6. To view your sidebar go to any post where Gutenberg is enabled and the sidebar was registered to.

评价

Essential Plugin

jmscott55 2020 年 2 月 1 日 1 回复
This plugin is incredibly helpful in quickly allowing for meta tags to be added to the Gutenberg sidebar. A tedious task otherwise… This makes the task quick, efficient. Excellent work.

Essential plugin for CPTs in a Gutenberg world

cjyabraham 2019 年 11 月 22 日 1 回复
Since I started using Gutenberg to build sites I’ve found this plugin essential in order to add meta info for CPTs. At one point I looked around for alternatives but ended up finding none that could do everything this plugin does. Thank you!
阅读所有2条评价

贡献者及开发者

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

贡献者
  • Alvaro

帮助将「Post Meta Controls」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.4.1

  • Updated dependencies

1.4.0

  • Updated dependencies
  • Minor bug fixes

1.3.4

  • Fixed bug with color default value not saving
  • Fixed initial data fetch
  • Minor style fixes for WP 5.6

1.3.3

  • Fixed bug with case sensitive file name mismatch

1.3.2

  • Fixed incompatibilities with WordPress 5.5
  • Updated packages

1.3.1

  • Fixed bug that didn’t load correctly small images in the editor.
  • Minor bug fixes.

1.3.0

  • Added minimum_days option in date_range.
  • Added maximum_days option in date_range.

1.2.0

  • Added unavailable_dates option in date_single and date_range.
  • Use a rest route to get the sidebars data instead of printing the data inline.
  • Fixed WP 5.3 meta key from saving an empty value if the key doesnt exist.
  • Fixed momentjs locales file not loading correctly.
  • Fixed date_range defaults not showing.
  • Fixed bug when saving empty value in image and image_multiple.
  • Code refactor. Migrated JavaScript to TypeScript.

1.1.0

  • Simplified some of the core functions.
  • Styling fixes.
  • Minor bug fixes.
  • Updated dependencies.

1.0.1

  • Checkbox Multiple fix: If there were old values saved that no longer belong to the options, we display them as selected. If they are deselected we remove them from the options.
  • Updated dependencies.

1.0.0

  • Initial release.

额外信息

  • 版本 1.4.1
  • 最后更新:4 年前
  • 活跃安装数量 10+
  • WordPress 版本 5.2 或更高版本
  • 已测试的最高版本为 5.3.18
  • PHP 版本 7.1 或更高版本
  • 语言
    English (US)
  • 标签
    controlsgutenbergmetapost metasettings
  • 高级视图

评级

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

添加我的评价

查看全部评论

贡献者

  • Alvaro

支持

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

查看支持论坛

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

China 简体中文

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