Merging the content of a sub-nav item with another in profiles
-
I want to display the awards from Cubepoints in the Profile > Public tab of BuddyPress profiles. This is the tab that i have chosen as default when visiting someone’s profile and i’d like members to be able to see each other’s unlocked awards directly when doing so instead of having to click Points > Awards to get there.
This is the Cubepoints code for displaying the Awards nav item:
bp_core_new_subnav_item( array( 'name' => __( $cb_bp_awardstitle, 'cp_buddypress' ), 'slug' => $bp->cubepoint->awards_slug, 'parent_slug' => $bp->buddypress->slug, 'parent_url' => $cubepoint_link, 'screen_function' => 'bp_cubepoint_screen_awards', 'position' => 70, ) );
Does this code help anyone help me in understanding what i need to do in order to simply get the content of this Awards sub-nav item to show up in the Profile > Public parent-nav item in profiles?
- The topic ‘Merging the content of a sub-nav item with another in profiles’ is closed to new replies.