Knowledge Base Page

Default Robots txt file

Default robots.txt file User-agent: *Disallow: /wp-admin/Disallow: /wp-includes/ Copy and paste the above code into your Text editor. But don’t forget

Get Code »

Hide WordPress Admin notices

To HIDE WordPress Admin Notices //To HIDE WordPress Admin Notices// Add to Child Themes functions.php add_action(‘admin_enqueue_scripts’, ‘ds_admin_theme_style’);add_action(‘login_enqueue_scripts’, ‘ds_admin_theme_style’);function ds_admin_theme_style() {if

Get Code »

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(

Get Code »

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″>

Get Code »

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’;}

Get Code »

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(

Get Code »

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

Get Code »