Change CUSTOMIFY cover text title bar

Customify WordPress Theme – Change Cover Text Title Bar   I use Customify Theme from Press Maximum for a lot of my WordPress builds, and unfortunately their Documentation (lacks) some finer points on how to Edit and change the Styling of the Template. Follow the below in order and you should not have a problem […]

custom validation gravity forms

Add CUSTOM Validation to a Gravity Form // add custom validation to Gravity formadd_filter( ‘gform_field_validation_74_7’, ‘validate_phone_74_7’, 10, 4 );function validate_phone_74_7( $result, $value, $form, $field ) {$nourl_pattern = ‘(http|https)’;if ( preg_match( $nourl_pattern, $value ) ) {$result[‘is_valid’] = false;$result[‘message’] = ‘Message can not contain website addresses.’;}return $result;}

Comment out code in php

Comment out code in php file. If you need to comment out something in the php coding. Normally used when editing functions.php. But please only EDIT functions.php file if you have a chile theme. In other words ONLY edit the functions.php file in the child theme NOT your main theme file. Add this to either […]

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( ‘&amp;’, ‘&’, 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 […]

About Website Hosting

A web hosting service (often shortened to web host) is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web. Web hosts are companies that provide space on a server owned or leased for use by clients, as well as providing Internet connectivity, typically […]

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. […]

Vector vs Raster

Graphic Files Explained: Vector vs Raster Digital graphic files will generally fall into one of two categories—vector or raster. Vector graphics, such as logo files, use intricate paths made up of points and lines to create an image. Raster graphics, such as digital photographs, are created using a grid of tiny pixels. The purpose of […]

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;”>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp</span></span></p>