Hi Uendi,
1. You can add the text directly to the “Edit Profile” page where you will also insert the shortcode: [wppb-edit-profile]
2.The “Login” is also available via a shortcode: [wppb-login], which you can add in a text widget on the sidebar for example.
Hope this helps,
Thread Starter
Uendi
(@uendi)
Thank you for your prompt reply.
I have inserted a shortcode [wppb-edit-profile] to the “Edit Profile” page. I’m thinking how to remove the name “Edit Profile” from the nav menu bar and insert/link this name at the top of right corner of the site just beside ‘ log in | ‘ ?
Thanks.
Hello,
I assume the top right menu is a different menu-group, in which case you can simply add the Edit profile there.
Let me know if you managed to do this.
Regards,
Gabriel
Thread Starter
Uendi
(@uendi)
Hello,
Thank you for your prompt reply. I have inserted this code in under Header.php :
<?php wp_register( $before, $after ); ?>
and also added in a filter:
add_action( ‘register’ , ‘register_replacement’ );
function register_replacement( $link ){
if ( ! is_user_logged_in() ) {
if ( get_option(‘users_can_register’) )
$link = $before . ‘‘ . __(‘Register’) . ‘‘ . $after;
else
$link = ”;
} else {
$link = $before . ‘‘ . __(‘Your Title Here’) . ‘‘ . $after;
}
return $link;
}
Yes, it really works on my site.
Thank you.
Your very welcome! … I am glad it works! 🙂
Gabriel