Add Line Break in WordPress
Adds a Line Break in WordPress Text Editor //This ads a line break ( White Space) in wordpress <br />
HTML input box code
code for HTML input box //Code for HTML Input Box <label for=”message”>Message: Max characters 100</label> <input type=”text” field_id=”message” name=”message” maxlength=”100″>
Changes the uploaded image back to original file name elementor forms
Elementor Forms – Changes the uploaded image back to original file name, change File_ID = form Id / Changes the uploaded image back to original file name, change File_ID = form Id /*** @param string $filename Unique file name.* @param string $ext File extension, eg. “.png”.* @param string $dir Directory path.* @param callable|null $unique_filename_callback Callback […]
CHANGE READ MORE TEXT ON Woocommerce Button
CHANGE READ MORE TEXT ON Woocommerce Button //CHANGE READ MORE TEXT ON Woocommerce Button// By: Your Name from wayneswebworld.com.au add_filter( ‘gettext’, ‘ds_change_readmore_text’, 20, 3 ); function ds_change_readmore_text( $translated_text, $text, $domain ) {if ( ! is_admin() && $domain === ‘woocommerce’ && $translated_text === ‘Read more’) {$translated_text = ‘Your custom text’;}return $translated_text;}
Change Default WordPress@ email
Change Default WordPress@ email // Change default WordPress email addressadd_filter(‘wp_mail_from’, ‘new_mail_from’);add_filter(‘wp_mail_from_name’, ‘new_mail_from_name’); function new_mail_from($old) {return ‘yourname@yourdomain.com’;}function new_mail_from_name($old) {return ‘Your Name’;}
BYPASS WOOCOMMERCE LOGOUT CONFIRMATION
BYPASS WOOCOMMERCE LOGOUT CONFIRMATION // BYPASS WOOCOMMERCE LOGOUT CONFIRMATIONfunction wc_bypass_logout_confirmation() {global $wp; if ( isset( $wp->query_vars[‘customer-logout’] ) ) {wp_redirect( str_replace( ‘&’, ‘&’, wp_logout_url( wc_get_page_permalink( ‘myaccount’ ) ) ) );exit;}} add_action( ‘template_redirect’, ‘wc_bypass_logout_confirmation’ );
Backup and Migrate from Cpanel
Backup and Migrate from Cpanel 1. From cPanel, navigate to Files -> Backup Wizard. 2. In the backup wizard menu, select Backup -> Full Backup. This backup option covers your home directory, WordPress database, email forwarder configuration, and email filter configuration. 3. Set your preferred backup destination. In this tutorial, we’ll go with Home Directory. Don’t forget to add your […]
Artisteer change header size by more than 500% CSS
Artisteer change header size by more than 500% CSS .art-header{margin:0 auto;position:relative;height: 500px;background-image: url(‘images/header.jpg’);background-position: center top;background-repeat: no-repeat;}
Allow Registration Only from .com.au or .au email addresses WOOCOMMERCE
Allow Registration Only from .com.au or .au email addresses WOOCOMMERCE The Below Code WORKS for Woocommerce Registration // Allow Registration Only from .com.au or .au email addresses add_action(‘woocommerce_register_post’,’is_valid_registration_email_domain’, 10, 3 );function is_valid_registration_email_domain( $username, $email, $validation_errors ){$valid_email_domains = array( ‘.com.au’, ‘.au’ ); // Allowed domains$valid = false; // sets default validation to falseforeach( $valid_email_domains as $d […]
Align Nextgen Gallery to Centre
Align Nextgen Gallery to Centre .ngg-galleryoverview {text-align:center;}.ngg-gallery-thumbnail-box {float:none !important;display:inline-block;}
Add Reset Button to Gravity Forms in functions php
Add Reset Button to Gravity Forms in functions php // Adding a reset button to Gravity formadd_filter( ‘gform_submit_button_2’, ‘form_submit_button’, 10, 2 );function form_submit_button( $button, $form ) {$button .= ‘<input type=”reset” value=”Clear Fields”>’;return $button;}
Add Favicon in WordPress
Add Favicon in wordpress Add Favicon in wordpress Go to your WordPress Administration Panel.Click on Appearance.Click on Theme Editor.Select the file called Header or header.php to edit the file.Search for the line of code that begins with <link rel=”shortcut icon” and ends with /favicon.ico” />. Overwrite it, if it exists, or add the following code […]
Website Design DIY – Do it Yourself
so you want to Design your OWN website Consider the following – Adobe XD Easily create and share website designs with Adobe XD. Design responsive layouts, craft interactions, share prototypes for feedback and hand-off to development — all in one website design tool. Move quickly with an intuitive interface, lightning-fast performance and built-in collaboration tools. […]
Add Blank White Line in an Elementor Form Field
How to: Add-Blank-White-Line-in-an-Elementor-Form-Field //Add-Blank-White-Line-in-an-Elementor-Form-Field //web design bribie island //copy this code and place in custom css <p style=”text-align: center;”><span style=”color: #000000;”><span style=”background-color: #ffffff;”>  </span></span></p>