BuddyPress 默认主题

BuddyPress 默认主题

Codex Home → Legacy Docs → Archived Section: Theme Development → The BuddyPress Default Theme
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#sidebar

[SIDEBAR CONTENT]

[FOOTER] div#footer

To be more specific, the general theme structure is shown below:
?123456789101112131415161718192021222324252627282930313233343536373839404142434445// Start of header.php    

        

        

            

                

                                

            

        

         

     // End of header.php //Start of Template files         

                

                              

            

             

                

                 // login form, widgets, etc.             

            

     // End of Template files // Start of footer.php     

         

            paragraph    

     // End of footer.php

    发表回复

    您的电子邮箱地址不会被公开。 必填项已用 * 标注