sorry – I didn’t clarify with the last problem – how do I fix this? which one should I remove and how do I correctly do this please. I would prefer my user to choose their own pass word straight away. thanks again
username appearing twice on registration form
@jaciando1 Change the “User Name” profile field name in the “Profile Details” box -> go to admin menu
Users > Profile Fields and click on the “edit” button under that profile field name.
I also appear to have two different register forms???
You can add the following to your theme’s functions.php page:
/* If BuddyPress is active */
if ( class_exists('BuddyPress') ) {
add_action('init','mme_redirect_register');
function mme_redirect_register(){
global $pagenow;
if( 'wp-login.php?action=register' == $pagenow ) {
wp_redirect('http://buddypress.dev/join-us');
exit();
}
}
}
Change http://buddypress.dev/join-us
to your site’s register page.
hi there @mercime thank you so much for your response. I’m not having much luck with either of those – this is the code I pasted into my child theme functions.php
if ( class_exists(‘BuddyPress’) ) {
add_action(‘init’,’mme_redirect_register’);
function mme_redirect_register(){
global $pagenow;
if( ‘wp-login.php?action=register’ == $pagenow ) {
wp_redirect(‘http://members.caravancamping.club/register/’);
exit();
}
}
}
but it still redirects to: http://members.caravancamping.club/wp-login.php?action=register
??
also with the second username – I’ve still got exactly the same problems – only just with a different field name?? how to I delete one of these entirely please?
http://members.caravancamping.club/register/
thanks again