This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This assumes a few things: | |
* - You have WS Form installed and have a form with a Google Maps field | |
* - You have the Google Maps API key configured | |
* - You know how to set up a conditional action in WS Form | |
* | |
* Create a new Conditional Action in WS Form. Set the following: | |
* IF [Google Map field] is not blank | |
* THEN Form > Run Javascript | |
* ELSE blank |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.elementor-star-rating i { | |
content: '' !important; | |
font-family: sans-serif; | |
font-size: 1em; | |
width: 0; | |
padding-left: 1.35em; | |
overflow: hidden; | |
} | |
.elementor-star-rating i:after { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // only copy this line if needed | |
/** | |
* Add billing first and last name to WooCommerce Memberships admin page | |
*/ | |
function sv_wc_memberships_add_billing_name_columns( $columns ) { | |
$columns['wcmember_first_name'] = __( 'First Name' ); | |
$columns['wcmember_last_name'] = __( 'Last Name' ); | |
return $columns; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // only copy this line if needed | |
/** | |
* Require Last Name Snippet. | |
* | |
* Adds asterisk and error validation to the last name field of all Give forms. | |
* Modified from https://github.com/impress-org/givewp-snippet-library/blob/master/form-customizations/require-last-name.php | |
* | |
* @param $required_fields | |
* @param $form_id |