Example #1
0
<?php

/**
 * The Sidebar containing the main widget area.
 */
if ($class = cogito_wp_col_class('left')) {
    ?>

  <div id="sidebar-left" class="widget-area <?php 
    print $class;
    ?>
" role="complementary">
    <?php 
    cogito_content_sidebar_left_top();
    ?>
  	<?php 
    if (!dynamic_sidebar('sidebar-left')) {
        /* Here's where you put widgets to display when there are no widgets assigned.
           
           IMPORTANT NOTE: unless you change the way cogito_wp_get_cols() works or the way 
           this file checks for sidebars nothing here will ever be seen. */
    }
    ?>
    <?php 
    cogito_content_sidebar_left_bottom();
    ?>
  </div>

<?php 
}
?>
Example #2
0
<?php

/**
 * The template for displaying Category Archive pages.
 *
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 */
get_header();
?>

  <?php 
// Main Content
?>
  <div id="content" class="<?php 
print cogito_wp_col_class('content');
?>
" role="main">
  
  <?php 
cogito_content_top();
cogito_content_top_category();
?>
	
	<?php 
if (have_posts()) {
    ?>

		<header class="page-header">
			<h1 class="page-title"><?php 
    printf(__('Category Archives: %s', 'cogito_wp'), '<span>' . single_cat_title('', false) . '</span>');
    ?>
Example #3
0
<?php

/**
 * The Sidebar containing the main widget area.
 */
if ($class = cogito_wp_col_class('right')) {
    ?>

  <div id="sidebar-right" class="widget-area <?php 
    print $class;
    ?>
" role="complementary">
    <?php 
    cogito_action_loop_item_top();
    ?>
  	<?php 
    if (!dynamic_sidebar('sidebar-right')) {
        /* Here's where you put widgets to display when there are no widgets assigned.
           
           IMPORTANT NOTE: unless you change the way cogito_wp_get_cols() works or the way 
           this file checks for sidebars nothing here will ever be seen. */
    }
    ?>
  
    <?php 
    cogito_action_loop_item_top();
    ?>
  </div>

<?php 
}