Changing log in menu-item (buddypress 1.5)
-
I’ve read the tutorials, and am trying to alter the log-in item on the buddypress menu. I want to replace it with an Ajax login so it will stay on the current page, but the first step is to disable the existing log-in. I’m using this code in functions.php to try to disable it:
remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_login_menu’);
I’ve looked at the Buddypress code in file bp-core-buddybar.php, and this code seems correct, and all the tutorials I’ve found say it is. When I add it to functions.php in the theme used by my main installation, it works as expected and the login menu for the main site (call it site.com) is disabled.
But I can’t get the login menu to disable on the subdomain sites (call it sub.site.com) Those sites are running a different theme than the “parent” site, but adding the same code to the theme they run doesn’t disable the menu.
I tried running the subdomain blog with the parent theme, and the login menu correctly disables, so this is probably a theme-problem, rather than a subdomain problem. What sorts of things should I look for in my custom theme, that could prevent disabling the menu from working?
- The topic ‘Changing log in menu-item (buddypress 1.5)’ is closed to new replies.