Important Notice For BuddyPress Theme Developers

Important Notice For BuddyPress Theme Developers

BuddyPress 1.7 will be compatible with all WordPress themes

BuddyPress 1.7 is very soon on its way to a dashboard near you. Theme compatibility is one of the most exciting features of the upcoming 1.7 release. But how will this affect existing BuddyPress themes?

If you’re a BuddyPress theme author and your theme supplies its own BuddyPress templates, you will need to prevent BuddyPress from running its theme compatibility when your theme is active. Boone Gorges outlined how to do this in the latest post on the BuddyPress Development blog. You’ll want to add this line to your theme’s functions.php file:

{code type=php}add_theme_support( ‘buddypress’ );{/code}

Although BuddyPress knows not to load its theme compat when it finds your PHP templates, it needs to be told if you’re already using your own CSS and JS for your BuddyPress theme. You don’t want to cause any conflicts in styling or AJAX with BuddyPress trying to load scripts that your theme is already loading.

Please note that if you have created a child theme of the BuddyPress default theme, there is no need to manually register BuddyPress support.

Going forward, theme developers will need to use this function when building fully custom themes that load that load their own CSS/JS files. Read more about bit on BuddyPress trac ticket #4846