Jerry101
Forum Replies Created
-
Thank you so much. And Keep me posted.
Forum: Plugins
In reply to: [WP Job Manager] Job submit form label couldn’t replaceHi
Yes , i tried to add this to my function.php , but is not working. what do i miss ?
Regards
Jerry TanForum: Plugins
In reply to: [WP Job Manager] Job submit form label couldn’t replacesorry for the wrong posting
check this
// Add your own function to filter the fields
add_filter( ‘submit_job_form_fields’, ‘custom_submit_job_form_fields’ );// This is your function which takes the fields, modifies them, and returns them
// You can see the fields which can be changed here:http://www.connetbiz.com/public_html/wp-content/plugins/wp-job-manager/includes/forms/class-wp-job-manager-form-submit-job.php
function custom_submit_job_form_fields( $fields ) {// Here we target one of the job fields (job_title) and change it’s label
$fields[‘company’][‘company_name’][‘label’] = “Personal name”;// And return the modified fields
return $fields;
}Forum: Fixing WordPress
In reply to: Registration form error “undefined”Hi
sorry , my bad. currently the issue come from the theme called “Service finder” check link: https://themeforest.net/item/service-finder-service-and-business-listing-wordpress-theme/15208793
the problem are from the sign up registration form , my site user couldn’t sign up as customer. as you can see it show up “undefined” error. really appreciate that you could help me define the “undefined” error are from where ? actually I’m facing bad support from the theme support , that’s why I looking for other help.
down below is my theme signup.php
` <?php
/*****************************************************************************
*
* copyright(c) – aonetheme.com – Service Finder Team
* More Info: http://aonetheme.com/
* Coder: Service Finder Team
* Email: [email protected]
*
******************************************************************************/get_header();
$wpdb = service_finder_plugin_global_vars(‘wpdb’);
$service_finder_Params = service_finder_plugin_global_vars(‘service_finder_Params’);
$service_finder_options = get_option(‘service_finder_options’);
$providerreplacestring = (!empty($service_finder_options[‘provider-replace-string’])) ? $service_finder_options[‘provider-replace-string’] : esc_html__(‘Provider’, ‘service-finder’);
$customerreplacestring = (!empty($service_finder_options[‘customer-replace-string’])) ? $service_finder_options[‘customer-replace-string’] : esc_html__(‘Customers’, ‘service-finder’);$twocheckouttype = (!empty($service_finder_options[‘twocheckout-type’])) ? esc_html($service_finder_options[‘twocheckout-type’]) : ”;
if($twocheckouttype == ‘live’){
$twocheckoutmode = ‘production’;
}else{
$twocheckoutmode = ‘sandbox’;
}if($twocheckouttype == ‘live’){
$twocheckoutpublishkey = (!empty($service_finder_options[‘twocheckout-live-publish-key’])) ? esc_html($service_finder_options[‘twocheckout-live-publish-key’]) : ”;
$twocheckoutaccountid = (!empty($service_finder_options[‘twocheckout-live-account-id’])) ? esc_html($service_finder_options[‘twocheckout-live-account-id’]) : ”;
}else{
$twocheckoutpublishkey = (!empty($service_finder_options[‘twocheckout-test-publish-key’])) ? esc_html($service_finder_options[‘twocheckout-test-publish-key’]) : ”;
$twocheckoutaccountid = (!empty($service_finder_options[‘twocheckout-test-account-id’])) ? esc_html($service_finder_options[‘twocheckout-test-account-id’]) : ”;
}$signupautosuggestion = (!empty($service_finder_options[‘signup-auto-suggestion’])) ? esc_html($service_finder_options[‘signup-auto-suggestion’]) : ”;
$countryarr = (!empty($service_finder_options[‘allowed-country’])) ? $service_finder_options[‘allowed-country’] : ”;
$totalcountry = count($countryarr);wp_add_inline_script( ‘service_finder-js-registration’, ‘/*Declare global variable*/
var twocheckoutaccountid = “‘.$twocheckoutaccountid.'”;
var twocheckoutpublishkey = “‘.$twocheckoutpublishkey.'”;
var twocheckouttype = “‘.$twocheckouttype.'”;
var twocheckoutmode = “‘.$twocheckoutmode.'”;
var totalcountry = “‘.$totalcountry.'”;
var signupautosuggestion = “‘.$signupautosuggestion.'”;
‘, ‘after’ );?>
<!– Signup Template –>
<!– Content –>
<?php
if($a[‘role’] == ‘customer’){
$role = ‘customer’;
}else{
$role = ‘provider’;
}
wp_add_inline_script( ‘service_finder-js-registration’, ‘/*Declare global variable*/
var formtype = “signup”; var userrole = “‘.$role.'”;’, ‘after’ );$image_name = ‘banner-image’;
if (class_exists(‘SERVICE_FINDER_MultiPostThumbnails’)) {
if (SERVICE_FINDER_MultiPostThumbnails::has_post_thumbnail(‘page’, $image_name)) {
$image_id = SERVICE_FINDER_MultiPostThumbnails::get_post_thumbnail_id( ‘page’, $image_name, get_the_id() );
$banner_image_url = wp_get_attachment_image_src( $image_id,’full’ );
}
}
if(empty($banner_image_url[0])){
$bannerimg = service_finder_innerpage_banner_pl();
}else{
$bannerimg = (!empty($banner_image_url[0])) ? $banner_image_url[0] : ”;
}
$html = ‘<div class=”page-content”>’;
$subheader = service_finder_sub_header_pl();
$pagesubheader = get_post_meta(get_the_id(), ‘_display_banner’, true);
if($subheader && (!empty($bannerimg))){
if($pagesubheader){
$bgcolor = (!empty($service_finder_options[‘inner-banner-bg-color’])) ? $service_finder_options[‘inner-banner-bg-color’] : ”;
$bgopacity = (!empty($service_finder_options[‘inner-banner-opacity’])) ? $service_finder_options[‘inner-banner-opacity’] : ”;
$html .= ‘<div class=”banner-inner-row” style=”background-image:url(‘.esc_url($bannerimg).’);”><div class=”sf-overlay-wrapper” style=”opacity:’.$bgopacity.’; background-color:’.$bgcolor.’;”></div></div>’;
}
}
?>
<?php require SERVICE_FINDER_BOOKING_FRONTEND_DIR . ‘/breadcrumb.php’; //Breadcrumb ?>
<!– Left & right section start –>
<?php
$html .= ‘<div class=”container”>
<div class=”row provider-content”>
<!– Left part start –>
<div class=”col-md-12″>’;
$display_title = get_post_meta(get_the_id(), ‘_display_title’, true);
if($service_finder_options[‘show-page-title’]){
if($display_title){
$html .= ‘<h4>’.esc_html__(‘Signup’,’service-finder’).'</h4>’;
}
}
$html .= ‘<div class=”padding-20 margin-b-30 bg-white”>
<div class=”tabbable”>’;
if(!is_user_logged_in()){
$html .= ‘<ul class=”nav nav-tabs”>’;
if($a[‘role’] == ‘customer’ || $a[‘role’] == ‘both’ || $a[‘role’] == ”){
$html .= ‘<li class=”active”>
‘.esc_html($customerreplacestring).’
‘;
}
$active = ($a[‘role’] == ‘provider’) ? ‘active’ : ”;
if($a[‘role’] == ‘provider’ || $a[‘role’] == ‘both’ || $a[‘role’] == ”){
$html .= ‘<li class=”‘.$active.'”>
‘.esc_html($providerreplacestring).’
‘;
}
$html .= ‘
<div class=”tab-content”>’;
if($a[‘role’] == ‘customer’ || $a[‘role’] == ‘both’ || $a[‘role’] == ”){
$html .= ‘<div id=”customertab” class=”tab-pane fade in active”>
<form class=”customer_registration_page” method=”post”>
<div class=”customer-bx clearfix row”>
<div class=”col-md-6″>
<div class=”form-group”>
<input name=”signup_first_name” type=”text” class=”form-control” placeholder=”‘.esc_html__(‘First Name’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
<input name=”signup_last_name” type=”text” class=”form-control” placeholder=”‘.esc_html__(‘Last Name’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
<input name=”signup_user_name” type=”text” class=”form-control” placeholder=”‘.esc_html__(‘Username’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
<input name=”signup_user_email” type=”text” class=”form-control” placeholder=”‘.esc_html__(‘Email’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
<input name=”signup_password” type=”password” class=”form-control” placeholder=”‘.esc_html__(‘Password’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
<input name=”signup_confirm_password” type=”password” class=”form-control” placeholder=”‘.esc_html__(‘Confirm Password’, ‘service-finder’).'”>
</div>
</div>’;
$customertermchk = (isset($service_finder_options[‘terms-condition-checkbox-customers’])) ? esc_attr($service_finder_options[‘terms-condition-checkbox-customers’]) : ”;
if($customertermchk){
$html .= ‘<div class=”col-md-12″>
<div class=”form-group”>
<div class=”checkbox”>
<input type=”checkbox” value=”yes” name=”customertermsncondition_bx” id=”customertermsncondition_bx”>
<label for=”customertermsncondition_bx”>’;
$customerterms = (isset($service_finder_options[‘text-terms-condition-checkbox-customers’])) ? $service_finder_options[‘text-terms-condition-checkbox-customers’] : ”;
$allowedhtml = array(
‘a’ => array(
‘href’ => array(),
‘class’ => array(),
),
);
$html .= wp_kses($customerterms,$allowedhtml);
$html .= ‘</label>
</div>
</div>
</div>’;
}
$html .= service_finder_captcha(‘customersignuppage’);
$html .= ‘<div class=”col-md-12″>
<input type=”hidden” name=”signup_user_role” value=”‘.esc_attr($service_finder_Params[‘role’][‘customer’]).'” />
<input type=”submit” class=”btn btn-primary btn-block” name=”user-register” value=”‘.esc_html__(‘Sign up’, ‘service-finder’).'” />
</div>
<div class=”col-md-12 text-center”> <small>
‘.esc_html__(‘Already Registered?’, ‘service-finder’).’
</small> </div>
</div>
</form>
</div>’;
}
if($a[‘role’] == ‘provider’ || $a[‘role’] == ‘both’ || $a[‘role’] == ”){
$proactive = ($a[‘role’] == ‘provider’) ? ‘in active’ : ”;$readonly = ‘readonly=”readonly”‘;
$disabled = ‘disabled=”disabled”‘;
$placeholder = esc_html__(‘City (Select country to enable)’,’service-finder’);$countryarr = (!empty($service_finder_options[‘allowed-country’])) ? $service_finder_options[‘allowed-country’] : ”;
$totalcountry = count($countryarr);if($totalcountry == 1){
$readonly = ”;
$disabled = ”;
$placeholder = esc_html__(‘Please select city from suggestion’,’service-finder’);
}if($signupautosuggestion){
$citybox = ‘<input type=”text” class=”form-control” autocomplete=”off” ‘.$readonly.’ placeholder=”‘.$placeholder.'” name=”signup_city” id=”signup_city_bx” placeholder=”‘.esc_html__(‘City’, ‘service-finder’).'”>’;
}else{
$citybox = ‘<select ‘.$readonly.’ ‘.$disabled.’ class=”form-control” name=”signup_city” data-live-search=”true” title=”‘.$placeholder.'” id=”signup_city_bx”>’;
$citybox .= ‘<option value=””>’.esc_html__(‘Select City’, ‘service-finder’).'</option>’;
$citybox .= ‘</select>’;
}$html .= ‘<div id=”providertab” class=”tab-pane fade ‘.$proactive.'”>
<form class=”provider_registration_page” method=”post”>
<div class=”provider-bx clearfix row”>
<div class=”col-md-12″>
<div class=”form-group”>
<input name=”signup_company_name” type=”text” class=”form-control” placeholder=”‘.esc_html__(‘Company Name’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
<input name=”signup_first_name” type=”text” class=”form-control” placeholder=”‘.esc_html__(‘First Name’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
<input name=”signup_last_name” type=”text” class=”form-control” placeholder=”‘.esc_html__(‘Last Name’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
<input name=”signup_user_name” type=”text” class=”form-control” placeholder=”‘.esc_html__(‘Username’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
<input name=”signup_user_email” type=”text” class=”form-control” placeholder=”‘.esc_html__(‘Email’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
<input name=”signup_password” type=”password” class=”form-control” placeholder=”‘.esc_html__(‘Password’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
<input name=”signup_confirm_password” type=”password” class=”form-control” placeholder=”‘.esc_html__(‘Confirm Password’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-12″>
<div class=”form-group”>
<input type=”text” class=”form-control” name=”signup_phone” id=”signup_phone” placeholder=”‘.esc_html__(‘Phone’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-12″>
<div class=”form-group”>
<input type=”text” class=”form-control” name=”signup_address” id=”signup_address_bx” placeholder=”‘.esc_html__(‘Address’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
<select class=”form-control” name=”signup_country” data-live-search=”true” title=”‘.esc_html__(‘Country’, ‘service-finder’).'” id=”signup_country_bx”>
<option value=””>
‘.esc_html__(‘Select Country’, ‘service-finder’).’
</option>’;
$allcountry = (!empty($service_finder_options[‘all-countries’])) ? $service_finder_options[‘all-countries’] : ”;
$countries = service_finder_get_countries();
if($allcountry){
if(!empty($countries)){
foreach($countries as $key => $country){
$html .= ‘<option value=”‘.esc_attr($country).'” data-code=”‘.esc_attr($key).'”>’. $country.'</option>’;
}
}
}else{
$countryarr = (!empty($service_finder_options[‘allowed-country’])) ? $service_finder_options[‘allowed-country’] : ”;
$totalcountry = count($countryarr);
if($countryarr){
foreach($countryarr as $key){
if($totalcountry == 1){
$select = ‘selected=”selected”‘;
}else{
$select = ”;
}
$html .= ‘<option ‘.$select.’ value=”‘.esc_attr($countries[$key]).'” data-code=”‘.esc_attr($key).'”>’. $countries[$key].'</option>’;
}
}
}
$html .= ‘</select>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group” id=”autocity_bx”>
‘.$citybox.’
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
<input type=”text” class=”form-control” name=”signup_apt” placeholder=”‘.esc_html__(‘Apt/Suite #’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
<input type=”text” class=”form-control” name=”signup_state” id=”signup_state_bx” placeholder=”‘.esc_html__(‘State’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
<input type=”text” class=”form-control” name=”signup_zipcode” id=”signup_zipcode_bx” placeholder=”‘.esc_html__(‘Postal Code’, ‘service-finder’).'”>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group has-select”>
<select class=”form-control” name=”signup_category” data-live-search=”true” title=”‘.esc_html__(‘Category’, ‘service-finder’).'”>
<option value=””>
‘.esc_html__(‘Select Category’, ‘service-finder’).’
</option>’;
if(class_exists(‘service_finder_texonomy_plugin’)){
$limit = 1000;
$categories = service_finder_getCategoryList($limit);
$texonomy = ‘providers-category’;
if(!empty($categories)){
foreach($categories as $category){$term_id = (!empty($category->term_id)) ? $category->term_id : ”;
$term_name = (!empty($category->name)) ? $category->name : ”;
$html .= ‘<option value=”‘.esc_attr($term_id).'” data-content=”<span>’.esc_attr($term_name).'</span>”>’. $term_name.'</option>’;$term_children = get_term_children($category->term_id,$texonomy);
if(!empty($term_children)){
$namearray = array();
foreach ($term_children as $child) {
$term = get_term_by( ‘id’, $child, $texonomy );
$namearray[$term->name]= $child;
}
ksort($namearray);foreach($namearray as $term_child_id) {
$term_child = get_term_by(‘id’,$term_child_id,$texonomy);
$html .= ‘<option value=”‘.esc_attr($term_child_id).'” data-content=”<span class=\’childcat\’>’.esc_attr($term_child->name).'</span>”>’. $term_child->name.'</option>’;
}
}}
}
}
$html .= ‘</select>
</div>
</div>’;
$enablepackage1 = (!empty($service_finder_options[‘enable-package1’])) ? $service_finder_options[‘enable-package1’] : ”;
$enablepackage2 = (!empty($service_finder_options[‘enable-package2’])) ? $service_finder_options[‘enable-package2’] : ”;
$enablepackage3 = (!empty($service_finder_options[‘enable-package3’])) ? $service_finder_options[‘enable-package3’] : ”;
if($enablepackage1 || $enablepackage2 || $enablepackage3){
$withoutpackage = false;
$html .= ‘<div class=”col-md-6″>
<div class=”form-group”>
<select name=”provider-role” class=”form-control”>
<option class=”blank” value=””>
‘.esc_html__(‘No Package’, ‘service-finder’).’
</option>
‘.service_finder_getPackages().’
</select>
</div>
</div>’;
}else{
$withoutpackage = true;
}
$package1price = (!empty($service_finder_options[‘package1-price’])) ? $service_finder_options[‘package1-price’] : ”;
$free = (trim($package1price) == 0) ? true : false;
$displayfree = ($free) ? ‘style=”display:none;”‘ : ”;
$html .= ‘<div class=”col-md-12 sf-card-group margin-less” id=”paymethod_bx” ‘.$displayfree.’ >
<div class=”form-group form-inline”>’;$payment_methods = (!empty($service_finder_options[‘payment-methods’])) ? $service_finder_options[‘payment-methods’] : ”;
$paymentflag = 0;
if(!empty($payment_methods)){
foreach($payment_methods as $key => $value){
if($key != ‘paypal-adaptive’){
if($key == ‘stripe’){
$label = ‘


‘;
}elseif($key == ‘twocheckout’){
$label = ‘
‘;
}elseif($key == ‘wired’){
$label = ‘
‘;
}elseif($key == ‘payumoney’ && $service_finder_options[‘payment-type’] == ‘single’){
$label = ‘
‘;
}elseif($key == ‘payulatam’){
$label = ‘
‘;
}else{
$label = ‘
‘;
}if($value == 1){
$paymentflag = 1;
if($key == ‘payumoney’){
if($service_finder_options[‘payment-type’] == ‘single’){
$html .= ‘<div class=”radio”>
<input id=”‘.$key.’_bx” type=”radio” name=”payment_mode” value=”‘.esc_attr($key).'”>
<label for=”‘.$key.’_bx”>’.$label.'</label>
</div>’;
}
}else{$html .= ‘<div class=”radio”>
<input id=”‘.$key.’_bx” type=”radio” name=”payment_mode” value=”‘.esc_attr($key).'”>
<label for=”‘.$key.’_bx”>’.$label.'</label>
</div>’;
}}
}
}
}if($paymentflag == 0){
$html .= ‘<div class=”sf-alert-bx alert-danger”>’;
$html .= esc_html__(‘Payment method not available.’, ‘service-finder’);
$html .= ‘</div>’;
}
$html .= ‘</div>
</div>
<div id=”stripeinfo” class=”default-hidden”>
<div class=”col-md-8″>
<div class=”form-group”>
<label>
‘.esc_html__(‘Card Number’, ‘service-finder’).’
</label>
<div class=”input-group”> <i class=”input-group-addon fa fa-credit-card”></i>
<input type=”text” id=”scd_number” name=”scd_number” class=”form-control”>
</div>
</div>
</div>
<div class=”col-md-4″>
<div class=”form-group”>
<label>
‘.esc_html__(‘CVC’, ‘service-finder’).’
</label>
<div class=”input-group”> <i class=”input-group-addon fa fa-ellipsis-h”></i>
<input type=”text” id=”scd_cvc” name=”scd_cvc” class=”form-control”>
</div>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group has-select”>
<label>
‘.esc_html__(‘Select Month’, ‘service-finder’).’
</label>
<select id=”scd_month” name=”scd_month” class=”form-control” title=”‘.esc_html__(‘Select Month’, ‘service-finder’).'”>
<option value=”1″>’.esc_html__(‘January’, ‘service-finder’).'</option>
<option value=”2″>’.esc_html__(‘February’, ‘service-finder’).'</option>
<option value=”3″>’.esc_html__(‘March’, ‘service-finder’).'</option>
<option value=”4″>’.esc_html__(‘April’, ‘service-finder’).'</option>
<option value=”5″>’.esc_html__(‘May’, ‘service-finder’).'</option>
<option value=”6″>’.esc_html__(‘June’, ‘service-finder’).'</option>
<option value=”7″>’.esc_html__(‘July’, ‘service-finder’).'</option>
<option value=”8″>’.esc_html__(‘August’, ‘service-finder’).'</option>
<option value=”9″>’.esc_html__(‘September’, ‘service-finder’).'</option>
<option value=”10″>’.esc_html__(‘October’, ‘service-finder’).'</option>
<option value=”11″>’.esc_html__(‘November’, ‘service-finder’).'</option>
<option value=”12″>’.esc_html__(‘December’, ‘service-finder’).'</option>
</select>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group has-select”>
<label>
‘.esc_html__(‘First Name’, ‘service-finder’).’
Select Year</label>
<select id=”scd_year” name=”scd_year” class=”form-control” title=”‘.esc_html__(‘Select Year’, ‘service-finder’).'”>’;
$year = date(‘Y’);
for($i = $year;$i<=$year+50;$i++){
$html .= ‘<option value=”‘.esc_attr($i).'”>’.$i.'</option>’;
}
$html .= ‘</select>
</div>
</div>
</div>
<div id=”twocheckoutstripeinfo” class=”default-hidden”>
<div class=”col-md-8″>
<div class=”form-group”>
<label>
‘.esc_html__(‘Card Number’, ‘service-finder’).’
</label>
<div class=”input-group”> <i class=”input-group-addon fa fa-credit-card”></i>
<input type=”text” id=”twocheckout_scd_number” name=”twocheckout_scd_number” class=”form-control”>
</div>
</div>
</div>
<div class=”col-md-4″>
<div class=”form-group”>
<label>
‘.esc_html__(‘CVC’, ‘service-finder’).’
</label>
<div class=”input-group”> <i class=”input-group-addon fa fa-ellipsis-h”></i>
<input type=”text” id=”twocheckout_scd_cvc” name=”twocheckout_scd_cvc” class=”form-control”>
</div>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group has-select”>
<label>
‘.esc_html__(‘Select Month’, ‘service-finder’).’
</label>
<select id=”twocheckout_scd_month” name=”twocheckout_scd_month” class=”form-control” title=”‘.esc_html__(‘Select Month’, ‘service-finder’).'”>
<option value=”1″>’.esc_html__(‘January’, ‘service-finder’).'</option>
<option value=”2″>’.esc_html__(‘February’, ‘service-finder’).'</option>
<option value=”3″>’.esc_html__(‘March’, ‘service-finder’).'</option>
<option value=”4″>’.esc_html__(‘April’, ‘service-finder’).'</option>
<option value=”5″>’.esc_html__(‘May’, ‘service-finder’).'</option>
<option value=”6″>’.esc_html__(‘June’, ‘service-finder’).'</option>
<option value=”7″>’.esc_html__(‘July’, ‘service-finder’).'</option>
<option value=”8″>’.esc_html__(‘August’, ‘service-finder’).'</option>
<option value=”9″>’.esc_html__(‘September’, ‘service-finder’).'</option>
<option value=”10″>’.esc_html__(‘October’, ‘service-finder’).'</option>
<option value=”11″>’.esc_html__(‘November’, ‘service-finder’).'</option>
<option value=”12″>’.esc_html__(‘December’, ‘service-finder’).'</option>
</select>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group has-select”>
<label>
‘.esc_html__(‘Select Year’, ‘service-finder’).’
</label>
<select id=”twocheckout_scd_year” name=”twocheckout_scd_year” class=”form-control” title=”‘.esc_html__(‘Select Year’, ‘service-finder’).'”>’;
$year = date(‘Y’);
for($i = $year;$i<=$year+50;$i++){
$html .= ‘<option value=”‘.esc_attr($i).'”>’.$i.'</option>’;
}
$html .= ‘</select>
</div>
</div>
</div>
<div id=”payulatampageinfo” class=”default-hidden”>
<div class=”col-md-12″>
<div class=”form-group”>
<label>
‘.esc_html__(‘Select Card’, ‘service-finder’).’
</label>
<select id=”payulatam_page_cardtype” name=”payulatam_signup_cardtype” class=”form-control” title=”‘.esc_html__(‘Select Card’, ‘service-finder’).'”>’;
$country = (isset($service_finder_options[‘payulatam-country’])) ? $service_finder_options[‘payulatam-country’] : ”;
$cards = service_finder_get_cards($country);
foreach($cards as $card){
$html .= ‘<option value=”‘.esc_attr($card).'”>’.$card.'</option>’;
}$html .= ‘</select>
</div>
</div>
<div class=”col-md-8″>
<div class=”form-group”>
<label>
‘.esc_html__(‘Card Number’, ‘service-finder’).’
</label>
<div class=”input-group”> <i class=”input-group-addon fa fa-credit-card”></i>
<input type=”text” id=”payulatam_scd_number” name=”payulatam_cd_number” class=”form-control”>
</div>
</div>
</div>
<div class=”col-md-4″>
<div class=”form-group”>
<label>
‘.esc_html__(‘CVC’, ‘service-finder’).’
</label>
<div class=”input-group”> <i class=”input-group-addon fa fa-ellipsis-h”></i>
<input type=”text” id=”payulatam_scd_cvc” name=”payulatam_cd_cvc” class=”form-control”>
</div>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group has-select”>
<label>
‘.esc_html__(‘Select Month’, ‘service-finder’).’
</label>
<select id=”payulatam_scd_month” name=”payulatam_cd_month” class=”form-control” title=”‘.esc_html__(‘Select Month’, ‘service-finder’).'”>
<option value=”01″>’.esc_html__(‘January’, ‘service-finder’).'</option>
<option value=”02″>’.esc_html__(‘February’, ‘service-finder’).'</option>
<option value=”03″>’.esc_html__(‘March’, ‘service-finder’).'</option>
<option value=”04″>’.esc_html__(‘April’, ‘service-finder’).'</option>
<option value=”05″>’.esc_html__(‘May’, ‘service-finder’).'</option>
<option value=”06″>’.esc_html__(‘June’, ‘service-finder’).'</option>
<option value=”07″>’.esc_html__(‘July’, ‘service-finder’).'</option>
<option value=”08″>’.esc_html__(‘August’, ‘service-finder’).'</option>
<option value=”09″>’.esc_html__(‘September’, ‘service-finder’).'</option>
<option value=”10″>’.esc_html__(‘October’, ‘service-finder’).'</option>
<option value=”11″>’.esc_html__(‘November’, ‘service-finder’).'</option>
<option value=”12″>’.esc_html__(‘December’, ‘service-finder’).'</option>
</select>
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group has-select”>
<label>
‘.esc_html__(‘Select Year’, ‘service-finder’).’
</label>
<select id=”payulatam_scd_year” name=”payulatam_cd_year” class=”form-control” title=”‘.esc_html__(‘Select Year’, ‘service-finder’).'”>’;
$year = date(‘Y’);
for($i = $year;$i<=$year+50;$i++){
$html .= ‘<option value=”‘.esc_attr($i).'”>’.$i.'</option>’;
}
$html .= ‘</select>
</div>
</div>
</div>
<div id=”signuppagewiredinfo” class=”default-hidden”>
<div class=”col-md-12″>’;
$description = (!empty($service_finder_options[‘wire-transfer-description’])) ? $service_finder_options[‘wire-transfer-description’] : ”;
$html .= $description;
$html .= ‘</div>
</div>’;
$providertermchk = (isset($service_finder_options[‘terms-condition-checkbox-providers’])) ? esc_attr($service_finder_options[‘terms-condition-checkbox-providers’]) : ”;
if($providertermchk){
$html .= ‘<div class=”col-md-12″>
<div class=”form-group”>
<div class=”checkbox”>
<input type=”checkbox” value=”yes” name=”providertermsncondition_bx” id=”providertermsncondition_bx”>
<label for=”providertermsncondition_bx”>’;
$providerterms = (isset($service_finder_options[‘text-terms-condition-checkbox-providers’])) ? $service_finder_options[‘text-terms-condition-checkbox-providers’] : ”;
$allowedhtml = array(
‘a’ => array(
‘href’ => array(),
‘class’ => array(),
),
);
$html .= wp_kses($providerterms,$allowedhtml);
$html .= ‘</label>
</div>
</div>
</div>’;
}
$html .= service_finder_captcha(‘providersignuppage’);
$pactype = ($free || $withoutpackage) ? ‘yes’ : ‘no’;
$html .= ‘<div class=”col-md-12″>
<input type=”hidden” name=”freemode” id=”freemode_bx” value=”‘.$pactype.'” />
<input type=”hidden” name=”signup_user_role” value=”‘.esc_attr($service_finder_Params[‘role’][‘provider’]).'” />
<input type=”submit” class=”btn btn-primary btn-block” name=”user-register” value=”‘.esc_html__(‘Sign up’, ‘service-finder’).'” />
</div>
<div class=”col-md-12 text-center”> <small>
‘.esc_html__(‘Already Registered?’, ‘service-finder’).’
</small> </div>
</div>
</form>
</div>’;
}
$html .= ‘</div>’;}else{
$html .= esc_html__(‘You are already logged in. Please logout for signup’,’service-finder’);
}
$html .= ‘</div>
</div>
</div>
<!– Left part END –>
</div>
</div>
<!– Left & right section END –>
</div>’;i wanted to use my own local bank [RHB} merchant account to accept payment , beside than paypal & stripe , what plugin should i use for my site ?