Category: Code Snippets

wp turned up online business directory wordpress website elementor expert
Code Snippets

Add a Custom WooCommere Endpoint

In this snippet example, we are adding a custom WooCommerce Endpoint named ‘Support’. Customization Notes Anywhere you see the word ‘Support’, change it to the

wp turned up online business directory wordpress website elementor expert
Code Snippets

Single Line Elementor Forms

This overall snippet also includes a bonus snippet for fixing field border-radius issues that comes with Elementor Pro forms. /**** ELEMENTOR FORMS ****/ /** FORM

wp turned up online business directory wordpress website elementor expert
Code Snippets

Remove Fields from WooCommerce Checkout

Customization Notes Clear out any lines that start with ‘unset’ for the corresponding items you would like to still show on your Checkout page. //Remove

wp turned up online business directory wordpress website elementor expert
Code Snippets

Change Sender Name in Outgoing WordPress Email

Customization Notes Adjust the ‘return ‘firstname.lastname@example.com’;’ entry as desired. Adjust the ‘return ‘FirstName LastName’;’ entry as desired. // CHANGE THE EMAIL ADDRESS function wptu_sender_email( $original_email_address

wp turned up online business directory wordpress website elementor expert
Code Snippets

WooCommerce Checkout Field Labels Inside Input Boxes

// WOOCOMMERCE CHEKCOUT FIELD LABELS INSIDE INPUT BOXES add_filter( ‘woocommerce_checkout_fields’, ‘wptu_labels_inside_checkout_fields’, 9999 ); function wptu_labels_inside_checkout_fields( $fields ) { foreach ( $fields as $section => $section_fields

wp turned up online business directory wordpress website elementor expert
Code Snippets

Apply Styling to Stripe Checkout Fields

// APPLY STYLING TO STRIPE CHECKOUT FIELDS function my_theme_modify_stripe_fields_styles( $styles ) { return array( ‘base’ => array( ‘iconColor’ => ‘#666EE8’, ‘color’ => ‘#31325F’, ‘fontSize’ =>