[WordPress] 外掛分享: SVG Featured Image

首頁外掛目錄 › SVG Featured Image
10+
安裝啟用
★★★☆☆
3/5 分(2 則評價)
2333 天前
最後更新
問題解決
WordPress 5.1+ PHP 7.2+ v0.2 上架:2019-10-02

內容簡介

此外掛可協助 WordPress 網站使用 SVG 圖像作為特色圖片,並能與 SVG 預覽圖像一同分享在 Facebook 或 Twitter 上。

此外掛會為了在 Facebook 和 Twitter 分享的目的而建立 <meta> 標籤,使得這些社交網路上分享的貼文可以設定 SVG 圖像為預覽圖片。

<meta name="twitter:image" content="http://example.com/wp-content/uploads/svg-png/sample.png">
<meta property="og:image" content="http://example.com/wp-content/uploads/svg-png/sample.png">

此外掛使用 PHP ImageMagick 創建社交分享的縮圖,請確保此擴展可用。

我們建議使用安全的 SVG 外掛程式,以使 SVG/XML MIME 類型在 WordPress 網站上可使用。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SVG Featured Image」→ 直接安裝(推薦)

原文外掛簡介

This plugin helps WordPress sites to use SVG images as the featured image which can be shared on Facebook or Twitter with the SVG preview image in the post.
This plugin creates a tags for Facebook and Twitter sharing purpose, which enables the SVG images to be set as a preview images for post shared on these social networks.

This plugin uses PHP ImageMagick to create thumbnails for your social shares, so please make sure this extension is available.
We recommend Safe SVG plugin to enable SVG/XML mime type on your WordPress site.

延伸相關外掛

文章
Filter
Mastodon