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
- Upload ‘dx-picture-tag’ to the ‘/wp-content/plugins/’ directory or find via the Plugins admin section
- Activate the plugin through the ‘Plugins’ menu in WordPress
- 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.
- First release