Skip to main content
Code formatting
Source Link
EAMann
  • 32.2k
  • 9
  • 88
  • 147

Is there a way to call the toolbar or adminbar as you would a menu?

Is<?php there 
 a way to callwp_nav_menu( the 
 toolbar or adminbar as you would a menu?array( 
<?php wp_nav_menu( array(          'container' => false, 
            'menu_id' => 'nav', 
            'theme_location' => 'primary', 
            'fallback_cb' => 'bp_dtheme_main_nav' 
        ) 
    );  
?>

I want to add the toolbar to a div within the header.php file. Currently the toolbar is being called in the footer.php and styled by the css to a fixed position in the body.

Or perhaps is there a script I could run which would amend a div around the <div id="wp-admin-bar">?

Or perhaps is there a script I could run which would amend a div around the <div id="wp-admin-bar">?

I am running the latest install of WordPress, 3.3.1 with BuddyPress as a plugin. Using a child-theme I created. I've noticed a few of the normal WordPress functions do not work well with the BuddyPress plugin.

Is there a way to call the toolbar or adminbar as you would a menu?
<?php wp_nav_menu( array( 'container' => false, 'menu_id' => 'nav', 'theme_location' => 'primary', 'fallback_cb' => 'bp_dtheme_main_nav' ) ); ?>

I want to add the toolbar to a div within the header.php file. Currently the toolbar is being called in the footer.php and styled by the css to a fixed position in the body.

Or perhaps is there a script I could run which would amend a div around the <div id="wp-admin-bar">?

I am running the latest install of WordPress, 3.3.1 with BuddyPress as a plugin. Using a child-theme I created. I've noticed a few of the normal WordPress functions do not work well with the BuddyPress plugin.

Is there a way to call the toolbar or adminbar as you would a menu?

<?php  
    wp_nav_menu(  
        array( 
            'container' => false, 
            'menu_id' => 'nav', 
            'theme_location' => 'primary', 
            'fallback_cb' => 'bp_dtheme_main_nav' 
        ) 
    );  
?>

I want to add the toolbar to a div within the header.php file. Currently the toolbar is being called in the footer.php and styled by the css to a fixed position in the body.

Or perhaps is there a script I could run which would amend a div around the <div id="wp-admin-bar">?

I am running the latest install of WordPress, 3.3.1 with BuddyPress as a plugin. Using a child-theme I created. I've noticed a few of the normal WordPress functions do not work well with the BuddyPress plugin.

Source Link
Kapitol
  • 69
  • 1
  • 2
  • 8

BuddyPress Toolbar

Is there a way to call the toolbar or adminbar as you would a menu?
<?php wp_nav_menu( array( 'container' => false, 'menu_id' => 'nav', 'theme_location' => 'primary', 'fallback_cb' => 'bp_dtheme_main_nav' ) ); ?>

I want to add the toolbar to a div within the header.php file. Currently the toolbar is being called in the footer.php and styled by the css to a fixed position in the body.

Or perhaps is there a script I could run which would amend a div around the <div id="wp-admin-bar">?

I am running the latest install of WordPress, 3.3.1 with BuddyPress as a plugin. Using a child-theme I created. I've noticed a few of the normal WordPress functions do not work well with the BuddyPress plugin.