Automatically Link Featured Images to Posts
Wrap featured images in your theme in links to posts.
Remove Query Strings From Static Files
Use this snippet to remove query string from CSS & JS files and improve performance ratings.
Add default ALT to avatar/Gravatar Images
Add the user's name as a default alt tag to the Gravatar images loaded on...
Add Auto Sizes to Lazy Loaded images
Use the "auto" size added in browsers for lazy loaded images.
Limit Uploaded Image Size
Set a max width and height for your image uploads to save space.
Magnifier Glass For Images
Add a zoom effect to images on your website.
Save images as WEBP
/** * Convert Uploaded Images to WebP Format * * This snippet converts uploaded images (JPEG,…
Allow WebP Files Upload
The provided PHP code is intended to enable the upload of WebP image files in WordPress…
Allow SVG/JPEG/WEBP/ICO/AVIF Files Upload
Allows these filetypes to be uploaded to the media library
Explicit Fixed Width and Height
Explicit Fixed Width and Height for images
JavaScript for Craft Picker
// Menu Toggle function toggleMenu() { const mobileNav = document.querySelector('.mobile-nav'); mobileNav.classList.toggle('active'); } // Close Menu on…
KinTech template
KinTech Cybersecurity Solutions KT KINTECH Services Why Us Process Contact Get Audit Trusted Cybersecurity Partner DEFEND…
Allow ICO Files Upload
Enable ICO File Uploads on your WordPress website with this PHP code snippet.