DatePicker in Woocommerce (My Account) Registration [closed]

Don’t include jquery from any other source, it will create conflict. Bcoz jQuery is pre bundled in wordpress by default. For your question, add an id or class to the input element then add the datepicker based on the class. For example <input type=”text” class=”da_test” value=”” > <script type=”text/javascript”> $(window).load(function() { $(‘.da_test’).glDatePicker(); }); </script> This … Read more

Limit username to specific characters (A-Z and 0-9)

Using the regex posted by Moaz (and adding capitals), we will need to hook into the registration_errors filter: // Restrict username registration to alphanumerics add_filter(‘registration_errors’, ‘limit_username_alphanumerics’, 10, 3); function limit_username_alphanumerics ($errors, $name) { if ( ! preg_match(‘/^[A-Za-z0-9]{3,16}$/’, $name) ){ $errors->add( ‘user_name’, __(‘<strong>ERROR</strong>: Username can only contain alphanumerics (A-Z 0-9)’,’CCooper’) ); } return $errors; }

Need a Plugin to create a registration form for my website? [closed]

If I understand you correclty, you are essentially asking two questions. For one, you are looking for a solution for a customized registration- (login- / profile-) page. Also, you want to export data to .csv or .xls As for the first issue, I’d recommend taking a look at Jeff Farthing’s excellent Theme-My-Login plugin. As for … Read more

How to get value from wp_usermeta table in database?

You should be using add_user_meta instead of update_user_meta: if (isset($_POST[‘billing_cpf’])) { add_user_meta($customer_id, ‘billing_cpf’, $POST[‘billing_cpf’], true); } As this will only add the meta if it does not already exist – no update. (This will prevent this field from being updatable – unless by you another way.) Note: normally you could use something like this to … Read more