wordpress/php-fpm/wordpress_files/themes/the-bootstrap/sidebar.php

37 lines
1.1 KiB
PHP
Raw Permalink Normal View History

2020-05-22 03:40:23 +02:00
<?php
/** sidebar.php
*
* @author Konstantin Obenland
* @package The Bootstrap
* @since 1.0.0 - 05.02.2012
*/
tha_sidebars_before(); ?>
<section id="secondary" class="widget-area span4" role="complementary">
<?php tha_sidebar_top();
if ( ! dynamic_sidebar( 'main' ) ) {
the_widget( 'WP_Widget_Archives', array(
'count' => 0,
'dropdown' => 0
), array(
'before_widget' => '<aside id="archives" class="widget well widget_archives">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
the_widget( 'WP_Widget_Meta', array(), array(
'before_widget' => '<aside id="meta" class="widget well widget_meta">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
} // end sidebar widget area
tha_sidebar_bottom(); ?>
</section><!-- #secondary .widget-area -->
<?php tha_sidebars_after();
/* End of file sidebar.php */
/* Location: ./wp-content/themes/the-bootstrap/sidebar.php */