Though I don’t have specific code to suggest, it seems like it would be possible to create something along the lines you mentioned by using a custom Nav Walker and generating buddypress-specific links with the $bp
global (which you can learn more about here → http://codex.buddypress.org/developer/the-bp-global/).
You could alter $output
in the custom Nav Walker based on checks against $bp
, if it even exists.
Related Posts:
- How can I create an auto-populated menu that is automatically assigned to a location?
- How to Create a Custom WordPress Navigation Menu with the Code?
- Display link with current user’s username in it in Custom Menu
- BuddyPress – How to add logout in nav menu
- How can I detect whether a BuddyPress page is active from within my theme?
- How to add php to custom link in the nav menu? [closed]
- Add Buddypress profile and messages link to WordPress menu [closed]
- Current User In Custom Menu Item URL [closed]
- How to add buddypress sub-menu items to other menus
- buddypress slug issues [closed]
- Customizing Only a Specific Menu using the “wp_nav_menu_items” Hook?
- How make top level menu item not have link, but have sub-menus that are linked?
- How to Hard Code Custom menu items
- How Does The Walker Class Work?
- How to stop mobile theme inheriting desktop navigation menu?
- Increase search results for Admin -> Appearance -> Menus -> Search (default is 10)
- Large WP 3.0 menu times out and won’t save
- How do I add the data-toggle=”modal” data-target=”#myModal” attribures to a WP Nav bar?
- Minor css-change based on topmenu – how?
- add the user name to menu when user is logged in [closed]
- Get menu links only
- Filter menu item to add classes/attributes?
- Edit html for menu items in default frontend menu
- html/bootstrap menu to wordpress with dropdown
- Inserting PHP before a menu element, while using the inbuilt menu function wp_nav_menu()
- Add an extra field to the navigation menu box?
- Adding custom text in items titles from wp_nav_menu()
- Merge two separate WP menus into one in Mobile view
- Programmatically adding menu items function replicates in multiple menus
- How do i style the current menu anchor link’s parent anchor link? [closed]
- Does the menu item ID ever change?
- Why do the menu titles change with the renaming of pages?
- get menu id using its name
- Force PDF download from custom menu?
- How to quickly create a dummy menu?
- wp_list_pages: only show subpages on the parent page?
- How do I remove the link element from the current page in a wp_list_pages menu?
- Make menu bootstrap compatible
- How to construct a custom html for submenus
- JSON file export of nav menu
- WordPress get or set active menu class
- switch_to_blog() and wp_nav_menu() not functioning properly
- SlideDeck 2, make back-end visible for admins only
- How to add ID attribute to each submenu?
- From a page, is it possible to find entry’s “menu_item_parent”?
- WordPress menu link not working
- Determine the last child of the parent menu WP Nav Walker
- Edit menu parent element
- Navigation doesn’t render when wp is hosted
- WordPress menu performance is slow when lot of items [closed]
- HTML list menu to WordPress menu
- Filter Menu Items by Custom User Role in a page
- Does is_child() exist in wp 3.5.1?
- Add “drop-down arrow” for menu items with sub-menus
- Cannot seem to replace the native menu with the menu I created, so 2 menus appear
- Hide menu items if the page content is empty
- Output menu title
- Add Labels to Admin Menu ( How To )
- Adding new pages to Menu
- WP navigation list classes
- Hamburger Menu not working on reduced browser size
- unable to add custom page/tab to my account woocommerce
- Switch an entire nav menu if user is logged in
- Pull Menu Items Into an HTML element
- WordPress functions.php does not affect the theme menus
- Drop Down menu expanded by default (on front page) [closed]
- Simple form to add custom links to menu?
- Wrap wp_nav_menu output around option tags for select menu
- How to get current pages menu text?
- What’s the best way to customize the WordPress Menu Page (in admin)
- Catagorized hierarchy menu for PAGES!
- Making the menu toggled open on mobile devices Illustratr theme
- How to include second layer sub menu to Walker Nav?
- need help in wordpress navbar setup
- Event listener callback returns undefined element
- Add class to sub-menu from unrelated element
- Add CSS Class to WordPress Menu Item Dependent on the Page the User is Visiting
- Menu walker: how to tell if a sub menu contains submenus?
- How do i make a custom top level dashboard menu item available for all users?
- Walker or wp_get_nav_menu_items VS jQuery
- I can’t correctly display menu
- Specific Page that convert Hyperlink to anchor in nav menu
- Disappearing items in menu
- Menu not saving in dashboard
- Help with changing style of the extended menu drop down [closed]
- Where these arguments are defined?
- How do i keep my current page menu highlighted on pagination?
- How we show pages in dropdown
- Menu support for touch devices
- WordPress Flyout Menus
- Pick out specific menu item from code
- Show All Children of WordPress Menu
- How to make an anchored page in a navigation menu tab
- highlight parent page on menu when child page is on sidebar (and not on menu)
- nav tag wrapping around dropdown
- Resolve the debugs
- How to set menu Display location
- How to add custom menu to block theme?
- get menu name for the current displayed page
- How to change mobile menu (toggle) icon in WordPress – Full Site Editing?