The BuddyPress Default Theme
Archived file. Good up to BP 1.9 version. The BP Default theme will no longer be activated in new installations from BP 1.9 onwards and will be retired in the near future. http://bpdevel.wordpress.com/2013/11/13/the-future-of-the-bp-default-theme/
The BP Default theme bundled with the BuddyPress plugin is a theme framework which contains all the functionality of regular WordPress templates enhanced with BuddyPress template tags along with special templates, AJAX, JS, and CSS to render the basic components and features of BuddyPress.
Basic bp-default theme HTML Structure
bp-default theme files have the basic structure in common:
- [HEADER] div#header
- div#container
- div#content
- div.padder
- [PAGE CONTENT]
- div.padder
- div#sidebar
- [SIDEBAR CONTENT]
- div#content
- [FOOTER] div#footer
To be more specific, the general theme structure is shown below:
// Start of header.php <body id="bp-default"> <div> <h1 id="logo"></h1> <ul></ul> <div> <div class="padder"> <form> </div><!-- close div.padder --> </div><!-- close div#search-bar --> </div><!-- close div#header --> <div> // End of header.php //Start of Template files <div> <div class="padder"> <!-- Different configurations depending on page or component --> </div><!-- close div.padder --> </div><!-- close div#content --> <div> <div class="padder"> // login form, widgets, etc. </div><!-- close div.padder --> </div><!-- close div#sidebar --> // End of Template files // Start of footer.php </div><!-- close div#container --> <div> paragraph </div><!-- close div#footer --> // End of footer.php