Reveal Blocks on Scroll
Fades and slides content blocks into view as the visitor scrolls. Add the class "reveal" to any block in the editor (Advanced > Additional CSS class) to animate it.
Snippet Library
3,040 snippets written and tested by the WPIDE team.
Fades and slides content blocks into view as the visitor scrolls. Add the class "reveal" to any block in the editor (Advanced > Additional CSS class) to animate it.
Removes VAT for business customers in another EU country who enter a VAT number, and adds a "reverse charge" note to the order, as cross-border B2B sales require.
Flips the stacking order of a Columns block with the class "wpide-reverse-mobile" on phones, so an image placed on the right appears above its text instead of below.
Adds a "Bought this? Share your review" link with the current review count under the WooCommerce product summary, opening the Reviews tab.
Keeps a different number of revisions for each content type, for example many for posts and none for products.
Adds a Revisions column to the Posts and Pages lists showing how many saved revisions each item has, linking to the revision browser, to find heavily edited content.
Adds Tools > Rewrite Rules, listing every rewrite rule and showing which rule and query a URL path you enter would match, for debugging 404s and custom permalinks.
Adds a "Rewrite & republish" link to published posts that creates a private working copy; when the copy is published, its content replaces the original at the same URL and the copy is removed.
Corrects common right-to-left layout problems in post content, such as list indents, blockquote borders, table alignment and image floats, using logical CSS properties.
Shows the items inside any block with the class "wpide-rotator" (for example Quote blocks in a Group) one at a time, rotating every few seconds with dot buttons to pick one.
Sets the shape, padding and weight of all buttons (Button block, search and form buttons) in a block theme through theme.json, including a darker hover color.
Restyles the theme search form and the Search block as a single rounded pill with an inline button and a clear focus ring.
Sends each Contact Form 7 message to the right inbox based on the department or topic the visitor picked, instead of one shared address.
Sends Fluent Forms email notifications to a different inbox depending on the department or topic chosen in the form.
Sends WPForms email notifications to a different address depending on the department or topic the visitor picked, instead of one shared inbox.
Lets editors use shortcodes in ACF text and text area fields, which ACF otherwise prints as plain text.
Processes shortcodes in category, tag and taxonomy descriptions shown on archive pages.
Processes shortcodes typed into the Excerpt field instead of printing them as plain text.
Processes shortcodes typed into classic widget titles, for example to show the current year or a dynamic label.
Stops WordPress from checking for scheduled tasks on every page view; you trigger wp-cron.php from your server's cron instead, which is faster and more reliable.
Schedules a custom task once a day and gives you a function to fill in, for example to clean up data or send a report. Includes the scheduling and the hook.
Adds a wpide_run_later() helper that schedules any hook to run once after a delay, without creating duplicates, so slow work like sending a report or calling an API can leave the page request.
Adds a small SEO box to the editor of posts and pages with a custom title, a meta description and a "hide from search engines" option, for sites without an SEO plugin.
Crops featured images on blog, category and search pages to the same 16:9 shape, so post grids line up evenly even when images have different sizes.