[WordPress] 外掛分享: Modify Attachments Meta

WordPress 外掛 Modify Attachments Meta 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Modify Attachments Meta」是 2014-01-04 上架。
  • 目前有 300 個安裝啟用數。
  • 上一次更新是 2016-08-15,距離現在已有 3185 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.8 以上版本才可以安裝。
  • 有 3 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

vloo |

外掛標籤

attachments | modify date | change meta data | edit uploaded files |

內容簡介

當嵌入文件/圖像/視頻等到頁面中,或您嘗試在庫中編輯它們時,您可以更改一些元數據。目前,文件的上傳時間戳記和菜單順序是可配置的,儘管它們對於錯誤輸入仍未進行良好的驗證。

待辦事項

像這裡顯示的那樣的元框:http://wpsnipp.com/index.php/functions-php/start-date-end-date-metabox-for-events-custom-post-types/;
更改附件的文件名(當然,不包括擴展名);
控制哪些用戶角色可以編輯這些字段;
應顯示驗證錯誤消息;
使用匿名函數而不是擔心如果某個函數由其他人定義會發生什麼;
如果用戶輸入無效輸入,他們應該受到警告。目前什麼都沒有發生-附件被更新,但沒有更新錯誤數據。

由於我非常懶惰,所以我需要您的幫助想出要實現的新功能!

貢獻者在 GitHub 上受到歡迎:https://github.com/vlood/modify-attachments-meta

原文外掛簡介

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

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Modify Attachments Meta」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.1 | 0.2 | trunk |

延伸相關外掛(你可能也想知道)

  • Time Ago Units 》Time Ago Units 是一個輕量級的外掛,可以修改文章的日期格式,將原本的發布日期轉換為距離現在的時間。現在日期顯示將顯示為「1 分鐘前」、「2 週前」等。。

文章
Filter
Mastodon