"Empty Cart" Button on the EDD Checkout
Adds an "Empty cart" button below the Easy Digital Downloads checkout cart so buyers can start again in one click.
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.
Adds an "Empty cart" button below the Easy Digital Downloads checkout cart so buyers can start again in one click.
Shows "Free" instead of 0.00 for free downloads and changes their purchase button to "Download for free", so visitors see at a glance they pay nothing.
Adds a short reassurance line, such as "Instant download · Secure payment · Lifetime updates", under every Easy Digital Downloads purchase button.
Lists your most popular product categories as buttons below the cart, giving shoppers an easy way to add more before checking out.
Shows how many times a download has been bought under its purchase button, as social proof, once it passes a minimum number of sales.
Adds Yes and No buttons at the end of posts and pages so readers can rate them, and shows the helpful score in a column in the admin post list.
Adds an [acf_button name="cta"] shortcode that renders an ACF link field as a theme-styled button, respecting the "open in new tab" choice.
Changes the blue of primary buttons, links and focus rings across wp-admin to one accent color of your choice.
Adds an "A11y check" item to the admin bar on the front of the site. Clicking it outlines images without alt text, empty links and buttons, unlabeled fields and skipped headings on the current page and shows a count.
Adds a real button with aria-expanded next to every menu item that has a sub-menu in classic menus, so keyboard and screen reader users can open and close sub-menus.
Adds soft, medium and lifted shadow options to the editor's Shadow control for buttons, images, groups and columns, next to the theme's own shadows.
Adds a second button on product pages that adds the product to the cart and takes the shopper straight to checkout, while the normal add to cart button keeps working.
Styles the [az_index] letter bar as a row of buttons that stays visible while scrolling, and lays out each letter's entries in columns.
Gives menu links, pagination links, icon buttons and form controls a minimum 24 by 24 pixel tap area, the WCAG 2.2 target size minimum, without changing how they look.
Registers a block bindings source so paragraphs, headings, buttons and images can show the post author's name, bio, archive link or avatar, which is handy for author boxes in block themes.
Adds a centered call-to-action pattern with a heading, a sentence and a main button plus an outline button, for the end of landing and service pages.
Adds a "Pricing: three plans" pattern to the block inserter with a heading, three plan columns, feature lists and buttons that follow your theme's styles.
Disables the Publish and Update buttons in the block editor while any image block is missing alternative text, and shows a notice explaining why.
Restyles theme and block buttons with your brand color, hover and focus states, generated from a few SCSS variables.
Adds a smooth lift, shadow and color shift when visitors hover over or focus Button blocks, with motion turned off for people who prefer reduced motion.
Adds an "Arrow" style to the Button block that shows a small arrow after the text which nudges forward on hover, a classic "Learn more" look.
Turns the page numbers under the blog, archives and Query Loop blocks into evenly sized rounded buttons with a clear current-page state.
Styles buttons from one brand color and picks black or white text automatically based on how light the color is, with matching hover and focus states, so button text always stays readable.
Turns the shop into a catalog: products and prices stay visible, but add to cart buttons, the cart and checkout are disabled for everyone.