banner image
Sedang Dalam Perbaikan

Register Page Tempate in Wordpress


How to make register template in WordPress?

This is the simple register template just choose when you make page it's so easy and handy once you use you will be better in making those page just get css
<?php
/*
   Template Name: Registration Page
*/
get_header();
?>
<?php do_action ('process_customer_registration_form'); ?><!-- the hook to use to process the form -->

<form method="POST" id="adduser" class="user-forms" action="">
    <strong>Name</strong>
    <p class="form-username">
        <label for="user_name"><?php echo 'Username (required)'; ?></label>
        <input class="text-input" name="user_name" type="text" id="user_name" value="" />
    </p>
  
    <p class="form-email">
        <label for="email"><?php echo 'E-mail (required)'; ?></label>
        <input class="text-input" name="email" type="text" id="email" value="" />
    </p>
  
    <p class="form-submit">
        <input name="adduser" type="submit" id="addusersub" class="submit button" value="Register" />
        <?php wp_nonce_field( 'add-user', 'add-nonce' ) ?><!-- a little security to process on submission -->
        <input name="action" type="hidden" id="action" value="adduser" />
    </p>
</form>
Register Page Tempate in Wordpress Register Page Tempate in Wordpress Reviewed by MCH on April 23, 2014 Rating: 5

No comments:

Powered by Blogger.