Skip to:
Content
Pages
Categories
Search
Top
Bottom

Stealing bbPress toolbar

  • @alexandra440382

    Participant

    I love bbPress toolbar, how can I make mine exactely like it?

Viewing 7 replies - 1 through 7 (of 7 total)
  • @robin-w

    Moderator

    if you mean the stuff on the left of this, then

    install

    bbp style pack

    If you then go to

    dashboard>settings>bbp style pack>widgets

    you will see additional widgets for the forum and topic info

    if you can create a sidebar, you can add the forum info and topic info widgets there

    Not exactly the left, but part way there !!

    @alexandra440382

    Participant

    Thanks, but I meant the toolbar at the top, below the green bar where visitors see “anonymous” and members see their account with a submenu containing information about their account.

    @alexandra440382

    Participant

    The tweaked default WordPress toolbar.

    @robin-w

    Moderator

    ok that is not a tweaked WordPress toolbar, just a ‘look alike’

    the code would be somewhere in here

    https://meta.trac.wordpress.org/browser/sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base

    But it would take ages to find it, so sorry not sure I can help

    @alexandra440382

    Participant

    I’ve found this easaly “header-subnav.php”

    https://meta.trac.wordpress.org/browser/sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/header-subnav.php

    <?php if ( !is_front_page() ) : ?>
    	<div id="subnav"><div id="subnav-inner">
    		<ul id="nav-secondary" class="menu">
    			<?php if ( is_user_logged_in() && function_exists( 'bbp_forums_url' ) ) : ?>
    				<li><a href="<?php bbp_forums_url( '/new-topic' ); ?>"><?php esc_html_e( 'Create New Topic', 'bborg' ); ?></a></li>
    			<?php endif; ?>
    		</ul>
    
    		<ul id="nav-user" class="menu">
    			<?php if ( ! is_user_logged_in() ) : ?>
    				<li><a href="<?php echo wp_login_url(); ?>"><?php esc_html_e( 'Log In', 'bborg' ); ?></a></li>
    				<li><a href="<?php echo wp_registration_url(); ?>"><?php esc_html_e( 'Register', 'bborg' ); ?></a></li>
    			<?php elseif ( function_exists( 'bbp_favorites_permalink' ) ) : ?>
    				<li><a href="<?php bbp_favorites_permalink( bbp_get_current_user_id() ); ?>"><?php esc_html_e( 'Favorites', 'bborg' ); ?></a></li>
    				<li><a href="<?php bbp_subscriptions_permalink( bbp_get_current_user_id() ); ?>"><?php esc_html_e( 'Subscriptions', 'bborg' ); ?></a></li>
    			<?php endif; ?>
    		</ul>
    	</div></div>
    	<hr class="hidden" />
    <?php endif;
    
    

    @alexandra440382

    Participant

    any hope?

    @robin-w

    Moderator

    If you get it working, do post back your solution

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar