26 February 2013
Category:
Blog
Comments: 0

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:

1
add_theme_support( 'buddypress' );

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

Related posts:

  1. Themeforest Releases Huddle: A WordPress and BuddyPress Community Theme Huddle is a new and unique BuddyPress theme now available…
  2. Coming in BuddyPress 1.7: Compatibility for ALL WordPress Themes BP 1.7 may be the most exciting BuddyPress release yet!…
  3. Status: A New Responsive Child Theme for the BuddyPress Default Theme Status is a brand new free child theme for the…

Leave a Reply

Your email address will not be published. Required fields are marked *