Changeset 3458 for trunk/bp-themes/bp-default/functions.php
- Timestamp:
- 11/20/2010 06:41:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/functions.php
r3452 r3458 6 6 add_theme_support( 'automatic-feed-links' ); 7 7 8 // This theme allows users to set a custom background 9 add_custom_background(); 10 8 11 // Register the widget columns 9 register_sidebars( 1, 10 array( 11 'name' => 'Sidebar', 12 'before_widget' => '<div id="%1$s" class="widget %2$s">', 13 'after_widget' => '</div>', 14 'before_title' => '<h3 class="widgettitle">', 15 'after_title' => '</h3>' 16 ) 17 ); 12 // Area 1, located in the sidebar. Empty by default. 13 register_sidebar( array( 14 'name' => 'Sidebar', 15 'before_widget' => '<div id="%1$s" class="widget %2$s">', 16 'after_widget' => '</div>', 17 'before_title' => '<h3 class="widgettitle">', 18 'after_title' => '</h3>' 19 ) ); 20 21 // Area 2, located in the footer. Empty by default. 22 register_sidebar( array( 23 'name' => __( 'First Footer Widget Area', 'buddypress' ), 24 'id' => 'first-footer-widget-area', 25 'description' => __( 'The first footer widget area', 'buddypress' ), 26 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', 27 'after_widget' => '</li>', 28 'before_title' => '<h3 class="widgettitle">', 29 'after_title' => '</h3>', 30 ) ); 31 32 // Area 3, located in the footer. Empty by default. 33 register_sidebar( array( 34 'name' => __( 'Second Footer Widget Area', 'buddypress' ), 35 'id' => 'second-footer-widget-area', 36 'description' => __( 'The second footer widget area', 'buddypress' ), 37 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', 38 'after_widget' => '</li>', 39 'before_title' => '<h3 class="widgettitle">', 40 'after_title' => '</h3>', 41 ) ); 42 43 // Area 4, located in the footer. Empty by default. 44 register_sidebar( array( 45 'name' => __( 'Third Footer Widget Area', 'buddypress' ), 46 'id' => 'third-footer-widget-area', 47 'description' => __( 'The third footer widget area', 'buddypress' ), 48 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', 49 'after_widget' => '</li>', 50 'before_title' => '<h3 class="widgettitle">', 51 'after_title' => '</h3>', 52 ) ); 53 54 // Area 5, located in the footer. Empty by default. 55 register_sidebar( array( 56 'name' => __( 'Fourth Footer Widget Area', 'buddypress' ), 57 'id' => 'fourth-footer-widget-area', 58 'description' => __( 'The fourth footer widget area', 'buddypress' ), 59 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', 60 'after_widget' => '</li>', 61 'before_title' => '<h3 class="widgettitle">', 62 'after_title' => '</h3>', 63 ) ); 18 64 19 65 // Register navigation menu
Note: See TracChangeset
for help on using the changeset viewer.