Ejemplo n.º 1
0
/**
 * WooCommerce wrapper start.
 */
function simple_life_theme_wrapper_start()
{
    echo '<section id="primary"';
    echo simple_life_content_class('content-area');
    echo ' >';
    echo '<main role="main" class="site-main" id="main">';
}
Ejemplo n.º 2
0
<?php

/**
 * The template for displaying archive pages.
 *
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package Simple_Life
 */
get_header();
?>

	<section id="primary" <?php 
echo simple_life_content_class('content-area');
?>
>
		<main id="main" class="site-main" role="main">

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

			<header class="page-header">
				<?php 
    the_archive_title('<h1 class="page-title">', '</h1>');
    the_archive_description('<div class="taxonomy-description">', '</div>');
    ?>
			</header><!-- .page-header -->

			<?php 
    /* Start the Loop */