Last active
September 10, 2020 19:35
-
-
Save ocariocawebdesign/9e7b7bcf59428842945c51cee33b8969 to your computer and use it in GitHub Desktop.
form-login.php campos adicinais
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="<?php echo ((is_rtl()) ? 'right' : 'left'); ?>: -999em; position: absolute;"><label for="trap"><?php _e('Anti-spam', 'woocommerce'); ?></label><input type="text" name="email_2" id="trap" tabindex="-1" autocomplete="off" /></div> | |
<?php do_action('woocommerce_register_form'); ?> | |
<form method="post" class="register"> | |
<?php do_action('woocommerce_register_form_start'); ?> | |
<div class="form-group"> | |
<label for="account_first_name">Primeiro nome <span class="required">*</span></label> | |
<input type="text" class="form-control form-control woocommerce-Input woocommerce-Input--text input-text" id="account_first_name" name="account_first_name" required="required" placeholder="Digite se nome" value="<?php if (!empty($_POST['account_first_name'])) esc_attr_e($_POST['account_first_name']); ?>"> | |
</div> | |
<div class="form-group"> | |
<label for="account_last_name">Último nome <span class="required">*</span></label> | |
<input type="text" class="form-control form-control woocommerce-Input woocommerce-Input--text input-text" id="account_last_name" required="required" name="account_last_name" placeholder="Digite seu último nome" value="<?php if (!empty($_POST['account_last_name'])) esc_attr_e($_POST['account_last_name']); ?>"> | |
</div> | |
<div class="form-group"> | |
<label class="" for="reg_billing_cpf">Cpf <span class="required">*</span></label> | |
<input type="text" class="form-control woocommerce-Input woocommerce-Input--text input-text" id="reg_billing_cpf" required="required" placeholder="Digite seu cpf" name="cpf" value="<?php echo (!empty($_POST['cpf'])) ? esc_attr($_POST['cpf']) : ''; ?>" /> | |
</div> | |
... | |
<?php do_action('woocommerce_register_form_end'); ?> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment