Creating a Form With Floating Labels
form#wpforms-form-1682 { position: relative; } form#wpforms-form-1682 .floating label:nth-of-type(2) { display: none; } .floating input { position:…
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…
Duplicate Posts and Pages
// Add the duplicate link to action list for post_row_actions // for "post" and custom post…
Change / Translate Plugin Text
This is a local translation snippet that should work for any phrases in Charitable and Charitable…
Remove Unused JS
/** * We will Dequeue the jQuery UI script as example. * * Hooked to the…
Add Textbox To Donation Form
Adds a textbox to a donation form - for example, to collect a referral code.
Breadcrumbs - Hide WooCommerce Shop crumb
This filter can be used to hide the WooCommerce Shop page from the breadcrumbs.
How to Populate a Form Field from an Anchor Link
/** * Populate field from anchor link. * * @link https://wpforms.com/developers/how-to-populate-a-form-field-from-an-anchor-link/ */ function wpf_dev_autofill_field() { ?>
Creating Additional Format for the Date / Time field
This snippet is used to add extra formats for the Time interval on the Date /…
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(…
Open all external links in new tab
This makes the manual link tab association obsolete. All links to another domain will open in…
Multi Step Donation Form
This snippet provides a foundation for converting the donation form into a multi-step donation form.
My Insert widget in header
My own way of Inserting widget in header
Displaying the Total Number of Entries on Your Site
This snippet creates a shortcode that you can use to display the total number of entries…
To Remove a Single Field From {all_fields}
This code snippet removes a single field from your email notifications while still using the {all_fields}…