Skip to content

Commit

Permalink
Wrappers for 'twentyfourteen'. Closes #228
Browse files Browse the repository at this point in the history
  • Loading branch information
Cobus committed Dec 12, 2013
1 parent cf1efb9 commit bc08bd5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions templates/wrappers/wrapper-end.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@
<?php
break;

// IF Twenty Fourteen
case 'twentyfourteen' :
?>
</div>
</div>
</div>
<?php get_sidebar(); ?>
<?php
break;

// IF Canvas
case 'canvas' :
?>
Expand Down
5 changes: 5 additions & 0 deletions templates/wrappers/wrapper-start.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
echo '<div id="primary" class="site-content"><div id="content" role="main">';
break;

// IF Twenty Fourteen
case 'twentyfourteen' :
echo '<div id="main-content" class="main-content"><div id="primary" class="content-area"><div id="content" class="site-content" role="main">';
break;

// IF Canvas
case 'canvas' :
echo '<div id="content" class="col-full"><div id="main-sidebar-container"><div id="main">';
Expand Down

0 comments on commit bc08bd5

Please sign in to comment.