How to make a unique sidebar for buddypress pages in wordpress?
The thing is that the pages buddypress for wordpress are pages of type "page". Accordingly, all use the default sidebar that is used on all pages of type "page". But the buddypress pages also have their own identifiers that are not CPT (custom post types), but for them to hang on to, for example the group can guess in bp_is_group(), which gives true or Netra. Coolestone by checking, if true, replace the default sidebar on the right. Just how can this best be done?
Without plug-ins. Because plug-ins or have a very large and unnecessary functionality, which is a dead weight, or simply not allow you to cover all the pages of the BP, and give the opportunity to bring the widgets only on the main BP page.