Go to Dashboard/Settings/BuddyPress/Settings at the top, Check Show the Toolbar for logged out users.
@dasped that is checked already and it is still not showing up.
@chouf1 if I always display the admin bar for wordpress will that login to buddypress too? are they same thing?
Yes, in fact there is only one ToolBar. The “old” BP toolbar is deactivated by default. FYI, login/registering is WP stuff 😀
@chouf1 Thanks!
This might be a really stupid question, but where exactly do I add this in the php? I’m a novice at this.
// always show admin bar
function pjw_login_adminbar( $wp_admin_bar) {
if ( !is_user_logged_in() )
$wp_admin_bar->add_menu( array( ‘title’ => __( ‘Log In’ ), ‘href’ => wp_login_url() ) );
}
add_action( ‘admin_bar_menu’, ‘pjw_login_adminbar’ );
add_filter( ‘show_admin_bar’, ‘__return_true’ , 1000 );
in you template folder you have some sidebar.php files there can be more than one sidebar file depending on your theme.
I got it to work by adding the snippet to the function.php in the the theme.
But now I have two login buttons? How to do get rid of one?
Home
Thanks for all the help btw.
Search in your widget and/or in your theme settings