forked from SimonPadbury/bst
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
SimonPadbury
authored and
SimonPadbury
committed
Sep 27, 2013
0 parents
commit 2fbc76d
Showing
37 changed files
with
10,474 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,31 @@ | ||
<?php get_template_part('parts/header'); ?> | ||
|
||
<div class="container"> | ||
|
||
<div class="row visible-xs"> | ||
<div class="col-xs-12"> | ||
<button style="margin-bottom: 20px;" type="button" class="pull-right btn btn-default" data-toggle="offcanvas">Off-canvas sidebar <i class="glyphicon glyphicon-arrow-right"></i> | ||
</button> | ||
</div> | ||
</div> | ||
<div class="row row-offcanvas row-offcanvas-right"> | ||
|
||
<div class="col-xs-12 col-sm-8"> | ||
<div id="content" role="main"> | ||
<div class="alert alert-warning"> | ||
<h1><i class="glyphicon glyphicon-warning-sign"></i> Error 404</h1> | ||
<p>The page you were looking for does not exist.</p> | ||
</div> | ||
</div><!-- #content --> | ||
</div> | ||
|
||
<div class="col-xs-6 col-sm-4 sidebar-offcanvas" id="sidebar" role="navigation"> | ||
<div class="panel panel-default"> | ||
<?php get_template_part('parts/sidebar'); ?> | ||
</div> | ||
</div> | ||
|
||
</div><!-- .row --> | ||
</div><!-- .container --> | ||
|
||
<?php get_template_part('parts/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,57 @@ | ||
<?php get_template_part('parts/header'); ?> | ||
|
||
<div class="container"> | ||
|
||
<div class="row visible-xs"> | ||
<div class="col-xs-12"> | ||
<button style="margin-bottom: 20px;" type="button" class="pull-right btn btn-default" data-toggle="offcanvas">Off-canvas sidebar <i class="glyphicon glyphicon-arrow-right"></i> | ||
</button> | ||
</div> | ||
</div> | ||
<div class="row row-offcanvas row-offcanvas-right"> | ||
|
||
<div class="col-xs-12 col-sm-8"> | ||
<div id="content" role="main"> | ||
<header class="archive-header"> | ||
<h3>Blog Category: <?php single_cat_title(''); ?></h3> | ||
<hr/> | ||
<?php if(have_posts()): while(have_posts()): the_post();?> | ||
<article role="article" id="post_<?php the_ID()?>"> | ||
<header> | ||
<h2><a href="<?php the_permalink(); ?>"><?php the_title()?></a></h2> | ||
<h4> | ||
<em> | ||
<span class="text-muted" class="author">By <?php the_author() ?>,</span> | ||
<time class="text-muted" datetime="<?php the_time('d-m-Y')?>"><?php the_time('jS F Y') ?></time> | ||
</em> | ||
</h4> | ||
</header> | ||
<?php the_post_thumbnail(); ?> | ||
<?php the_content( __( '… Continue reading <i class="glyphicon glyphicon-arrow-right"></i>', 'bst' ) ); ?> | ||
<p class="text-muted" style="margin-bottom: 20px;"> | ||
<i class="glyphicon glyphicon-folder-open"></i> Filed under: <?php _e(''); ?> <?php the_category(', ') ?><br/> | ||
<i class="glyphicon glyphicon-comment"></i> Comments: <?php comments_popup_link('None', '1', '%'); ?> | ||
</p> | ||
<hr/> | ||
</article> | ||
<?php endwhile; ?> | ||
<ul class="pagination"> | ||
<li class="older"><?php next_posts_link('« Older') ?></li> | ||
<li class="newer"><?php previous_posts_link('Newer »') ?></li> | ||
</ul> | ||
<?php else: ?> | ||
<?php wp_redirect(get_bloginfo('siteurl').'/404', 404); exit; ?> | ||
<?php endif;?> | ||
</div><!-- #content --> | ||
</div> | ||
|
||
<div class="col-xs-6 col-sm-4 sidebar-offcanvas" id="sidebar" role="navigation"> | ||
<div class="panel panel-default"> | ||
<?php get_template_part('parts/sidebar'); ?> | ||
</div> | ||
</div> | ||
|
||
</div><!-- .row --> | ||
</div><!-- .container --> | ||
|
||
<?php get_template_part('parts/footer'); ?> |
Oops, something went wrong.