WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Admin Bar Improved
Does not work anymore (11 posts)

  1. tarmentano
    Member
    Posted 3 years ago #

    The admin bar no longer displays when the user is logged out. I'm on version 3.01. Please update. Does anyone know of a way to duplicate the admin bar that sits at the top of WordPress.com? This plugin used to do that.

    http://wordpress.org/extend/plugins/wordpress-admin-bar-improved/

  2. Donald Gilbert
    Member
    Plugin Author

    Posted 3 years ago #

    Sorry, but with the upcoming release of WP 3.1 with the included Admin Bar, I'm going to have to rethink the development of this plugin. I'll see what's missing from the final 3.1 admin bar, and do what I can to make it more like the WordPress.com bar. The most notable thing missing was the login, and I don't think that that is actually going to be implemented in 3.1.

  3. sharris203
    Member
    Posted 3 years ago #

    Any way to use code from this to just display the login form in the bar for guests? (since the 3.1 bar already shows for logged in users)

  4. Donald Gilbert
    Member
    Plugin Author

    Posted 3 years ago #

    I'll have to look into that - should be able to though. Give me a couple days.

    I'd like to rework this plugin, since 3.1 kind of negates it's usefulness. Maybe add a bunch of options to extend the 3.1 admin bar - that'd be cool.

  5. tarmentano
    Member
    Posted 3 years ago #

    I found that this plugin displays the admin bar for guests http://wordpress.org/extend/plugins/logged-out-admin-bar/ however I would like to be able to add facebook, twitter, and youtube buttons to the admin bar. any ideas?

    Terence

  6. Donald Gilbert
    Member
    Plugin Author

    Posted 3 years ago #

    @sharris203 - the plugin has been updated for WP3.1 and works wonderfully. Check it out and let me know what you think.

  7. Donald Gilbert
    Member
    Plugin Author

    Posted 3 years ago #

    @tarmentano - that's something I could consider - where would you like those buttons to be and look like? centered in the bar? to the left or right? have icons? or just text?

  8. tarmentano
    Member
    Posted 3 years ago #

    @Donald Gilbert -- Thanks for the fast reply. 2 Things... First, I have installed the plugin here https://blogs.bgsu.edu/ however, as the site admin, I am unable to log in from whatever blog I go to on the site. It will only allow me to log in via the admin bar on the homepage. I tried adding the following code to the form but it didn't work --- action="<?php echo get_settings('siteurl'); ?>/wp-login.php --- Andy ideas?

    Also, I think those buttons would be cool to add directly after the login form -- It would be nice to post our homepage, facebook, twitter, and youtube buttons there. Let me know what you think.

    Thanks for your time Donald

    Terence

  9. sharris203
    Member
    Posted 3 years ago #

    Hey the plugin works great now. Just a couple things: is there a way to hide the search bar (only if logged out), and a way to center the login form on the bar?

    @tarmentano - Here's some tips on how to add custom buttons.
    http://sumtips.com/2011/03/customize-wordpress-admin-bar.html

    You can use this. I made it for my site. It's a plugin. Just put it in a php file.

    <?php
    /*
    Plugin Name: More buttons on the Admin Bar
    Plugin URI: http://yoursite.com
    Description: Facebook, Twitter, etc links on the admin bar
    Version: 1.0
    Author: YourSite.com
    Author URI: http://yoursite.com
    License: GPL2
    */
    
    function my_admin_bar_menu() {
    	global $wp_admin_bar;
    
    	$wp_admin_bar->add_menu( array(
    	'id' => 'facebook',
    	'title' => __( 'Facebook'),
    	'href' => 'http://facebook.com/yourname' ) );
    
    	$wp_admin_bar->add_menu( array(
    	'id' => 'twitter',
    	'title' => __( 'Twitter'),
    	'href' => 'http://twitter.com/yourname' ) );
    
    }
    add_action('admin_bar_menu', 'my_admin_bar_menu', 30);
    
    ?>
  10. tarmentano
    Member
    Posted 3 years ago #

    Thanks @sharris203 - Would it be difficult to add little icon links for facebook, twitter, etc horizontally instead of text links?

    Also, any idea why I, as network admin, am unable to sign in to a blog on the network from the wordpress admin bar improved plugin?

    Thanks
    Terence

  11. sharris203
    Member
    Posted 3 years ago #

    @tarmentano, sorry I don't know much about coding myself, I just took code from that website and figured out how to put some things together. Admin login on the bar works fine for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic