该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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