forked from edpittol/comunidade-tema-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.php
More file actions
17 lines (17 loc) · 713 Bytes
/
sidebar.php
File metadata and controls
17 lines (17 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/**
* The sidebar containing the secondary widget area, displays on homepage, archives and posts.
*
* If no active widgets in this sidebar, it will shows Recent Posts, Archives and Tag Cloud widgets.
*
* @package Comunidade_WordPress_BR
* @since 1.0.0
*/
?>
<div id="secondary" class="widget-area col-md-4 hidden-xs" role="complementary" itemscope="" itemtype="http://schema.org/WPSideBar">
<?php if ( ! dynamic_sidebar( 'main-sidebar' ) ) : ?>
<?php the_widget( 'WP_Widget_Recent_Posts', array( 'number' => 10 ) ); ?>
<?php the_widget( 'WP_Widget_Archives', array( 'count' => 0, 'dropdown' => 1 ) ); ?>
<?php the_widget( 'WP_Widget_Tag_Cloud' ); ?>
<?php endif; ?>
</div><!-- #secondary -->