SVG Featured Image
v0.2ΩiRUS · 2019年10月3日 上架
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 …
- 正在使用
- 10+
- 评分
- 3.0 / 5
- 累计下载
- 1,925
- 最近更新
- 2019年10月29日
2 条评价需要 WordPress 5.1+已测试到 5.2.31PHP 7.2+
贡献者
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 <meta> 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.
<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">
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.