New friends sub-nav issue
I am using the WDS BP Project Framework for my custom buddypress build.
I am attempting to create a custom sub-nav item on the friends page similar to the requests sub-nav item. I have created the new sub-nav with a custom function successfully and pointing to a new file i copied from members\single\friends\requests.php. I also made a case for it in members\single\friends.php.
The include on the below line no longer works in the new sub-nav:
<?php if ( bp_has_members( ‘type=alphabetical&include=’ . bp_get_friendship_requests() ) ) : ?>
If I remove the include it works fine and returns members that are friends and other parameters work like type=online etc. Any ideas how i could do an include similar to the above to work? I simply want to pass in some user id’s to limit it to.
- You must be logged in to reply to this topic.