[WordPress] 外掛分享: Auto Rename Media On Upload

首頁外掛目錄 › Auto Rename Media On Upload
WordPress 外掛 Auto Rename Media On Upload 的封面圖片
100+
安裝啟用
★★★★★
5/5 分(1 則評價)
628 天前
最後更新
問題解決
WordPress 5.2+ v1.1.0 上架:2019-10-28

內容簡介

這個外掛可以自動更改你上傳至媒體庫的所有媒體檔案名稱,在檔案名稱開頭加上基於檔案類型的前置詞。

例如,你可以讓它加上「pic-」的前置詞到所有的 .jpg 檔案名稱的開頭,這樣上傳名稱為 car.jpg 的圖片將被重新命名為 pic-car.jpg。

而且,因為它更改了檔案名稱,也會改變 WordPress 根據新檔名使用的“slug”。

你可以為每個以下的檔案類型設置獨立/唯一的前置詞:
jpg、jpeg、png、bmp、gif、tif、mp4、avi、m4v、mov、flv、mkv、3gp、pdf、doc、docx、xls、xlsx、ppt、pptx、mp3、ogg、wav、zip、csv、txt、rtf、odt

你需要到設定頁面設置你想要使用的每個檔案類型的前置詞。

預設行為是在你設置設定頁面上的前置詞前,不會更改任何上傳的檔案名稱。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Auto Rename Media On Upload」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin will automatically rename any media files you upload to the Media Library, by adding a prefix to the beginning of the filename based on the filetype.
For example, you can tell it to add the prefix “pic-” to the beginning of all .jpg files that you upload. So uploading an image called car.jpg would get renamed to pic-car.jpg
And since it changes the name of the file, it will also change the “slug” that wordpress uses based on this new name.
You can set an individual/unique prefix for each of the following filetypes:
jpg jpeg png bmp gif tif mp4 avi m4v mov flv mkv 3gp pdf doc docx xls xlsx ppt pptx mp3 ogg wav zip csv txt rtf odt
You will need to go to the settings page and set the prefix you want to use for each of the filetypes.
The default behavior is that it will NOT rename any uploaded files until you have set the prefix on the settings page.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon