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
/* | |
1. create custom user fields with wordpress (see https://gist.github.com/makbeta/5851535 ) | |
2. clone `register-form.php` from /wp-content/plugins/theme-my-login/templates to your theme | |
3. Add your new field to the registration template | |
*/ | |
<p> | |
<label for="subscription">Customer ID</label> | |
<input type="text" name="subscription" id="subscription<?php $template->the_instance(); ?>" class="input" value="<?php $template->the_posted_value( 'subscription' ); ?>" size="20" /><br /> | |
<span class="description">Please enter your customer ID.</span> |