How to Automatically Submit a Form with a Field Choice
/** * Trigger submit from checkbox click * * @link https://wpforms.com/developers/how-to-automatically-submit-a-form-with-a-field-choice/ */ function wpf_dev_automatic_submit_form( ) {…
Add Textbox To Donation Form
Adds a textbox to a donation form - for example, to collect a referral code.
Using Date Picker Localization
This snippet is used to apply the changes that instruct WPForms to update the date picker…
How to Center a Form
This code centers the form using margin: 0 auto and sets a maximum width of 500px.
Add Checkbox Field To Donation Form
Collect a checkbox field in the donation form.
Hide the breadcrumbs on pages.
This snippet can be used to hide the breadcrumbs on pages.
Change OG Title of a Specific Post
This filter can be used to change the OG Title of a Specific Post with ID…
Breadcrumbs - Hide WooCommerce Shop crumb
This filter can be used to hide the WooCommerce Shop page from the breadcrumbs.
Localizing Date Picker Strings
This snippet is used to modify WPForms' default date picker locale
Remove article:published_time and article:modified_time meta tags from all posts
This filter can be used to remove article:published_time and article:modified_time meta tags from all posts
Change Business Info Location Icon
This filter can be used to change the business info location icon. Replace "/assets/images/email-icon.png" with the…
Using Smart Tags in Your WordPress Rewrite Rules
This code snippet converts messy query string URLs into clean, user-friendly URLs while preserving functionality
Real-time validation for restricting numbers from Single Line Text field
/** * Dynamically prevent numbers from being entered on single line text fields * * @link…
How to Add Firework Animation to Confirmation Message
/** * Add fireworks to the canvas element on the confirmation message * * @link https://wpforms.com/developers/how-to-add-confetti-animation-to-confirmation-message/…
Sticky Posts on Category Pages
Make sticky posts show up first on category pages too.