GeoDirectory Supportcustom sidebar buddypress integration – GeoDirectory Support https://wpgeodirectory.com/support/topic/custom-sidebar-buddypress-integration/feed Tue, 24 Feb 2026 17:57:31 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/custom-sidebar-buddypress-integration/#post-39546 <![CDATA[custom sidebar buddypress integration]]> https://wpgeodirectory.com/support/topic/custom-sidebar-buddypress-integration/#post-39546 Thu, 14 May 2015 19:37:39 +0000 viguursthijs Gentlemen,

what would you recommend to be the best approach if we want to add a separate sidebar to the combined buddypress/wpgeo-profile pages of our users?

I find many advices on tweaking the buddypress sidebar.php file, but my guts feeling tells me that this is not the way to go, because the main look and feel is managed by (in our case) the wpgeotheme framework and its child modern theme.

We’ve succeeded in adding a separate widget area, so that’s fixed, but now we want to add that to the profile page.

Am I clear enough?

Thanks again!

]]>
https://wpgeodirectory.com/support/topic/custom-sidebar-buddypress-integration/#post-39622 <![CDATA[Reply To: custom sidebar buddypress integration]]> https://wpgeodirectory.com/support/topic/custom-sidebar-buddypress-integration/#post-39622 Fri, 15 May 2015 17:30:47 +0000 Paolo Hi,

Buddyress uses the default page sidebar.

Just go into page.php of the child theme and use a conditional tag to make it call your custom sidebar instead of the default sidebar, when needed.

Buddypres conditional tags are:

Profile Page:



if (bp_is_user())

Users page:

if (bp_is_directory())

Others BP pages:

bp_current_component()

Example:



if(bp_current_component('members'))

To know the name of the page:

echo bp_current_component();

These info are already availble in the Buddypress forums too.

Thank you,

]]>
https://wpgeodirectory.com/support/topic/custom-sidebar-buddypress-integration/#post-39623 <![CDATA[Reply To: custom sidebar buddypress integration]]> https://wpgeodirectory.com/support/topic/custom-sidebar-buddypress-integration/#post-39623 Fri, 15 May 2015 17:33:48 +0000 Paolo https://codex.buddypress.org/developer/template-tag-reference/#is_-functions

]]>