Custom Pattern Rules for Fluent Forms Fields
Validates chosen Fluent Forms fields against your own patterns, such as postcodes, order numbers or membership IDs, each with its own error message.
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.
Validates chosen Fluent Forms fields against your own patterns, such as postcodes, order numbers or membership IDs, each with its own error message.
Validates WPForms single-line text fields against your own patterns, such as postcodes, order numbers or VAT IDs, chosen per field with a CSS class.
Registers a block template from code, such as "Single Event", that block themes use automatically for a custom post type, so new post types look right without building the template by hand.
Adds a [wpide_sites_directory] shortcode that lists the public sites on the network with their names, taglines and links, cached for an hour.
Removes the Additional CSS panel from the Customizer and the custom CSS option in the Site Editor, so styles are only changed in code.
Turns off wptexturize, which converts straight quotes, double hyphens and ellipses into typographic characters. Useful for sites that publish code.
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.
Adds an [rss_feed] shortcode that shows the latest items from any RSS or Atom feed, such as your podcast, YouTube channel or a partner blog, on a page.
Adds a [download_button] shortcode that turns a Media Library file into a download button showing the file type and size, such as "Brochure (PDF, 2.4 MB)".
Adds a [wpide_drip days="7"] shortcode that unlocks the content inside it a set number of days after each member registered, and tells them when it unlocks.
Add ?wpide_queries=1 to any page while logged in as an administrator to see, at the bottom of the page, the queries that ran more than once and the ten slowest queries, with the code that called them.
Registers a [copyright_years] shortcode that outputs a range like "© 2016–2026 Site Name", starting from your first post or a year you choose.
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 [wpide_elementor_template id="123"] shortcode that shows any saved Elementor template inside posts, widgets or other builders, without Elementor Pro.
Adds a [wpide_gated_download] shortcode that asks for an email address before a guide or PDF can be downloaded, then emails a private download link valid for 48 hours.
Adds a second step for administrators and editors: after the correct password, WordPress emails a 6-digit code that must be entered to finish logging in.
Adds an [acf_map name="location"] shortcode that shows a lazy-loaded embedded map and a directions link for the place saved in an ACF Google Map field.
Adds an "Event details" box (start, end, venue, address, price, attendance mode and ticket link) to events, saved securely, plus an [event_details] shortcode to display them.
Adds an [wpide_rsvp] shortcode for events: guests reply with their name, email and party size, replies are saved on the event post with a running total, and the form closes when it is full.
Marks chosen pages as not cacheable in LiteSpeed Cache from code, for example pages with a personalised widget, a query parameter or for visitors with a specific cookie.
Adds a small window.wpideLang object with the current locale, language code and text direction, so your scripts can format dates, numbers or messages correctly without guessing.
Adds a [faq_list] shortcode that shows FAQ posts as accessible collapsible questions and adds FAQPage structured data for them.
Styles collapsible FAQ items (from the FAQ list and ACF FAQ shortcodes, or any Details block) with dividers, a plus/minus marker and a visible keyboard focus ring.
Adds an [acf_faq] shortcode that shows a question-and-answer repeater as accessible collapsible items and outputs matching FAQPage structured data.