跳到内容

Modify Attachments Meta

v0.2

Vladimir Vassilev · 2014年1月5日 上架

Allows modification of meta data of attachments, such as date fields, menu order... (soon to add more, I guess).

正在使用
200+
评分
3.3 / 5
累计下载
8,469
最近更新
2016年8月15日
3 条评价需要 WordPress 3.8+已测试到 4.5.33

截图

How editing date and time looks on the attachment edit page.
How editing date and time looks on the attachment edit page.

When embedding a file/image/video/something to a page, or you try to edit them in the Library, you’ll be allowed to make changes on some meta data. Currently timestamp for uploading of the file and menu order are configurable, although they are still not well validated for wrong input.

TODO

  • Metabox like shown here: http://wpsnipp.com/index.php/functions-php/start-date-end-date-metabox-for-events-custom-post-types/;
  • Changing file name of the attachment (without the extension, of course);
  • Control over which user roles can edit these fields;
  • Validation error messages should be displayed;
  • Use anonymous functions, instead of worrying what’ll happen if a function is defined by someone else;
  • If a user types invalid input, they should be warned. Currently nothing happens – attachment is updated without updating with the wrong data.

As I’m lazy as hell, I’ll need your help to think of new features to implement!

Contributors are welcome on GitHub: https://github.com/vlood/modify-attachments-meta

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums