這個外掛並未在最新的 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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈DX Webp Picture Tag Image Wrapper〉的開發相關工作。

參與者

變更記錄

1.0.0

  • First release