If you use the hook signup_hidden_fields
*, they show at the top, but $errors
is not available:
add_action( 'signup_hidden_fields', 'full_name_register_form' );
function full_name_register_form ()
{
// first_name
$first_name = ( isset( $_POST['first_name'] ) ) ? $_POST['first_name']: '';
echo '<label for="first_name">' . __('First Name') . '</label>';
echo '<input name="first_name" type="text" id="first_name" value="'. esc_attr($first_name) .'" maxlength="60" />';
// last_name
$last_name = ( isset( $_POST['last_name'] ) ) ? $_POST['last_name']: '';
echo '<label for="last_name">' . __('Last Name') . '</label>';
echo '<input name="last_name" type="text" id="last_name" value="'. esc_attr($last_name) .'" maxlength="60" />';
}
* Inspect that file for other do_action
s, there are a few others but it all depends on your setup.
Check this too.