26. So how do I get started?
1. BuddyPress Template Pack
2. bp-default child theme
3. From scratch
27. 1. BuddyPress Template Pack
http://wordpress.org/extend/plugins/bp-template-pack/
A plugin that adds the necessary
template files to your existing theme
28. 1. BuddyPress Template Pack
http://wordpress.org/extend/plugins/bp-template-pack/
A plugin that adds the necessary
template files to your existing theme
activity/
blogs/
forums/
groups/
members/
registration/
29. 2. bp-default child theme
http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/
• Declare the parent theme in style.css
/*
Theme Name: BP Cha-Ching!
Template: bp-default
Tags: buddypress
*/
• Import the parent theme’s stylesheet
/* Inherit the default theme styles */
@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/
default.css );
/* Inherit the default theme adminbar styles */
@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/
adminbar.css );
• Override the templates you want to replace
31. 2. bp-default child theme
http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/
Some examples:
• buddypress.org
• CUNY Academic Commons
• BP Tricks
32. 3. From scratch
Like mom used to make
http://codex.buddypress.org/developer-docs/custom-buddypress-loops/
33. 3. From scratch
Like mom used to make
Know your template tags
bp-activity/bp-activity-templatetags.php
bp-blogs/bp-blogs-templatetags.php
bp-core/bp-core-templatetags.php
bp-forums/bp-forums-templatetags.php
etc
34. How do I know?
• Use the BuddyPress Template Pack when...
• you already have a WP theme, and want to add BP
functionality
• Build a child theme of bp-default when...
• you want to maximize upgradability
• Build a theme from scratch when...
• you only need a few BP features, and maybe you
don’t want it to look like BP at all