300 pointsWPMU DEV ExpertSeriously helpful member
Pali Baacsi
Member
—
11th June 2010 (1 year ago)
Hi There,
I'm looking to remove the Buddypress Navigation from the header information in my Buddypress Social Theme (which I love, by the way.) Can you tell me the recommended way that I do that?
I'm looking to remove the Buddypress Navigation from the header information in my Buddypress Social Theme (which I love, by the way.) Can you tell me the recommended way that I do that?
To be clear, I'm a novice with php, but not afraid of playing with the code. However, if the above requests can be handled by altering the child theme, I'd love to know how.
@pbarthmaier: Can you confirm what theme you are using as the file you said does not seem to relate to that theme - you said it was BuddyPress Social is this correct?
There is no such file in Social. I'll happily help you but I'm getting really confused here.
If you want to remove the buddypress bits from Social you want to edit navigation.php. You can literally remove all apart from the following in that file:
Many thanks. And I'm sorry for not understanding enough to be able to even ask the question properly!!! Ok, what I'd like to remove are the links in the blank space to the upper right of the theme, not the nav bar stuff. Essentially, two lines of text links like: Welcome back, admin
* Activity * Profile * Blogs (5) * Messages * Friends (7)
* Groups (14) * Wire (0) * Points * Settings * Log Out
How can I get rid of them? And you can forget the part about child theme, if that doesn't make any sense. I was thinking that a change that I make to the parent them php would be overwritten in an update, but perhaps that's restricted to CSS. As I said, I'm a novice. Thanks again.
@pbarthmaier: no problems at all you just confused me that is all :)
Ah you want to remove the core buddypress links... that is not an easy task you won't be able to do this as part of a child theme either or at least not easy. I would highly suggest unless you do know coding you do not do this but to be clear before I suggest or don't can you provide a link to the page you want to change on a live site so we're talking real life examples - often less confusion occurs then.
We 'may' be able to do a css hide but again I think you are on about core buddypress bits and a little puzzle why you would in fact.... I think we're at the link point so if you can provide one I can look and respond.
@pbarthmaier: Just to clarify what are you trying to achieve to remove the navigation: bit you show in the screenshot OR to remove the other listing of buddypress navigation you said in the post before:
Well, in the screen shot there is just gray space, not the words/links:
* Activity * Profile * Blogs (5) * Messages * Friends (7)
* Groups (14) * Wire (0) * Points * Settings * Log Out
It would be nice if the navigation were only done with the tabs that are showing in the jpg and the drop down stuff inherent to buddypress. But the gray area would just be gray space, no links.
Responses (13)
Member — 15th June 2010 (1 year ago) #
Can I get a little help with the above request? I think I'm supposed to look for the file:
library/components/buddypress/buddypress-navigation.php
but I don't see anything with that name.
Please help today, if you can.
Member — 15th June 2010 (1 year ago) #
To be clear, I'm a novice with php, but not afraid of playing with the code. However, if the above requests can be handled by altering the child theme, I'd love to know how.
Lead Developer — 15th June 2010 (1 year ago) #
Exactly what do you mean by buddypress navigation. Do you mean the nav bar at the top of every blog with the drop downs, or the theme's header?
Theme Designer — 15th June 2010 (1 year ago) #
@pbarthmaier: Can you confirm what theme you are using as the file you said does not seem to relate to that theme - you said it was BuddyPress Social is this correct?
Member — 15th June 2010 (1 year ago) #
BP Social, correct. There are a bunch of links in the header. Not the nav bar.
Theme Designer — 15th June 2010 (1 year ago) #
@pbarthmaier: You will have to forgive me but this has me very confused:
There is no such file in Social. I'll happily help you but I'm getting really confused here.
If you want to remove the buddypress bits from Social you want to edit navigation.php. You can literally remove all apart from the following in that file:
<?php wp_list_pages( 'title_li=&depth=0&exclude=' . bp_dtheme_page_on_front() ); ?>
<?php do_action( 'bp_nav_items' ); ?>
It all depends on how extensive you want to remove the buddypress or also the wpmu and buddypress bits - as in the multi blog and so on....
I'm still confused / wandering about your file you said you were wanting to look in though.
Member — 15th June 2010 (1 year ago) #
Hi Tammie,
Many thanks. And I'm sorry for not understanding enough to be able to even ask the question properly!!! Ok, what I'd like to remove are the links in the blank space to the upper right of the theme, not the nav bar stuff. Essentially, two lines of text links like: Welcome back, admin
* Activity * Profile * Blogs (5) * Messages * Friends (7)
* Groups (14) * Wire (0) * Points * Settings * Log Out
How can I get rid of them? And you can forget the part about child theme, if that doesn't make any sense. I was thinking that a change that I make to the parent them php would be overwritten in an update, but perhaps that's restricted to CSS. As I said, I'm a novice. Thanks again.
Theme Designer — 15th June 2010 (1 year ago) #
@pbarthmaier: no problems at all you just confused me that is all :)
Ah you want to remove the core buddypress links... that is not an easy task you won't be able to do this as part of a child theme either or at least not easy. I would highly suggest unless you do know coding you do not do this but to be clear before I suggest or don't can you provide a link to the page you want to change on a live site so we're talking real life examples - often less confusion occurs then.
We 'may' be able to do a css hide but again I think you are on about core buddypress bits and a little puzzle why you would in fact.... I think we're at the link point so if you can provide one I can look and respond.
Member — 15th June 2010 (1 year ago) #
Here's a link to one of the blogs:
http://authenticis.net/neilcrofts/
another one tried switching the theme and had a problem with his graphic at:
http://authenticis.net/setyourspiritfree/
I set up a blog and saw the attached screen capture and thought it looked pretty clean.
Do I need to send login information in PM?
Theme Designer — 15th June 2010 (1 year ago) #
@pbarthmaier: Just to clarify what are you trying to achieve to remove the navigation: bit you show in the screenshot OR to remove the other listing of buddypress navigation you said in the post before:
Member — 15th June 2010 (1 year ago) #
Well, in the screen shot there is just gray space, not the words/links:
* Activity * Profile * Blogs (5) * Messages * Friends (7)
* Groups (14) * Wire (0) * Points * Settings * Log Out
It would be nice if the navigation were only done with the tabs that are showing in the jpg and the drop down stuff inherent to buddypress. But the gray area would just be gray space, no links.
Geeky Developer — 16th June 2010 (1 year ago) #
you just need to open top-bar.php and in line 15 comment out the
<?php bp_get_loggedin_user_nav() ?>like this
<?php /* bp_get_loggedin_user_nav() */ ?>cheers
Member — 16th June 2010 (1 year ago) #
Richie,
Your brilliance is a beautiful thing. Exactly what I was looking to do. Thank you so much.
Become a member