How do I use element instead of tags in WordPress post content having webP support?
I am developing my custom theme and trying to figure out how to modify the default code for WordPress image inserted into the post content, so I could add support for webP format and have it within <picture> element. I generate .webp images using cwebp library on my server and PHP exec() while image upload … Read more