Viewing 2 replies - 1 through 2 (of 2 total)
  • jkhongusc

    (@jkhongusc)

    Thread Starter cleaus

    (@cleaus)

    Hi, thanks for the link.

    I followed your instruction, but still cannot see the new fields.

    I added the new fields:

    <p>
    <label for=”first_name<?php $template->the_instance(); ?>”><?php _e( ‘First name’, ‘theme-my-login’ ) ?></label>
    <input type=”text” name=”first_name” id=”first_name<?php $template->the_instance(); ?>” class=”input” value=”<?php $template->the_posted_value( ‘first_name’ ); ?>” size=”20″ tabindex=”20″ />
    </p>
    <p>
    <label for=”last_name<?php $template->the_instance(); ?>”><?php _e( ‘Last name’, ‘theme-my-login’ ) ?></label>
    <input type=”text” name=”last_name” id=”last_name<?php $template->the_instance(); ?>” class=”input” value=”<?php $template->the_posted_value( ‘last_name’ ); ?>” size=”20″ tabindex=”20″ />
    </p>

    to: /wp-content/plugins/theme-my-login/templates/register-form.php

    I then uploaded: theme-my-login-custom.php

    to: /wp-content/plugins

    But that kept putting all the code at the top of the dashboard area and did not add the form fields.

    I then tried to put it into: /wp-content/plugins/theme-my-login

    but still it is not showing up the new fields.

    Not sure what i did wrong?

    Thanks again for your help! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding additional registration form field’ is closed to new replies.