這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

DX Webp Picture Tag Image Wrapper

描述

DX Webp Picture Tag Image Wrapper filters the content and replaces the img tags with picture tags by adding two sources – one with the image followed by .webp extension
and one with the original image.

The plugin supports jpg, jpeg and png formats

Your site needs to support Webp images

DX Webp Picture Tag Image Wrapper resolves the issue with Accept header on Safari that doesn’t include the webp format. Using the picture tag
allows the browser to render Webp images, if they are supported, without relying on that header

螢幕截圖

  • Activate plugin

安裝

  1. Upload ‘dx-picture-tag’ to the ‘/wp-content/plugins/’ directory or find via the Plugins admin section
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s all. It would use out of the box, no settings needed. If you want to disable the functionality, disable the plugin from the Plugins section.

常見問題

Does it work for custom post types?

Yes, as long as you attach images via the Media button, they are going to be deleted once the post/post type entry is deleted.

Does it work for all of the deleted posts?

It works for all of your deleted posts, as long as you delete them from the system. Keep in mind that the soft delete sends your post to Trash first, and deleting the media would happen once your Trash is being emptied.

評價

There are no reviews for this plugin.

貢獻者及開發者

“DX Webp Picture Tag Image Wrapper” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

1.0.0

  • First release