forked from arnabwahid/wordpress-bootstrap
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
1 parent
69dcc54
commit 9815228
Showing
2 changed files
with
126 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,63 @@ | ||
<?php | ||
/* | ||
Template Name: Full Width Page | ||
*/ | ||
?> | ||
|
||
<?php get_header(); ?> | ||
|
||
<div id="content" class="clearfix row"> | ||
|
||
<div id="main" class="span16 clearfix" role="main"> | ||
|
||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | ||
|
||
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article"> | ||
|
||
<header> | ||
|
||
<h1><?php the_title(); ?></h1> | ||
|
||
<p class="meta"><?php _e("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <?php the_author_posts_link(); ?>.</p> | ||
|
||
</header> <!-- end article header --> | ||
|
||
<section class="post_content"> | ||
<?php the_content(); ?> | ||
|
||
</section> <!-- end article section --> | ||
|
||
<footer> | ||
|
||
<p class="clearfix"><?php the_tags('<span class="tags">Tags: ', ', ', '</span>'); ?></p> | ||
|
||
</footer> <!-- end article footer --> | ||
|
||
</article> <!-- end article --> | ||
|
||
<?php comments_template(); ?> | ||
|
||
<?php endwhile; ?> | ||
|
||
<?php else : ?> | ||
|
||
<article id="post-not-found"> | ||
<header> | ||
<h1>Not Found</h1> | ||
</header> | ||
<section class="post_content"> | ||
<p>Sorry, but the requested resource was not found on this site.</p> | ||
</section> | ||
<footer> | ||
</footer> | ||
</article> | ||
|
||
<?php endif; ?> | ||
|
||
</div> <!-- end #main --> | ||
|
||
<?php //get_sidebar(); // sidebar 1 ?> | ||
|
||
</div> <!-- end #content --> | ||
|
||
<?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,63 @@ | ||
<?php | ||
/* | ||
Template Name: Left Sidebar Page | ||
*/ | ||
?> | ||
|
||
<?php get_header(); ?> | ||
|
||
<div id="content" class="clearfix row"> | ||
|
||
<?php get_sidebar(); // sidebar 1 ?> | ||
|
||
<div id="main" class="span10 clearfix" role="main"> | ||
|
||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | ||
|
||
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article"> | ||
|
||
<header> | ||
|
||
<h1><?php the_title(); ?></h1> | ||
|
||
<p class="meta"><?php _e("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <?php the_author_posts_link(); ?>.</p> | ||
|
||
</header> <!-- end article header --> | ||
|
||
<section class="post_content"> | ||
<?php the_content(); ?> | ||
|
||
</section> <!-- end article section --> | ||
|
||
<footer> | ||
|
||
<p class="clearfix"><?php the_tags('<span class="tags">Tags: ', ', ', '</span>'); ?></p> | ||
|
||
</footer> <!-- end article footer --> | ||
|
||
</article> <!-- end article --> | ||
|
||
<?php comments_template(); ?> | ||
|
||
<?php endwhile; ?> | ||
|
||
<?php else : ?> | ||
|
||
<article id="post-not-found"> | ||
<header> | ||
<h1>Not Found</h1> | ||
</header> | ||
<section class="post_content"> | ||
<p>Sorry, but the requested resource was not found on this site.</p> | ||
</section> | ||
<footer> | ||
</footer> | ||
</article> | ||
|
||
<?php endif; ?> | ||
|
||
</div> <!-- end #main --> | ||
|
||
</div> <!-- end #content --> | ||
|
||
<?php get_footer(); ?> |