前言介紹
- 這款 WordPress 外掛「Post Attachment Sizes」是 2017-04-09 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2017-04-10,距離現在已有 2946 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.2 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
tyb |
外掛標籤
images | file size | attachments | post images | post attachments |
內容簡介
這個外掛在 wp-admin 文章編輯畫面提供了一個額外可排序的欄位,讓你可以依附加在文章中所有附件的檔案大小來排序文章。如果你的文章有 10 張圖片附件,顯示的數字將會是這 10 張圖片所有檔案大小的總和。這對於有大量圖片庫的 WordPress 網站非常有用。
使用方法
安裝外掛後使用上方的指示啟用。可排序的 wp-admin 欄位將會自動加入。
你也可以使用提供的 shortcode 回傳檔案大小。使用方法如下:
[pas_display_post_size post_id=false single=false return="both"]
post_id = 文章 ID(如果 single = true 時,則使用附件 ID)[非必要項目]
single = 如果你只需要單一附件的大小,就設為 true (如果是真的,一定要設定 post_id 為附件 ID)
return = 預設為 both:回傳原始的檔案大小(單位為位元組)和格式化的值。
使用 byte 回傳位元組值。
使用 formatted 回傳格式化的檔案大小
原文外掛簡介
This plugin provides an additional sortable column in the wp-admin Posts screen that allows you to sort the posts by total size of all attachments. If your post has 10 images attached, the number shown will be the total file size of all 10 images added together. This is useful for WordPress websites with a lot of photo galleries.
Usage
Simply install the plugin and activate using the directions above. The sortable wp-admin column will be added automatically.
You can also use the shortcode provided to return the file sizes. Usage is as follows:
[pas_display_post_size post_id=false single=false return="both"]
post_id = The post ID (if single = true then use the attachment ID) [OPTIONAL]
single = Set to true if you only want the size of ONE attachment (MUST set the post_id to the attachment ID if this is true)
return = Default both: returns both the raw byte size of the file AND the formatted value.
Use byte to return JUST the byte value.
Use formatted to return JUST the formatted file size
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Post Attachment Sizes」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Post Thumbs 》Post thumbs 是一個外掛,它能夠通過在文章中搜索圖像,將每篇文章的縮略圖列出來。。
Attach Post Images 》這款外掛不同於傳統的方式,在文章內容中插入圖片(附件),這款外掛讓您以一種方式附加圖片到文章中,, 可以讓您控制這些圖片在您的佈景主題中的顯示方式。,...。
real.PostImages 》以下是中文翻譯:, 此外掛可讓您為文章附加額外的圖片(在獨立區域中,作為自訂欄位)。, 若要使用函數get_post_images($post_id)取得包含有關文章圖片資訊的...。
Extra Post Images 》此外掛可讓您在 WordPress 安裝上將多張圖片附加到任何文章格式。, 特點, , 透過使用簡碼 [extra-images],可以在文章或頁面中顯示您的圖片,圖片可以以列表...。
B7 Multiple Featured Images for Post 》### 總結:, B7 Multiple Featured Images for Post 外掛讓 WordPress 使用者可以超越單一特色圖像的限制,在文章中新增最多三張額外的特色圖像,提供更豐富的...。