Prefill WPForms With the Logged-In User's Details
Fills WPForms name and email fields with the logged-in visitor's details, so members and customers do not have to type them again.
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.
Fills WPForms name and email fields with the logged-in visitor's details, so members and customers do not have to type them again.
Adds a subtitle field to products and shows it under the product name on product pages and in shop listings, for taglines like "Organic cotton, made in Portugal".
Adds an optional "Pronouns" field to user profiles and a [wpide_pronouns] shortcode that shows them, for example next to an author's name.
Adds price, bedrooms, bathrooms, floor area and address fields to property listings and a [property_details] shortcode that shows them as a fact list.
Adds an optional "PO number" field to the classic checkout for business buyers and shows it on the order screen, in emails and on the customer's order page.
Adds an optional "Purchase order number" field to the Checkout block for business buyers, saved on the order with WooCommerce's additional fields API.
Places the postcode and city fields side by side on the checkout, which saves space and matches how many countries write addresses.
Shows only items whose date field (such as an event date) is today or later in any Query Loop block with the class "wpide-upcoming", sorted soonest first.
Adds a custom field, such as a subtitle or price, to the Quick Edit and Bulk Edit panels of the Posts screen, with a matching column, so values can be changed without opening each post.
Adds a box to the post editor that lists every custom field stored for the post, hidden ones included, with serialized arrays and JSON shown in a readable layout. Nothing can be changed from it.
Publishes selected fields from your ACF options pages at /wp-json/wpide/v1/site-options, so a headless front end or app can load site-wide settings.
Fills hidden Gravity Forms fields with the title and address of the page the form is on and the site the visitor came from, so you know the context of each entry.
A ready-to-edit example that registers an ACF field group (subtitle, summary and call-to-action link) for posts in PHP, so the fields are version-controlled and cannot be changed in the admin.
Saves utm_source, utm_medium, utm_campaign, utm_term, utm_content and gclid from the landing page in a first-party cookie, then fills matching hidden fields in your forms so leads keep their campaign source.
Hides the "(optional)" text WooCommerce adds after the labels of fields that are not required.
Removes the company and second address line fields from the classic checkout form to make it shorter.
Removes tabindex values greater than zero from links and fields in post content, which otherwise force a confusing keyboard order, while keeping tabindex 0 and -1.
Stops Gravity Forms adding tabindex numbers to fields, which can make keyboard users jump around the page in the wrong order, especially with several forms on one page.
Removes the "Order notes" textarea from the classic checkout page.
Changes the order of checkout address fields, for example country first and postcode before city, to match how addresses are written in your market.
Asks for a company email address instead of Gmail, Yahoo or other free webmail in Gravity Forms email fields, for B2B lead and demo request forms.
Asks for a company email address instead of Gmail, Yahoo or other free webmail in WPForms email fields, so B2B forms collect qualified leads.
Makes the last name field required on the Easy Digital Downloads checkout, for invoices and licences that need a full name.
Wraps the output of ACF oEmbed fields in a 16:9 container and adds lazy loading, so embedded videos scale to the screen instead of overflowing on phones.