WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WP logo/link in top menu of Buddypress site (5 posts)

  1. _beatrice_
    Member
    Posted 1 year ago #

    Is there a way to hide the WP logo in the upper left corner of a WordPress site using the BuddyPress theme Frisco for Buddypress?

  2. David Carson
    Member
    Posted 1 year ago #

    This isn't really a Frisco theme issue. But if you drop this code in your theme's functions file or custom functions file, I think it will do what you'd like:

    /**
    * Remove the WP Logo dropdown from the WP Admin/Toolbar
    */
    function remove_toolbar_wp_logo() {
      global $wp_admin_bar;
      $wp_admin_bar->remove_menu('wp-logo');
    }
    add_action('wp_before_admin_bar_render', 'remove_toolbar_wp_logo');
  3. _beatrice_
    Member
    Posted 1 year ago #

    Yes, that did the trick, thank you. I may like to remove that top bar altogether eventually, but this is perfect!

  4. tonewilliams
    Member
    Posted 1 year ago #

    This worked for me also. Added to functions.php

  5. NextTrak
    Member
    Posted 1 year ago #

    Thanks for the post.
    I used the code in one of my buddypress website and it worked nice.

    Regards
    NextTrak.com

Topic Closed

This topic has been closed to new replies.

About this Topic