WordPress.org

Support

Support » Plugins and Hacks » [Resolved] How to remove the box "website"?

[Resolved] How to remove the box "website"?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author weblizar

    @weblizar

    Hi Thr,

    You need to remove some validation code in dashboard.php file

    File: dashboard.php
    File Path: plugins\testimonial-by-weblizar\admin\

    Remove or comment out below website validation code:
    line no – 259 to 270

    /*
    //website
    var urlregex = /(http(s)?:\\)?([\w-]+\.)+[\w-]+[.com|.in|.org]+(\[\?%&=]*)?/;
    if(Website == "") {
    	jQuery("#website").focus();
    	jQuery("#website-div").after("<div class='tError alert alert-danger'><button class='close' data-dismiss='alert' type='button'><i class='icon-remove'></i></button> <strong><?php _e('Field Required:', 'WEBLIZAR_TESTIMONIAL_TEXT_DOMAIN'); ?></strong> <?php _e('Type your website address here', 'WEBLIZAR_TESTIMONIAL_TEXT_DOMAIN'); ?></div>");
    	return false;
    }
    if(urlregex.test(Website) == false ) {
    	jQuery("#website").focus();
    	jQuery("#website-div").after("<div class='tError alert alert-danger'><button class='close' data-dismiss='alert' type='button'><i class='icon-remove'></i></button> <strong><?php _e('Field Required:', 'WEBLIZAR_TESTIMONIAL_TEXT_DOMAIN'); ?></strong> <?php _e('Type valid website address', 'WEBLIZAR_TESTIMONIAL_TEXT_DOMAIN'); ?></div>");
    	return false;
    }
    */

    Thanks for using Testimonial plugin.
    Weblizar

    Thank you so much for help!

    Plugin Author weblizar

    @weblizar

    You’re Welcome Cezary

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] How to remove the box "website"?’ is closed to new replies.