Using BP_DEFAULT_COMPONENT with a subnav item
I’m trying to select a component from the activity subnav menu (the “following” tab from a plugin) to show up as the landing page… However I can’t seem to figure out how to.
Using define(‘BP_DEFAULT_COMPONENT’,’_____’); in bp-custom.php works for items in the top navigation, but not for subnav items. I’ve tried writing it out as define(‘BP_DEFAULT_COMPONENT’,’activity/following’) but that doesn’t work… It’s not plugin related since I can’t get any other subnav item to show up as the default, but all the top-level ones work fine. I’m probably just doing this wrong, but I’ve tried a few variations with no success.
(PS – Thanks, and happy new years!)
- The topic ‘Using BP_DEFAULT_COMPONENT with a subnav item’ is closed to new replies.