Help with BuddyPress menu items
-
Hi I recently took over a project in WordPress and I have never used BuddyPress before. My issue is that I can create and edit menu items in the admin of wordpress, but I can not find for the life of me the menu items created with BuddyPress i.e. Activity, Community +, etc. I want to delete these BP made items, but I can not find the code to where these items are listed. I have searched header.php and what looks like custom navigation.php. Is there an easier way of messing with these items than sifting through line upon line of custom code?
BP version. 1.2.8
WP version 3.4.1
BP plugins:
BP avtivity scroller
BP albums+
BP analytics
BP like
BP xtra signup
BP popular
BP share it
B vents
custom sidebars
popup
cforms
redirection
AkismetNote: I am not posting a link because it is useless with this particular site. Ps. I have searched forums for a couple hours to no avail as this is a custom theme not a default BP theme.
-
== BP version. 1.2.8 / WP version 3.4.1 ==
@ansidious I have to say it, BP version 1.2.8 is compatible with WP 3.1 and you should be using at least BP 1.5.7 with WP 3.4.1. Cool to know that you could still push BP 1.2.8 to WP 3.4.2
== My issue is that I can create and edit menu items in the admin of wordpress, but I can not find for the life of me the menu items created with BuddyPress ==
Since you[re still on BP 1.2.8, the menu is hardcoded in the header.php file used by a bp-default child theme or a WP theme with BP template pack.
bp-default supports custom menus since BP 1.5DO NOT UPGRADE until you read this: https://codex.buddypress.org/buddypress-site-administration/upgrading-buddypress/
Thank you for your quick responses! I had tried updating both WordPress and BP, but both instances crashed the site and I had to re-upload the site. Later I found comments with in the previous designer’s php comments recommending not updating. It is difficult because the site was super customized by this guy and he has recently passed away. I will try to find the correct code to remove in the header.php. Do you have any suggestions on what to look for in the code that might speed this process up?
The best solution is to move content to a dev server piece by piece, get everything right and then just trash the current db. BP has come a long way since 1.2 and you don’t need to hack the core as much to customize it.
@ansidious My condolences to the family and friends of the man who passed away. On BP 1.2,8 — bp-default theme, Lines 51 through 77 show the generated menu items in header.php file https://buddypress.trac.wordpress.org/browser/tags/1.2.8/bp-themes/bp-default/header.php where the dev could have changed the slugs and other URL
Great guys thank you for your great help, I will continue on with what you have told me!
- The topic ‘Help with BuddyPress menu items’ is closed to new replies.