This is a problem with the theme you are using.
Change the line in header.php saying
<?php bp_site_name() ?>
to
<?php bloginfo('name');?>
and It will work as you want it to .
Got that working right. Now I have a new problem. The blog title is showing properly in the header but at the top, in the buddypress links, although it still shows the name of the home site the link is not.
If you’ll go to http://judysbookshop.com/wildcatmolds
You’ll see that the name WildCat Molds is properly showing and the link is the same page. That’s ok. But up at the top in the buddypress links you’ll see the name Crafters Center with the same link as the present page. I’d like it to link back to the home site.
How can I do that?
Thanks in advance.
Gald It worked.
I see you have buddypress Installed on main site /center and enabled on the blogs using the config.
so, that’s why, It is showing the main site.
anyway, you can manage that using conditional like this
<?php
global $current_blog;
if($current_blog->blog_id != BP_ROOT_BLOG){
//remove action which was registerd by buddypress
remove_action( 'bp_adminbar_logo', 'bp_adminbar_logo' );
}
//add your own action here
add_action( 'bp_adminbar_logo', 'my_blog_logo' );
function my_blog_logo() {
echo '<a href="' . get_bloginfo('home') . '" id="admin-bar-logo">' . get_option('blogname') . '</a>';
}
?>
That should do it.
Are you talking about wp-config?
no, It should go to bp-config.php or the functions.php of your theme.
Just making sure you understood what I’m looking for. On the sub blogs, like that wildcatmolds, I want that upper link that reads Crafters Center, to link to the home site.
if I understood it right, You wanted to change the links in the topbar(which is not visible to me because it is not visible to non logged in users), and if you are talking about that topbar, then the code should work.