Disabling Past Times on the Date / Time Field
This snippet disables past times on the Time Picker field in WPForms.
Change Business Info Opening Hours Icon
This filter can be used to change the business info Opening Hours icon. Replace "/assets/images/email-icon.png" with…
Output og:image that uses the Large Size Image
This snippet can be used to output og:image that uses the large size image
Real-time validation for restricting numbers from Single Line Text field
/** * Dynamically prevent numbers from being entered on single line text fields * * @link…
Dynamically Change the SEO Title of a Specific Post Before the Metadata is Saved
The code snippet below can be used to dynamically change the SEO title of a specific…
Skip Unwanted 404 Logs
This snippet will successfully prevent AIOSEO from logging 404 errors for the specified URLs.
Fix Image Caption Rendering Issue Caused by WPResidence Theme
This snippet fixes the Image Caption Rendering Issue Caused by WPResidence Theme
How to Get the URL from the File Upload Form Field
/** * Get and use the File Upload field URL * * @link https://wpforms.com/developers/how-to-get-the-url-from-the-file-upload-form-field/ */ function…
Disable the Last Updated Date in Index/Root XML Sitemap
This filter can be used to disable the Last Updated date that All in One SEO…
Dynamically Change the SEO title of a Specific Post when the Metadata is Loaded
This filter can be used to dynamically change the SEO title of a specific post when…
Sending Multiple File Uploads to Google Drive through Zapier
This snippet modifies our Zapier integration and allows users to send multple files submitted through the…
Prevent Copy Paste
This JavaScript snippet prevents right-click and copy events on the frontend
Displaying Shortcodes Inside Form Label Fields
/** * Run shortcodes on the form label field. * * @link https://wpforms.com/developers/how-to-display-shortcodes-inside-the-label-of-the-form-field/ */ function add_shortcode_to_label(…
How to Use Conditional Logic With a Date Picker
/** * Use conditional logic with a date field to show or hide another form field…
How to Add an Empty Dropdown to Dropdown Items
This snippet maintains a clean "--Select--" option without the zero price display when using the Dropdown…