Skip to:
Content
Pages
Categories
Search
Top
Bottom

Login Bar missing

  • Profile photo of SupernaturalBrews
    SupernaturalBrews
    Participant

    @supernaturalbrews

    Is there any way to get the login bar at the top functioning? It’s one of the reason’s I installed buddypress. I would like to get this functioning asap and I wanted users to have a easy way to login.

    I can see it after I’m logged in but not before.

    http://www.kcnanobrews.com

    If it’s not going to be fixed soon, is there a alternative?

    Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Profile photo of dasped
    dasped
    Participant

    @dasped

    Go to Dashboard/Settings/BuddyPress/Settings at the top, Check Show the Toolbar for logged out users.

    Profile photo of danbpfr
    danbpfr
    Participant

    @chouf1

    Profile photo of SupernaturalBrews
    SupernaturalBrews
    Participant

    @supernaturalbrews

    @dasped that is checked already and it is still not showing up.

    Profile photo of SupernaturalBrews
    SupernaturalBrews
    Participant

    @supernaturalbrews

    @chouf1 if I always display the admin bar for wordpress will that login to buddypress too? are they same thing?

    Profile photo of danbpfr
    danbpfr
    Participant

    @chouf1

    Yes, in fact there is only one ToolBar. The “old” BP toolbar is deactivated by default. FYI, login/registering is WP stuff :D

    Profile photo of SupernaturalBrews
    SupernaturalBrews
    Participant

    @supernaturalbrews

    @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 );

    Profile photo of flyveren
    flyveren
    Participant

    @flyveren

    in you template folder you have some sidebar.php files there can be more than one sidebar file depending on your theme.

    Profile photo of flyveren
    flyveren
    Participant

    @flyveren

    Profile photo of SupernaturalBrews
    SupernaturalBrews
    Participant

    @supernaturalbrews

    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?

    http://www.kcnanobrews.com

    Thanks for all the help btw.

    Profile photo of danbpfr
    danbpfr
    Participant

    @chouf1

    Search in your widget and/or in your theme settings

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Login Bar missing’ is closed to new replies.