forked from mindctrl/alienship
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.php
More file actions
44 lines (38 loc) · 1.6 KB
/
Copy pathsidebar.php
File metadata and controls
44 lines (38 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* The Sidebar containing the main widget areas.
*
* @package Alien Ship
* @since Alien Ship 0.1
*/
?>
<?php if ( current_theme_supports( 'theme-layouts' ) && !is_admin() && 'layout-1c' !== theme_layouts_get_layout() || !current_theme_supports( 'theme-layouts' ) ) { ?>
<?php do_action( 'alienship_sidebar_before' ); ?>
<div id="sidebar" class="<?php echo apply_filters( 'alienship_sidebar_container_class', 'span3' ); ?>">
<?php do_action( 'alienship_sidebar_inside_before' ); ?>
<div id="secondary" class="<?php echo apply_filters( 'alienship_secondary_container_class', 'widget-area well' ); ?>" role="complementary">
<?php do_action( 'before_sidebar' ); ?>
<?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
<aside id="search" class="widget widget_search">
<?php get_search_form(); ?>
</aside>
<aside id="archives" class="widget">
<h3 class="widget-title"><?php _e( 'Archives', 'alienship' ); ?></h3>
<ul>
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
</ul>
</aside>
<aside id="meta" class="widget">
<h3 class="widget-title"><?php _e( 'Meta', 'alienship' ); ?></h3>
<ul>
<?php wp_register(); ?>
<aside><?php wp_loginout(); ?></aside>
<?php wp_meta(); ?>
</ul>
</aside>
<?php endif; // end sidebar widget area ?>
</div><!-- #secondary .widget-area -->
<?php do_action( 'alienship_sidebar_inside_after' ); ?>
</div><!-- #sidebar -->
<?php do_action( 'alienship_sidebar_after' ); ?>
<?php } //endif ?>