前言介紹
- 這款 WordPress 外掛「Remove Extra Media」是 2013-09-21 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2015-06-18,距離現在已有 3608 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.9.2 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
comprock | saurabhd | subharanjan |
外掛標籤
內容簡介
使用 Remove Extra Media 外掛可以將多餘的媒體附件從選定的文章類型中刪除。
在我的使用情況中,我的測試人員小工具在某些情況下,出現了多達 7 個與之相關的媒體附件。我想要一個快速的方法來清理這些多餘的附件。考慮到一個測試人員應該只有一個特色圖像或媒體附件,所以我只是刪除了所有其他的。
此工具通過刪除附件關係來運作,因為這樣可保存媒體文件,以防它被其他附件使用。使用 wp_delete_attachment 會刪除媒體文件,這是應該避免的。
主要功能
API
Ajax 基於處理的畫面
媒體不被刪除,僅是從文章類型的項目中解除關聯
設置匯出/匯入
設置畫面
可變的允許媒體數量
設置選項
一般
文章類型 - 從中刪除多餘媒體的文章類型。
媒體數量限制 - 限制所選文章類型的媒體項目數量。計數包括精選圖像。
測試
偵錯模式 - 為測試目的绕过 Ajax 控制器,直接處理 posts_to_import。
要匯入的文章 - 文章 ID 的 CSV 列表,例如 '1,2,3'。
跳過匯入文章 - 不要匯入文章 ID 的 CSV 列表,例如 '1,2,3'。
匯入限制 - 對於限制的文章進行測試很有用。0 或空白表示不限制。
相容性和重置
匯出設置 - 這是您當前設置的序列化格式。複製內容以備份您的設置。
匯入設置 - 在此處貼上新的序列化設置以覆蓋當前配置。
在刪除時刪除外掛數據? - 刪除所有 Remove Extra Media 的數據和選項。
重置為預設? - 勾選此框以將選項重置為其預設值
筆記
待確認。
API
閱讀 Remove Extra Media API。
本地化
如果尚未進行本地化,您可以將此外掛本地化為自己的語言。本地化文件 remove-extra-media.pot 可在此外掛的 languages 文件夾中找到。翻譯完成後,請發送本地化文件以便包含在外掛中。
我該如何本地化?
由 Ognjen Djuraskovic 翻譯的塞爾維亞語
由 Ognjen Djuraskovic 翻譯的西班牙語
原文外掛簡介
Use Remove Extra Media to remove extra media attachments from your selected post types.
In my use case, my testimonials widgets post types in some cases, for whatever reason, had up to 7 extra media attachments related to them. I wanted a quick way to clear those excess out. Considering that the only image or media attachment a testimonial should have was the featured, I simply removed all the others.
This tool works by removing the attachment relationship as this saves the media file in case it’s used by other attachments. Using wp_delete_attachment would delete the media file, which is something to avoid.
Primary Features
API
Ajax based processing screen
Media isn’t deleted, only unattached from post type entry
Settings export/import
Settings screen
Variable allowed media count
Settings Options
General
Post Type – Post type to remove excess media from.
Media Limit – Number of media items to limit selected post types to. Count includes featured image.
Testing
Debug Mode – Bypass Ajax controller to handle posts_to_import directly for testing purposes.
Posts to Import – A CSV list of post ids to import, like ‘1,2,3’.
Skip Importing Posts – A CSV list of post ids to not import, like ‘1,2,3’.
Import Limit – Useful for testing import on a limited amount of posts. 0 or blank means unlimited.
Compatibility & Reset
Export Settings – These are your current settings in a serialized format. Copy the contents to make a backup of your settings.
Import Settings – Paste new serialized settings here to overwrite your current configuration.
Remove Plugin Data on Deletion? – Delete all Remove Extra Media data and options from database on plugin deletion
Reset to Defaults? – Check this box to reset options to their defaults
Notes
TBD
API
Read the Remove Extra Media API.
Localization
You can translate this plugin into your own language if it’s not done so already. The localization file remove-extra-media.pot can be found in the languages folder of this plugin. After translation, please send the localized file for plugin inclusion.
How do I localize?
Serbian by Ognjen Djuraskovic
Spanish by Ognjen Djuraskovic
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Remove Extra Media」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.1.0 | 1.1.1 | trunk |
延伸相關外掛(你可能也想知道)
Hide/Remove Metadata 》Hide/Remove Metadata是一款免費、簡單而非常實用的WordPress外掛,能夠幫助您輕鬆地隱藏或刪除網站上的作者和發布日期。該外掛非常容易使用,僅提供隱藏或移...。
Hide SEO Bloat 》這個外掛可以隱藏 Yoast SEO 的側邊欄廣告和高級版本按鈕,不管是設置頁面還是前台與後台的儀表板都適用。, Hide SEO Bloat 外掛的第一個版本在2015年4月發布...。
Remove CPT base 》從網址中移除自訂文章類型基本標誌, , 可以選擇特定的自訂文章類型, 自動重新導向舊的基本標誌到無基礎標誌, 。
Meta Generator and Version Info Remover 》這個外掛會移除被加入enqueue樣式和腳本URL的版本資訊。它也會從head和RSS feed中移除Meta Generator標籤。增加了一些混淆以隱藏許多抓取工具在檢視原始碼時...。
Disable Media Pages 》這個 WordPress 外掛完全停用「附件」頁面。, 預設情況下,WordPress 會為每個附件建立一個頁面。這可能會有兩個不利因素:, 搜尋引擎優化, 附件頁面除了一張...。
Disable Everything 》隨著時間流逝,WordPress 及一些最受歡迎的外掛越來越膨脹,帶有許多不必要的功能,這款外掛就是為了解決它而誕生!, 它將禁用所有不必要的 WordPress 功能,...。
Remove Widget Titles 》這個 Remove Widget Titles 外掛可以移除任何以 "!" 字元開頭的小工具的標題。, 為什麼要使用它?, 這讓你可以在後端為小工具命名,以方便你快速看出哪個小工...。
Remove admin menus by role 》可以輕鬆選擇哪些管理員選單對哪些角色進行移除。, 本外掛還有一個更多選項的專業版本: https://www.info-d-74.com/zh-hant/produit/remove-admin-menus-by-...。
Unbloater 》Unbloater是一個簡單而極簡的介面,可從 WordPress 管理儀表板和網站代碼中清除不必要和不需要的項目。它主要使用過濾器和動作來實現快速和乾淨的結果。設置...。
WP Remove Query Strings From Static Resources 》這個 WordPress 外掛名為「Remove Query Strings from Static Resources」,它會刪除靜態資源(JavaScript、CSS 檔案)中的查詢字串,進而提升 WordPress 網...。
WooCommerce Remove All Products 》這個外掛適用於進口商品的開發人員,提供一個方便刪除產品的工具。, 貢獻和報告問題, 您可以通過 GitHub 為此外掛貢獻代碼和本地化: https://github.com/gre...。
Title Toggle for Storefront Theme 》, 這個外掛讓您可以輕鬆地從特定頁面或文章中移除頁面標題。最基本的使用情境是隱藏您在 “Home” 頁面中所設定的標題。, 此外掛只適用於 Storefro...。
Remove Author Pages 》這個外掛會針對所有作者頁面啟動 404 錯誤,並將 WordPress 產生的作者連結替換為連結到首頁的連結。, 這個外掛沒有任何設置,它被設計成為一個簡單易用的工...。
Change Price Title for WooCommerce 》這個外掛可讓您更改 WooCommerce 價格標題。例如:從 $100 開始。, 您可以完全更改價格標題或使用 PRICE 縮略語來設置價格說明。, 此外,您可以在個別 WooCom...。
Media Hygiene: Remove or Delete Unused Images and More! 》WordPress 外掛介紹:, , - Media Hygiene 外掛可從 WordPress 媒體庫中刪除未使用的檔案,釋放網站主機空間、減少磁碟空間使用、縮小網站備份檔案大小和提升...。