Permalink
Browse files

bringing main element back into the fold

also adding some schema markup
  • Loading branch information...
1 parent 28ef88e commit b31f81d13a3899d0b68c8a73e6a4908ae497ad5a Eddie Machado committed Nov 19, 2014
Showing with 20 additions and 20 deletions.
  1. +2 −2 404.php
  2. +2 −2 archive-custom_type.php
  3. +2 −2 archive.php
  4. +2 −2 index.php
  5. +2 −2 page-custom.php
  6. +2 −2 page.php
  7. +2 −2 search.php
  8. +2 −2 single-custom_type.php
  9. +2 −2 single.php
  10. +2 −2 taxonomy-custom_cat.php
View
@@ -4,7 +4,7 @@
<div id="inner-content" class="wrap cf">
- <div id="main" class="m-all t-2of3 d-5of7 cf" role="main">
+ <main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
<article id="post-not-found" class="hentry cf">
@@ -34,7 +34,7 @@
</article>
- </div>
+ </main>
</div>
@@ -18,7 +18,7 @@
<div id="inner-content" class="wrap cf">
- <div id="main" class="m-all t-2of3 d-5of7 cf" role="main">
+ <main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
<h1 class="archive-title h2"><?php post_type_archive_title(); ?></h1>
@@ -67,7 +67,7 @@
<?php endif; ?>
- </div>
+ </main>
<?php get_sidebar(); ?>
View
@@ -4,7 +4,7 @@
<div id="inner-content" class="wrap cf">
- <div id="main" class="m-all t-2of3 d-5of7 cf" role="main">
+ <main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
<?php if (is_category()) { ?>
<h1 class="archive-title h2">
@@ -88,7 +88,7 @@
<?php endif; ?>
- </div>
+ </main>
<?php get_sidebar(); ?>
View
@@ -4,7 +4,7 @@
<div id="inner-content" class="wrap cf">
- <div id="main" class="m-all t-2of3 d-5of7 cf" role="main">
+ <main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
@@ -59,7 +59,7 @@
<?php endif; ?>
- </div>
+ </main>
<?php get_sidebar(); ?>
View
@@ -19,7 +19,7 @@
<div id="inner-content" class="wrap cf">
- <div id="main" class="m-all t-2of3 d-5of7 cf" role="main">
+ <main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
@@ -89,7 +89,7 @@
<?php endif; ?>
- </div>
+ </main>
<?php get_sidebar(); ?>
View
@@ -4,7 +4,7 @@
<div id="inner-content" class="wrap cf">
- <div id="main" class="m-all t-2of3 d-5of7 cf" role="main">
+ <main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
@@ -70,7 +70,7 @@
<?php endif; ?>
- </div>
+ </main>
<?php get_sidebar(); ?>
View
@@ -4,7 +4,7 @@
<div id="inner-content" class="wrap cf">
- <div id="main" class="m-all t-2of3 d-5of7 cf" role="main">
+ <main id="main" class="m-all t-2of3 d-5of7 cf" role="main">
<h1 class="archive-title"><span><?php _e( 'Search Results for:', 'bonestheme' ); ?></span> <?php echo esc_attr(get_search_query()); ?></h1>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
@@ -58,7 +58,7 @@
<?php endif; ?>
- </div>
+ </main>
<?php get_sidebar(); ?>
@@ -21,7 +21,7 @@
<div id="inner-content" class="wrap cf">
- <div id="main" class="m-all t-2of3 d-5of7 cf" role="main">
+ <main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
@@ -89,7 +89,7 @@
<?php endif; ?>
- </div>
+ </main>
<?php get_sidebar(); ?>
View
@@ -4,7 +4,7 @@
<div id="inner-content" class="wrap cf">
- <div id="main" class="m-all t-2of3 d-5of7 cf" role="main">
+ <main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
@@ -43,7 +43,7 @@
<?php endif; ?>
- </div>
+ </main>
<?php get_sidebar(); ?>
@@ -18,7 +18,7 @@
<div id="inner-content" class="wrap cf">
- <div id="main" class="m-all t-2of3 d-5of7 cf" role="main">
+ <main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
<h1 class="archive-title h2"><span><?php _e( 'Posts Categorized:', 'bonestheme' ); ?></span> <?php single_cat_title(); ?></h1>
@@ -66,7 +66,7 @@
<?php endif; ?>
- </div>
+ </main>
<?php get_sidebar(); ?>

0 comments on commit b31f81d

Please sign in to comment.