Skip to content

Instantly share code, notes, and snippets.

Avatar

Craig Brown UTF-8

View GitHub Profile
@jasperf
jasperf / cf7.css
Last active Aug 23, 2021 — forked from codehandling/cf7.css
Contact Form 7 Styles for basic CSS styling of the form. Form is responsive and has nice rounded corners. For labels and placeholders you need to edit the form in CF7 https://imwz.io/contact-form-7-css-boilerplate/
View cf7.css
/*
** Contact Form 7 basics
**
**/
/* Form width and border */
.wpcf7 {
text-align: left;
width: 90%;
@MindyPostoff
MindyPostoff / gist:a10148daa110119b262f
Last active Nov 14, 2019
Change "Proceed to PayPal" Text on Checkout Button in WooCommerce
View gist:a10148daa110119b262f
/* Change the "Proceed to PayPal" button text in the WooCommerce checkout screen
* Add this to your theme's functions.php file
*/
add_filter( 'gettext', 'custom_paypal_button_text', 20, 3 );
function custom_paypal_button_text( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case 'Proceed to PayPal' :
$translated_text = __( 'NEW BUTTON TEXT', 'woocommerce' );
break;
}