Fix iPhone Wiggle
html, body { max-width: 100% !important; overflow-x: hidden !important; }Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
html, body { max-width: 100% !important; overflow-x: hidden !important; }Continue reading
.wpsJumpLinks{ padding-top: 65px; /* Adjust the value depending on the desired offset */ margin-top: -65px; /* Make sure the value is the same as padding-top, but with a negative sign */ scroll-margin-top: 65px; /* Adjust the value depending on the…Continue reading
div.component-highlight-news div.post-meta { display: none; } article.post-type-news div.post-meta { display: none; }Continue reading
/** * @link https://library.wpcode.com/snippet/ro8w3kow/ */ add_action( ‘simpay_form_before_form_bottom’, function() { ?> This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.Continue reading
/** * @link https://library.wpcode.com/snippet/d2zk9r2x/ */ add_filter( ‘simpay_payment_page_css_compatibility_mode’, ‘__return_false’ ); add_filter( ‘simpay_payment_page_js_compatibility_mode’, ‘__return_false’ );Continue reading
/** * @link https://library.wpcode.com/snippet/j57zm12g/ */ add_filter( ‘simpay_payment_button_class’, /** * @param array $classes List of class names. * @return array */ function( $classes ) { $classes[] = ‘my-button-class-1’; $classes[] = ‘my-button-class-2’; return $classes; } );Continue reading
add_action( ‘wp_enqueue_scripts’, function() { wp_dequeue_style( ‘wp-block-library’ ); wp_dequeue_style( ‘wp-block-library-theme’ ); }, 110 );Continue reading
/* Change the color of the submit button Original doc link: https://wpforms.com/developers/how-to-change-the-submit-button-color/ For support, please visit: https://www.facebook.com/groups/wpformsvip */ .wpforms-form button[type=submit] { background-color: #066AAB !important; border-color: #066AAB !important; color: #fff !important; transition: background 0.3s ease-in-out; } .wpforms-form button[type=submit]:hover { background-color: #066AAB…Continue reading
/** * Replace the `ver` query arg with the file’s last modified timestamp * * @param string $src URL to a file * @return string Modified URL to a file */ function filter_cache_busting_file_src( $src = ” ) { global $wp_scripts;…Continue reading
Lesson 1: Introduction to Critical ThinkingContinue reading