Ejemplo n.º 1
0
<?php

/**
 * The template for displaying Category pages.
 *
 * @link http://codex.wordpress.org/Template_Hierarchy
 *
 * @package Odin
 * @since 2.2.0
 */
get_header();
?>

	<section id="primary" class="<?php 
echo odin_page_sidebar_classes();
?>
">
		<div id="content" class="site-content" role="main">

			<?php 
if (have_posts()) {
    ?>

				<header class="archive-header">
					<h1 class="archive-title"><?php 
    printf(__('Category Archives: %s', 'odin'), single_cat_title('', false));
    ?>
</h1>

					<?php 
    // Show an optional term description.
Ejemplo n.º 2
0
/**
 * WooCommerce and Jigoshop content wrapper.
 *
 * @since  2.2.0
 *
 * @return void
 */
function odin_woocommerce_jigoshop_content_wrapper()
{
    echo '<div id="primary" class="' . odin_page_sidebar_classes() . '">';
}