* * * @file sidebar.php * @package Responsive * @author Emil Uzelac * @copyright 2003 - 2012 ThemeID * @license license.txt * @version Release: 1.0 * @filesource wp-content/themes/responsive/sidebar.php * @link http://codex.wordpress.org/Theme_Development#Widgets_.28sidebar.php.29 * @since available since Release 1.0 */ ?> <div id="widgets" class="grid col-300 fit"> <?php responsive_widgets(); // above widgets hook ?> <?php if (!dynamic_sidebar('right-sidebar')) { ?> <div class="widget-wrapper"> <div class="widget-title"><?php _e('In Archive', 'responsive'); ?> </div> <ul> <?php wp_get_archives(array('type' => 'monthly'));
} } if($slug == 'pbn'){ $permalink = (string) get_permalink($post->ID); if($wp_query->query['pbn_separate'] == 1) $slug = 'pbn1'; elseif($wp_query->query['pbn_separate'] == 2) $slug = 'pbn'; } $items = wp_get_nav_menu_items( 'pbl', array() ); responsive_widgets_before(); // above widgets container hook ?> <div id="widgets" class="grid col-300 rtl-fit"> <?php responsive_widgets(); // above widgets hook ?> <?php if( !dynamic_sidebar( '' ) ) { ?> <div class="widget-wrapper"> <ul> <?php if(!empty($items)) foreach($items as $item) { if($item->type == 'taxonomy') { $slugTerm = explode('/', $item->url); $slugTerm = array_filter($slugTerm); //if($slugTerm == 'pbn') ?>