Skip to content

Commit

Permalink
Use aside for outer wrappers where widgets go. See WordPress#355
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtakashi committed Oct 30, 2015
1 parent 3808e4a commit f58ea91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sidebar-content-bottom.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

// If we get this far, we have widgets. Let's do this.
?>
<div id="content-bottom-widgets" class="content-bottom-widgets" role="complementary">
<aside id="content-bottom-widgets" class="content-bottom-widgets" role="complementary">
<?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
<div class="widget-area">
<?php dynamic_sidebar( 'sidebar-2' ); ?>
Expand All @@ -25,4 +25,4 @@
<?php dynamic_sidebar( 'sidebar-3' ); ?>
</div><!-- .widget-area -->
<?php endif; ?>
</div><!-- .content-bottom-widgets -->
</aside><!-- .content-bottom-widgets -->
4 changes: 2 additions & 2 deletions sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
?>

<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
<div id="secondary" class="sidebar widget-area" role="complementary">
<aside id="secondary" class="sidebar widget-area" role="complementary">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div><!-- .sidebar .widget-area -->
</aside><!-- .sidebar .widget-area -->
<?php endif; ?>

0 comments on commit f58ea91

Please sign in to comment.