WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Genesis Admin Bar Plus

Adds resource links related to the Genesis Framework to the admin bar.

Add Custom Items

Here's an example which removes the StudioPress menu (you only need to remove the parent item to remove all of the child items too), moves the Support menu item to the bottom of the submenu and adds some custom menu items in:

add_action( 'gabp_menu_items', 'child_gabp_menu_items', 10, 3 );
/**
 * Amend the menu items in the Genesis Admin Bar Plus plugin.
 *
 * @param Genesis_Admin_Bar_Plus_Menu $menu
 * @param string $prefix
 * @param string $genesis
 */
function child_gabp_menu_items( $menu, $prefix, $genesis ) {
    $garyjones = $prefix . 'gary-jones';

    // Remove StudioPress item
    $menu->remove_item('studiopress');

    // Add Gary Jones item
    $menu->add_item( 'gary-jones', array(
        'parent'   => $genesis,
        'title'    => 'Gary Jones',
        'href'     => 'http://garyjones.co.uk/',
        'position' => 30
    ) );

    // Add Gary Jones submenu items
    $menu->add_item( 'code-gary-jones', array(
        'parent'   => $garyjones,
        'title'    => 'Code Gallery',
        'href'     => 'http://code.garyjones.co.uk/',
        'position' => 10
    ) );
    $menu->add_item( 'garyj', array(
        'parent'   => $garyjones,
        'title'    => 'GaryJ',
        'href'     => 'http://twitter.com/GaryJ',
        'position' => 20
    ) );

    // Amend position of Support menu item - child items will move correctly too
    // as of v1.1
    $menu->edit_item( 'support', array(
        'position' => 50
    ) );
}

Add Support Boards

To a add a reference to a support board (perhaps for the child theme the active theme is based on, or a plugin the site uses, etc), you can add something like one of the following to the child theme functions.php file.

add_theme_support('gabp-support-genesis'); // Adds direct link to Genesis support board
add_theme_support('gabp-support-pretty-young-thing'); // Adds link to Pretty Young Thing child theme support board
add_theme_support('gabp-support-prose');  // Adds link to Prose child theme support board
add_theme_support('gabp-support-focus'); // Adds link to Focus child theme support board
add_theme_support('gabp-support-translations'); // Adds direct link to Genesis Translations support board
add_theme_support('gabp-support-plugins'); // Adds direct link to StudioPress Plugins support board
add_theme_support('gabp-support-genesisconnect'); // Adds direct link to GenesisConnect support board

For child themes, the bit after the gabp-support- string must be the theme name, lowercase, with spaces replaced with hyphens.

Translations

Requires: 3.3 or higher
Compatible up to: 3.3.2
Last Updated: 2012-2-11
Downloads: 11,832

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2 100,1,1
100,2,2 100,1,1 100,1,1 100,1,1 100,1,1
100,2,2
100,2,2 100,1,1
100,1,1 100,1,1 100,2,2
100,1,1