Group Admins

  • Avatar Image

Child Themes for BP 1.2 bp-default theme

Public Group active 1 month, 1 week ago

Playing with child themes for BP 1.2 …. I think :-)

Header and Footer

Last edited by mercime on 28 July, 2010 at 15:54

Now that you’ve created a child theme folder (MyChildTheme in this example) with revised style.css from 1.2 bp-default and a screenshot of your design inside, upload this folder and content to your server via FTP or cpanel. Note: much better to develop the theme in localhost though because you only need to drag over the folder to the localhost folder.

Enable this child theme either thru:
a) Site > Themes, enable and save then go to dashboard of specific blog and go to Appearance > Themes and activate the theme
OR
b) Site > Blogs > Edit the blog you want to enable this theme for, save, then go to the dashboard of the blog and Appearance > Themes to activate the theme.

Now open up the 1.2 bp-default theme and copy the header.php and footer.php and paste to MyChildTheme folder in your computer. We’ll be dealing with these one at a time. First, we need to get our HTML structure in order.

Update: 02-09-10

BP trunk-r2639 included wp_list_pages in BP navigation bar.

I didn’t notice this with my custom BP-1.2 child themes because my child theme’s header.php were reconfigured to show what I wanted it to show.But with test install of WordPress 3.0-alpha along with BuddyPress 1.2 trunk version with vanilla 1.2 bp-default theme, the XML import of content in WPMU used as CMS rendered this:

 

Result of wp_list_pages in trunk bp-default

In previous versions, navigation was set to the hard-coded links for BP components then action for bp_nav_items. In this version, the main navigation in the header holds links to BP components, wp_list_pages then bp_nav_items. Hmmmm.

Post Revisions Summary (7)

Only 6 of 7 revisions shown. Select the 'Revision History' button to view a list of all revisions.

Comments (0)