first thanks for this awesome “commons in a box”.
I’ve a probleme with subnavitem in buddypress.
I’m using your default theme.
I’ve made a plugin for resume your education profile.You can add school, year, country.
When I activate the plugin everything is ok, I can see the item in my profil navigation under Profil and just before Message.
I want to add two subnav item : Add and Show.
I use this code which is ok on other theme :
$add_page = array(
'name' => 'Ajouter',
'slug' => 'add',
'parent_url' => $parent_url,
'parent_slug' => $this->component_slug,
'screen_function' => array($this, 'resume_page'),
'position' => 20,
'user_has_access' => ( bp_is_my_profile() || current_user_can('administrator') )
But nothing appears on my profile.
What am I doing wrong?
Thanks in advance.