This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 865
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from jmbarlow/sidebar-left
Sidebar on the left - with no file changes!
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
/* | ||
Template Name: Left Sidebar | ||
*/ | ||
get_header(); ?> | ||
<div class="row"> | ||
<div class="small-12 large-8 large-push-4 columns" role="main"> | ||
|
||
<?php do_action('foundationPress_before_content'); ?> | ||
|
||
<?php while (have_posts()) : the_post(); ?> | ||
<article <?php post_class() ?> id="post-<?php the_ID(); ?>"> | ||
<header> | ||
<h1 class="entry-title"><?php the_title(); ?></h1> | ||
</header> | ||
<?php do_action('foundationPress_page_before_entry_content'); ?> | ||
<div class="entry-content"> | ||
<?php the_content(); ?> | ||
</div> | ||
<footer> | ||
<?php wp_link_pages(array('before' => '<nav id="page-nav"><p>' . __('Pages:', 'FoundationPress'), 'after' => '</p></nav>' )); ?> | ||
<p><?php the_tags(); ?></p> | ||
</footer> | ||
<?php do_action('foundationPress_page_before_comments'); ?> | ||
<?php comments_template(); ?> | ||
<?php do_action('foundationPress_page_after_comments'); ?> | ||
</article> | ||
<?php endwhile;?> | ||
|
||
<?php do_action('foundationPress_after_content'); ?> | ||
|
||
</div> | ||
<?php get_sidebar('left'); ?> | ||
</div> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<aside id="sidebar" class="small-12 large-4 columns large-pull-8"> | ||
<?php do_action('foundationPress_before_sidebar'); ?> | ||
<?php dynamic_sidebar("sidebar-widgets"); ?> | ||
<?php do_action('foundationPress_after_sidebar'); ?> | ||
</aside> |