[WordPress] 外掛分享: Pco Media Handler

首頁外掛目錄 › Pco Media Handler
WordPress 外掛 Pco Media Handler 的封面圖片
10+
安裝啟用
尚無評分
4259 天前
最後更新
問題解決
WordPress 3.8+ v1.2 上架:2014-06-23

內容簡介

這個外掛可以讓圖片、嵌入式影片(例如YouTube和Vimeo)以及其他媒體完全響應式。它還可以改進內容中圖片的HTML標記,包括有標題和沒有標題的圖片。

更精確地說,這個外掛做出了以下改變…

刪除內嵌圖片周圍的p標記
通過刪除寬度和高度,使頭像具有響應式
通過刪除寬度和高度,使文章內容中的圖片具有響應式
通過刪除寬度和高度,使精選圖片具有響應式
將帶有標題的內嵌圖片更改為使用標準的html5 figure/figcaption元素(僅當在您的佈景主題功能中未定義時)
使oembed具有響應式,以使其符合容器的寬度
將內嵌圖像的鏈接默認為無,而非媒體文件

在github上為我們所有喜愛的自定義外掛貢獻您的力量!

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin makes images, embedded videos (for example YouTube and Vimeo) and other media fully responsive. It also improves the html markup of images in the content, both with and without captions.
More precisely, this plugin makes the following changes…

Removes p tags that wrap around inline images
Makes avatars responsive by removing width and height
Makes images in the post content responsive by removing width and height
Makes featured images responsive by removing width and height
Changes inline images that have captions to use the standard html5 figure/figcaption elements (only if not already defined in your theme features)
Makes oembeds responsive, so that they fit the width of the container
Links inline image to none by default, not to the media file

Contribute to this project on github or see all of our favorite and custom-made plugins

延伸相關外掛

文章
Filter
Apply Filters
Mastodon