
內容簡介
這個外掛可以自動更改你上傳至媒體庫的所有媒體檔案名稱,在檔案名稱開頭加上基於檔案類型的前置詞。
例如,你可以讓它加上「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
你需要到設定頁面設置你想要使用的每個檔案類型的前置詞。
預設行為是在你設置設定頁面上的前置詞前,不會更改任何上傳的檔案名稱。
外掛標籤
開發者團隊
原文外掛簡介
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.
