Disable Right-Click and Dragging on Images
Stops visitors from right-clicking or dragging images to save them, a simple deterrent for photographers and artists.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Stops visitors from right-clicking or dragging images to save them, a simple deterrent for photographers and artists.
Removes the "Expand on click" lightbox setting from Image blocks and turns the lightbox off.
Disables right-click and dragging on images, and optionally text selection in post content, to discourage casual copying of your work.
Adds a [field_value name="..."] shortcode that prints an ACF field of the current post and handles images, links, choices, dates and post objects sensibly.
Tells WordPress to skip lazy loading for the first three images on a page, which usually improves Largest Contentful Paint.
Sets the default "Link to" option for images inserted in the classic editor and galleries to None instead of the media file.
Turns on featured image (post thumbnail) support for themes that do not declare it.
Registers an "Events" post type with featured images, an /events/ archive and an Event Category taxonomy, as the base for a simple events calendar.
Adds the "no-lazyload" class (and matching skip attributes) to the site logo and the featured image of single posts, so Smush and other lazy-load plugins load them immediately and improve Largest Contentful Paint.
Adds four ready-made style options to the block editor: a card style for Group blocks, a pill style for buttons, a soft shadow for images and a checkmark style for lists.
Makes content images fade in smoothly when they finish loading instead of popping in, for a more polished feel.
Answers requests for missing images, CSS, JavaScript and font files with a tiny 404 instead of loading a full theme page, saving server time.
Shows a small thumbnail of the featured image next to the title in post lists, for every post type that supports featured images.
Adds a gentle zoom to featured images on the blog page, archives and Query Loop blocks when visitors hover over a post, making lists feel more interactive.
Adds each post's featured image to the RSS feed as a media:content element, the format email newsletter tools and feed readers use to show a thumbnail.
Adds File Size and Dimensions columns to the Media Library list view, making heavy images easy to spot.
When an image is uploaded without alt text, creates one from its title (based on the file name), replacing dashes and underscores with spaces.
Adds a "wp find-http-links" command that lists posts containing http:// images, scripts or links, marking which point to your own domain, to clean up mixed content after moving to HTTPS.
Adds a "wp heaviest-posts" command listing the posts and pages with the largest stored content, revisions excluded, to track down pasted base64 images or page builder bloat slowing the editor.
Turns relative links and image paths such as "/about/" in feed content into full URLs, so they work in feed readers and RSS emails.
Adds rounded corners and a gentle zoom on hover to images in Gallery blocks and classic galleries, with motion turned off for visitors who prefer reduced motion.
Registers an image size, such as a wide portfolio banner, but only creates it for images uploaded to that post type, so every other upload is not stored in yet another size.
Adds an image picker to categories and shows the chosen image as a banner at the top of each category archive.
Adds three photo styles to the Image block: a white polaroid card, a thin inset frame, and a playful slight tilt that straightens on hover.