Hullo there,
2 different questions here:1) I am using Circles and Profile tab creator Pro and I would like to display the circles page content as a subnav in another, custom main>subnav item.
Is it possible to achieve this with Tab Creator Pro?
I guess I would also need to edit the circles page(s) template as no navigation menu is print on such pages.Alternatively is there a way to retrieve a shortcode that cn print the circles page(s) so that I can use it with Tab creator pro?
2) Any advice on how effectively move subnavs under a different main nav item (ideally singing your tab creator plugin)?
Example> moving the Settings subnavs under > profileThanks in advance
Hi Prangesco,
Thank you for the questions.1. No. You can not use Profile Tabs Pro to move existing Tabs. You can use it to link from other pages or add new tab . in BuddyPress, the existing tabs are tied to the url and changing them is not feasible.
The plugin does offer you to move it to “Friends” component. We can update and add a hook to let you move it into another tab.
2. I am sorry, the Profile Tabs Pro can not move nav items. The reason is nav items view call back are attched to the url and can not be changed easily(unless the plugin that adds this tab allows it via some hook/filters).
Regards
BrajeshHi,
Thank you for the patience.
The update needed some major changes. That’s why it took soem time.Please upgrade to 1.1.4 and you can put a code like this in your bp-custom.php
/** * Example:- Settings 'Account/settings' component as circle parent */ add_filter( 'bcircles_parent_component_slug', function ( $slug ) { return 'settings'; } );
The above code sets the settings component as parent. You can use the slug from any component.
There is a side effect. If the parent component is not friends, we do not add adminbar nav menu sub item for circles.Regards
Brajesh
You must be logged in to reply to this topic.