Content Security Policy Header (Report-Only)
Sends a starter Content Security Policy in report-only mode, so you can see in the browser console what a strict policy would block before enforcing it.
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.
Sends a starter Content Security Policy in report-only mode, so you can see in the browser console what a strict policy would block before enforcing it.
Converts old "Classic" content into proper paragraph, heading, list and image blocks as soon as a post is opened in the block editor, then tells you so you can review before saving.
Gives h2 to h4 headings in posts and pages an ID and a small # link that appears on hover, so readers can share a link to an exact section.
Adds a "Bottom gradient" style to the Cover block that darkens only the lower part of the image, so captions and headings at the bottom stay readable while the photo stays bright.
Makes WordPress crop square thumbnails from the top of each image rather than the middle, so heads in portraits and headlines in screenshots are not cut off.
Sends Cross-Origin-Opener-Policy, Origin-Agent-Cluster and X-Permitted-Cross-Domain-Policies headers on public pages, which stop other sites you link to or that open yours from reaching into your pages.
Rewrites archive headings with your own wording, such as "Articles by Jane" on author pages or "Posts from March 2026" on monthly archives.
Changes the heading, number of posts and thumbnail visibility of Jetpack's Related Posts, and limits suggestions to posts from the last two years.
Shows each flexible content row's heading next to its layout name in the editor, so long pages built from sections are easy to scan.
Closes pings on all content, removes the X-Pingback header and the XML-RPC pingback methods. Regular comments are not affected.
Redirects every feed URL to the homepage and removes feed links from the page head. Useful for brochure sites and web apps that do not publish posts.
Adds a [wpide_edd_cart] shortcode that prints a "Cart (2)" link to the Easy Digital Downloads checkout, for headers, menus or widgets.
Adds a "Current Year" dynamic tag to Elementor Pro so copyright lines and headings update themselves every January.
Adds a dynamic tag that prints a value from the page address, such as ?city=Paris, so landing pages can echo campaign keywords in headings.
Adds a "Logged-in visitors" display condition under Entire Site in Elementor Pro's Theme Builder, so you can show a different header or footer to members.
Tells browsers to always use HTTPS for your domain for one year. Only enable it once the whole site, including subdomains you use, works over HTTPS.
Turns on REST API support for post types registered without it, which also switches them to the block editor and makes them available to apps and headless sites.
Registers a read-only endpoint at /wp-json/wpide/v1/latest that returns your latest posts in a compact format, as a starting point for your own API routes.
Adds an "acf_fields" property with the ACF fields you list to the REST API responses of chosen post types, for headless front ends and apps.
Adds a featured_image_url field to posts and pages in REST API responses, so headless front ends do not need a second request.
Lets REST API requests filter posts by custom fields you allow, e.g. /wp-json/wp/v2/posts?meta_key=location&meta_value=paris, for apps and headless front ends.
Makes headings scale smoothly between mobile and desktop sizes with CSS clamp(), generated from a simple size table, so titles never look too big on phones.
Turns the small dropdown mobile menu of Divi's default header into a full-screen menu with large, easy-to-tap links.
Opens a full-screen search box when visitors click any link to #search (for example a menu item) and closes with Escape, giving small headers a roomy, focused search.