| Line | |
|---|
| 1 | <?php |
|---|
| 2 | /** |
|---|
| 3 | * The sidebar containing the main widget area |
|---|
| 4 | * |
|---|
| 5 | * @subpackage MultiSport |
|---|
| 6 | * @author customizablethemes |
|---|
| 7 | * @since MultiSport 1.0.0 |
|---|
| 8 | * |
|---|
| 9 | */ |
|---|
| 10 | ?> |
|---|
| 11 | |
|---|
| 12 | <aside id="sidebar"> |
|---|
| 13 | |
|---|
| 14 | <?php |
|---|
| 15 | /** |
|---|
| 16 | * Display Widgets dragged in the 'Sidebar' Widget Area |
|---|
| 17 | */ |
|---|
| 18 | ?> |
|---|
| 19 | <?php if ( !dynamic_sidebar( 'sidebar-widget-area' ) ) : ?> |
|---|
| 20 | |
|---|
| 21 | <?php |
|---|
| 22 | /** |
|---|
| 23 | * Add Default Widgets for 'Sidebar Widget Area' |
|---|
| 24 | * If you want to customize it, log in to your WordPress Admin Panel, |
|---|
| 25 | * Goto Appearance -> Widgets and drag widgets to 'Sidebar' |
|---|
| 26 | */ |
|---|
| 27 | ?> |
|---|
| 28 | <?php |
|---|
| 29 | |
|---|
| 30 | the_widget( 'WP_Widget_Categories', array(), array ('before_title' => '<h3 class="sidebar-title">', |
|---|
| 31 | 'after_title' => '</h3><div class="sidebar-after-title"></div>') ); |
|---|
| 32 | |
|---|
| 33 | the_widget( 'WP_Widget_Archives', array(), array ('before_title' => '<h3 class="sidebar-title">', |
|---|
| 34 | 'after_title' => '</h3><div class="sidebar-after-title"></div>') ); |
|---|
| 35 | ?> |
|---|
| 36 | |
|---|
| 37 | <?php endif; ?> |
|---|
| 38 | |
|---|
| 39 | </aside><!-- #sidebar --> |
|---|
Note: See
TracBrowser
for help on using the repository browser.