瀏覽代碼

updated to match responsive version markup

eddiemachado 13 年之前
父節點
當前提交
e8d882015a
共有 11 個文件被更改,包括 440 次插入409 次删除
  1. 19 13
      404.php
  2. 76 67
      archive.php
  3. 58 53
      author.php
  4. 48 51
      index.php
  5. 37 33
      page-custom.php
  6. 37 33
      page.php
  7. 44 48
      search.php
  8. 1 3
      sidebar.php
  9. 37 32
      single-custom_type.php
  10. 36 33
      single.php
  11. 47 43
      taxonomy-custom_cat.php

+ 19 - 13
404.php

@@ -1,30 +1,36 @@
 <?php get_header(); ?>
 			
-			<div id="content" class="clearfix">
+			<div id="content">
+
+				<div id="inner-content" class="wrap clearfix">
 			
-				<div id="main" class="col620 left first clearfix" role="main">
+					<div id="main" class="eightcol first clearfix" role="main">
 
-					<article id="post-not-found" class="clearfix">
+						<article id="post-not-found" class="hentry clearfix">
 						
-						<header>
+							<header class="article-header">
 							
-							<h1><?php _e("Epic 404 - Article Not Found", "bonestheme"); ?></h1>
+								<h1><?php __("Epic 404 - Article Not Found", "bonestheme"); ?></h1>
 						
-						</header> <!-- end article header -->
+							</header> <!-- end article header -->
 					
-						<section class="post_content">
+							<section class="post-content">
 							
-							<p><?php _e("The article you were looking for was not found, but maybe try looking again!", "bonestheme"); ?></p>
+								<p><?php __("The article you were looking for was not found, try looking for it again!", "bonestheme"); ?></p>
 					
-						</section> <!-- end article section -->
+							</section> <!-- end article section -->
 						
-						<footer>
+							<footer class="article-header">
+							
+							    <p><?php __("This is the 404.php template.", "bonestheme"); ?></p>
 							
-						</footer> <!-- end article footer -->
+							</footer> <!-- end article footer -->
 					
-					</article> <!-- end article -->
+						</article> <!-- end article -->
 			
-				</div> <!-- end #main -->
+					</div> <!-- end #main -->
+
+				</div> <!-- end #inner-content -->
     
 			</div> <!-- end #content -->
 

+ 76 - 67
archive.php

@@ -1,96 +1,105 @@
 <?php get_header(); ?>
 			
-			<div id="content" class="clearfix">
+			<div id="content">
 			
-				<div id="main" class="col620 left first clearfix" role="main">
+				<div id="inner-content" class="wrap clearfix">
 				
-					<?php if (is_category()) { ?>
-						<h1 class="archive_title h2">
-							<span><?php _e("Posts Categorized:", "bonestheme"); ?></span> <?php single_cat_title(); ?>
-						</h1>
-					<?php } elseif (is_tag()) { ?> 
-						<h1 class="archive_title h2">
-							<span><?php _e("Posts Tagged:", "bonestheme"); ?></span> <?php single_tag_title(); ?>
-						</h1>
-					<?php } elseif (is_author()) { ?>
-						<h1 class="archive_title h2">
-							<span><?php _e("Posts By:", "bonestheme"); ?></span> <?php get_the_author_meta('display_name'); ?>
-						</h1>
-					<?php } elseif (is_day()) { ?>
-						<h1 class="archive_title h2">
-							<span><?php _e("Daily Archives:", "bonestheme"); ?></span> <?php the_time('l, F j, Y'); ?>
-						</h1>
-					<?php } elseif (is_month()) { ?>
-					    <h1 class="archive_title h2">
-					    	<span><?php _e("Monthly Archives:", "bonestheme"); ?>:</span> <?php the_time('F Y'); ?>
-					    </h1>
-					<?php } elseif (is_year()) { ?>
-					    <h1 class="archive_title h2">
-					    	<span><?php _e("Yearly Archives:", "bonestheme"); ?>:</span> <?php the_time('Y'); ?>
-					    </h1>
-					<?php } ?>
+				    <div id="main" class="eightcol first clearfix" role="main">
+				
+					    <?php if (is_category()) { ?>
+						    <h1 class="archive-title h2">
+							    <span><?php __("Posts Categorized:", "bonestheme"); ?></span> <?php single_cat_title(); ?>
+					    	</h1>
+					    
+					    <?php } elseif (is_tag()) { ?> 
+						    <h1 class="archive-title h2">
+							    <span><?php __("Posts Tagged:", "bonestheme"); ?></span> <?php single_tag_title(); ?>
+						    </h1>
+					    
+					    <?php } elseif (is_author()) { ?>
+						    <h1 class="archive-title h2">
+						    	<span><?php __("Posts By:", "bonestheme"); ?></span> <?php get_the_author_meta('display_name'); ?>
+						    </h1>
+					    
+					    <?php } elseif (is_day()) { ?>
+						    <h1 class="archive-title h2">
+	    						<span><?php __("Daily Archives:", "bonestheme"); ?></span> <?php the_time('l, F j, Y'); ?>
+						    </h1>
+		
+		    			<?php } elseif (is_month()) { ?>
+			    		    <h1 class="archive-title h2">
+				    	    	<span><?php __("Monthly Archives:", "bonestheme"); ?>:</span> <?php the_time('F Y'); ?>
+					        </h1>
+					
+					    <?php } elseif (is_year()) { ?>
+					        <h1 class="archive-title h2">
+					    	    <span><?php __("Yearly Archives:", "bonestheme"); ?>:</span> <?php the_time('Y'); ?>
+					        </h1>
+					    <?php } ?>
 
-					<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+					    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 					
-					<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
+					    <article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
 						
-						<header>
+						    <header class="article-header">
 							
-							<h3 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
+							    <h3 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
 							
-							<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(); ?> <span class="amp">&</span> <?php _e("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
+							    <p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php __("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
 						
-						</header> <!-- end article header -->
+						    </header> <!-- end article header -->
 					
-						<section class="post_content">
+						    <section class="post_content clearfix">
 						
-							<?php the_post_thumbnail( 'bones-thumb-300' ); ?>
+							    <?php the_post_thumbnail( 'bones-thumb-300' ); ?>
 						
-							<?php the_excerpt(); ?>
+							    <?php the_excerpt(); ?>
 					
-						</section> <!-- end article section -->
+						    </section> <!-- end article section -->
 						
-						<footer>
+						    <footer class="article-footer">
 							
-						</footer> <!-- end article footer -->
+						    </footer> <!-- end article footer -->
 					
-					</article> <!-- end article -->
+					    </article> <!-- end article -->
 					
-					<?php endwhile; ?>	
+					    <?php endwhile; ?>	
 					
-					<?php if (function_exists('page_navi')) { // if expirimental feature is active ?>
+					        <?php if (function_exists('bones_page_navi')) { // if experimental feature is active ?>
 						
-						<?php page_navi(); // use the page navi function ?>
+						        <?php bones_page_navi(); // use the page navi function ?>
 
-					<?php } else { // if it is disabled, display regular wp prev & next links ?>
-						<nav class="wp-prev-next">
-							<ul class="clearfix">
-								<li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
-								<li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
-							</ul>
-						</nav>
-					<?php } ?>
-								
+					        <?php } else { // if it is disabled, display regular wp prev & next links ?>
+						        <nav class="wp-prev-next">
+							        <ul class="clearfix">
+								        <li class="prev-link"><?php next_posts_link(__('&laquo; Older Entries', "bonestheme")) ?></li>
+								        <li class="next-link"><?php previous_posts_link(__('Newer Entries &raquo;', "bonestheme")) ?></li>
+							        </ul>
+					    	    </nav>
+					        <?php } ?>
 					
-					<?php else : ?>
+					    <?php else : ?>
 					
-					<article id="post-not-found">
-					    <header>
-					    	<h1><?php _e("No Posts Yet", "bonestheme"); ?></h1>
-					    </header>
-					    <section class="post_content">
-					    	<p><?php _e("Sorry, What you were looking for is not here.", "bonestheme"); ?></p>
-					    </section>
-					    <footer>
-					    </footer>
-					</article>
+    					    <article id="post-not-found" class="hentry clearfix">
+    						    <header class="article-header">
+    							    <h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+    					    	</header>
+    						    <section class="post-content">
+    							    <p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+        						</section>
+    	    					<footer class="article-footer">
+    		    				    <p><?php __("This is the error message in the archive.php template.", "bonestheme"); ?></p>
+    			    			</footer>
+    				    	</article>
 					
-					<?php endif; ?>
+					    <?php endif; ?>
 			
-				</div> <!-- end #main -->
-    
-				<?php get_sidebar(); // sidebar 1 ?>
+    				</div> <!-- end #main -->
     
+	    			<?php get_sidebar(); // sidebar 1 ?>
+                
+                </div> <!-- end #inner-content -->
+                
 			</div> <!-- end #content -->
 
 <?php get_footer(); ?>

+ 58 - 53
author.php

@@ -1,81 +1,86 @@
 <?php get_header(); ?>
 			
-			<div id="content" class="clearfix">
+			<div id="content">
 			
-				<div id="main" class="col620 left first clearfix" role="main">
+				<div id="inner-content" class="wrap clearfix">
+			
+				    <div id="main" class="eightcol first clearfix" role="main">
 				
-					<h1 class="archive_title h2">
-						<span><?php _e("Posts By:", "bonestheme"); ?></span> 
-						<!-- google+ rel=me function -->
-						<?php $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author'));
-						$google_profile = get_the_author_meta( 'google_profile', $curauth->ID );
-						if ( $google_profile ) {
-							echo '<a href="' . esc_url( $google_profile ) . '" rel="me">' . $curauth->display_name . '</a>'; ?></a>
-						<?php } else { ?>
-						<?php echo get_author_name(get_query_var('author')); ?>
-						<?php } ?>
-					</h1>
+					    <h1 class="archive-title h2">
+						    <span><?php __("Posts By:", "bonestheme"); ?></span> 
+						    <!-- google+ rel=me function -->
+						    <?php $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author'));
+						    $google_profile = get_the_author_meta( 'google_profile', $curauth->ID );
+						    if ( $google_profile ) {
+						    	echo '<a href="' . esc_url( $google_profile ) . '" rel="me">' . $curauth->display_name . '</a>'; ?></a>
+						    <?php } else { ?>
+						        <!-- if no result, then just display the name -->
+						        <?php echo get_the_author_meta('display_name'); ?>
+						    <?php } ?>
+					    </h1>
 					
-					<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+					    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 					
-					<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
+					    <article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
 						
-						<header>
+						    <header class="article-header">
 							
-							<h3 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
+							    <h3 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
 							
-							<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(); ?> <span class="amp">&</span> <?php _e("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
+							    <p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php __("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
 						
-						</header> <!-- end article header -->
+						    </header> <!-- end article header -->
 					
-						<section class="post_content">
+						    <section class="post_content">
 						
-							<?php the_post_thumbnail( 'bones-thumb-300' ); ?>
+							    <?php the_post_thumbnail( 'bones-thumb-300' ); ?>
 						
-							<?php the_excerpt(); ?>
+							    <?php the_excerpt(); ?>
 					
-						</section> <!-- end article section -->
+						    </section> <!-- end article section -->
 						
-						<footer>
+						    <footer class="article-footer">
 							
-						</footer> <!-- end article footer -->
+						    </footer> <!-- end article footer -->
 					
-					</article> <!-- end article -->
+					    </article> <!-- end article -->
 					
-					<?php endwhile; ?>	
+					    <?php endwhile; ?>	
 					
-					<?php if (function_exists('page_navi')) { // if expirimental feature is active ?>
+					        <?php if (function_exists('bones_page_navi')) { // if experimental feature is active ?>
 						
-						<?php page_navi(); // use the page navi function ?>
+						        <?php bones_page_navi(); // use the page navi function ?>
 
-					<?php } else { // if it is disabled, display regular wp prev & next links ?>
-						<nav class="wp-prev-next">
-							<ul class="clearfix">
-								<li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
-								<li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
-							</ul>
-						</nav>
-					<?php } ?>
+					        <?php } else { // if it is disabled, display regular wp prev & next links ?>
+						        <nav class="wp-prev-next">
+							        <ul class="clearfix">
+								        <li class="prev-link"><?php next_posts_link(__('&laquo; Older Entries', "bonestheme")) ?></li>
+								        <li class="next-link"><?php previous_posts_link(__('Newer Entries &raquo;', "bonestheme")) ?></li>
+							        </ul>
+						        </nav>
+					        <?php } ?>
 								
+    					<?php else : ?>
+    					
+    					    <article id="post-not-found" class="hentry clearfix">
+    					        <header class="article-header">
+    					    	    <h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+    					    	</header>
+    					        <section class="post-content">
+    					    	    <p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+    					    	</section>
+    					    	<footer class="article-footer">
+    					    	    <p><?php __("This is the error message in the author.php template.", "bonestheme"); ?></p>
+    					    	</footer>
+    					    </article>
 					
-					<?php else : ?>
-					
-					<article id="post-not-found">
-					    <header>
-					    	<h1><?php _e("No Posts Yet", "bonestheme"); ?></h1>
-					    </header>
-					    <section class="post_content">
-					    	<p><?php _e("Sorry, What you were looking for is not here.", "bonestheme"); ?></p>
-					    </section>
-					    <footer>
-					    </footer>
-					</article>
-					
-					<?php endif; ?>
+					    <?php endif; ?>
 			
-				</div> <!-- end #main -->
+				    </div> <!-- end #main -->
     
-				<?php get_sidebar(); // sidebar 1 ?>
+				    <?php get_sidebar(); // sidebar 1 ?>
+				    
+				</div> <!-- end #inner-content -->
     
 			</div> <!-- end #content -->
 

+ 48 - 51
index.php

@@ -1,76 +1,73 @@
 <?php get_header(); ?>
 			
-			<div id="content" class="clearfix">
+			<div id="content">
 			
-				<div id="main" class="col620 left first clearfix" role="main">
+				<div id="inner-content" class="wrap clearfix">
+			
+				    <div id="main" class="eightcol first clearfix" role="main">
 
-					<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+					    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 					
-					<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
+					    <article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
 						
-						<header>
+						    <header class="article-header">
 							
-							<h1 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
+							    <h1 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
 							
-							<p class="meta"><?php _e('Posted', 'bonestheme'); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time(get_option('date_format')); ?></time> <?php _e('by', 'bonestheme'); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php _e('filed under', 'bonestheme'); ?> <?php the_category(', '); ?>.</p>
+							    <p class="meta"><?php __('Posted', 'bonestheme'); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time(get_option('date_format')); ?></time> <?php __('by', 'bonestheme'); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php __('filed under', 'bonestheme'); ?> <?php the_category(', '); ?>.</p>
 						
-						</header> <!-- end article header -->
+						    </header> <!-- end article header -->
 					
-						<section class="post_content clearfix">
-							<?php
-							    $more_link_text = '<span class="read-more">' . __('Read more on', 'bonestheme') . the_title(' "', '" &raquo;</span>', false) ;
-							    the_content( $more_link_text ); 
-							?>
-
-						</section> <!-- end article section -->
+						    <section class="post_content clearfix">
+							    <?php the_content(); ?>
+						    </section> <!-- end article section -->
 						
-						<footer>
+						    <footer class="article-footer">
 
-							<?php  // count tags of post and use plural where appropriate
-							    $posttags = get_the_tags(); $count=0; if ($posttags) { foreach($posttags as $tag) { $count++; } };
-							    $before_tags_text = '<p class="tags"><span class="tags-title">' . _n('Tag', 'Tags', $count, 'bonestheme') . '</span>: ';
-							    the_tags( $before_tags_text, ', ', '</p>'); 
-							?>
+    							<p class="tags"><?php the_tags('<span class="tags-title">Tags:</span> ', ', ', ''); ?></p>
 
-						</footer> <!-- end article footer -->
+						    </footer> <!-- end article footer -->
+						    
+						    <?php // comments_template(); // uncomment if you want to use them ?>
 					
-					</article> <!-- end article -->
+					    </article> <!-- end article -->
 					
-					<?php comments_template(); ?>
+					    <?php endwhile; ?>	
 					
-					<?php endwhile; ?>	
-					
-					<?php if (function_exists('page_navi')) { // if experimental feature is active ?>
+					        <?php if (function_exists('bones_page_navi')) { // if experimental feature is active ?>
 						
-						<?php page_navi(); // use the page navi function ?>
+						        <?php bones_page_navi(); // use the page navi function ?>
 						
-					<?php } else { // if it is disabled, display regular wp prev & next links ?>
-						<nav class="wp-prev-next">
-							<ul class="clearfix">
-								<li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', 'bonestheme')) ?></li>
-								<li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', 'bonestheme')) ?></li>
-							</ul>
-						</nav>
-					<?php } ?>		
-					
-					<?php else : ?>
+					        <?php } else { // if it is disabled, display regular wp prev & next links ?>
+						        <nav class="wp-prev-next">
+							        <ul class="clearfix">
+								        <li class="prev-link"><?php next_posts_link(__('&laquo; Older Entries', 'bonestheme')) ?></li>
+								        <li class="next-link"><?php previous_posts_link(__('Newer Entries &raquo;', 'bonestheme')) ?></li>
+							        </ul>
+						        </nav>
+					        <?php } ?>		
 					
-					<article id="post-not-found">
-					    <header>
-					    	<h1><?php _e('Not Found', 'bonestheme') ?></h1>
-					    </header>
-					    <section class="post_content">
-					    	<p><?php _e('Sorry, but the requested resource was not found on this site.', 'bonestheme'); ?></p>
-					    </section>
-					    <footer>
-					    </footer>
-					</article>
+					    <?php else : ?>
+					    
+					        <article id="post-not-found" class="hentry clearfix">
+					            <header class="article-header">
+					        	    <h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+					        	</header>
+					            <section class="post-content">
+					        	    <p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+					        	</section>
+					        	<footer class="article-footer">
+					        	    <p><?php __("This is the error message in the index.php template.", "bonestheme"); ?></p>
+					        	</footer>
+					        </article>
 					
-					<?php endif; ?>
+					    <?php endif; ?>
 			
-				</div> <!-- end #main -->
+				    </div> <!-- end #main -->
     
-				<?php get_sidebar(); // sidebar 1 ?>
+				    <?php get_sidebar(); // sidebar 1 ?>
+				    
+				</div> <!-- end #inner-content -->
     
 			</div> <!-- end #content -->
 

+ 37 - 33
page-custom.php

@@ -6,57 +6,61 @@ Template Name: Custom Page Example
 
 <?php get_header(); ?>
 			
-			<div id="content" class="clearfix">
+			<div id="content">
 			
-				<div id="main" class="col620 left first clearfix" role="main">
+				<div id="inner-content" class="wrap clearfix">
+			
+				    <div id="main" class="eightcol first clearfix" role="main">
 
-					<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+					    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 					
-					<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
+					    <article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
 						
-						<header>
+						    <header class="article-header">
 							
-							<h1><?php the_title(); ?></h1>
+							    <h1 class="page-title"><?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>
+							    <p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?>.</p>
 						
-						</header> <!-- end article header -->
-					
-						<section class="post_content">
-							<?php the_content(); ?>
+						    </header> <!-- end article header -->
 					
-						</section> <!-- end article section -->
+						    <section class="post_content">
+							    <?php the_content(); ?>
+						    </section> <!-- end article section -->
 						
-						<footer>
+						    <footer class="article-footer">
 			
-							<p class="clearfix"><?php the_tags('<span class="tags">Tags: ', ', ', '</span>'); ?></p>
+							    <p class="clearfix"><?php the_tags('<span class="tags">Tags: ', ', ', '</span>'); ?></p>
 							
-						</footer> <!-- end article footer -->
-					
-					</article> <!-- end article -->
+						    </footer> <!-- end article footer -->
+						    
+						    <?php comments_template(); ?>
 					
-					<?php comments_template(); ?>
+					    </article> <!-- end article -->
 					
-					<?php endwhile; ?>	
+					    <?php endwhile; ?>	
 					
-					<?php else : ?>
+					    <?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>
+        					<article id="post-not-found" class="hentry clearfix">
+        					    <header class="article-header">
+        						    <h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+        						</header>
+        					    <section class="post-content">
+        						    <p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+        						</section>
+        						<footer class="article-footer">
+        						    <p><?php __("This is the error message in the page-custom.php template.", "bonestheme"); ?></p>
+        						</footer>
+        					</article>
 					
-					<?php endif; ?>
+					    <?php endif; ?>
 			
-				</div> <!-- end #main -->
+				    </div> <!-- end #main -->
     
-				<?php get_sidebar(); // sidebar 1 ?>
+				    <?php get_sidebar(); // sidebar 1 ?>
+				    
+				</div> <!-- end #inner-content -->
     
 			</div> <!-- end #content -->
 

+ 37 - 33
page.php

@@ -1,56 +1,60 @@
 <?php get_header(); ?>
 			
-			<div id="content" class="clearfix">
+			<div id="content">
 			
-				<div id="main" class="col620 left first clearfix" role="main">
+				<div id="inner-content" class="wrap clearfix">
+			
+				    <div id="main" class="eightcol first clearfix" role="main">
 
-					<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+					    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 					
-					<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article" itemscope itemtype="http://schema.org/BlogPosting">
+					    <article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article" itemscope itemtype="http://schema.org/BlogPosting">
 						
-						<header>
+						    <header class="article-header">
 							
-							<h1 class="page-title" itemprop="headline"><?php the_title(); ?></h1>
+							    <h1 class="page-title" itemprop="headline"><?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>
+							    <p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?>.</p>
 						
-						</header> <!-- end article header -->
-					
-						<section class="post_content clearfix" itemprop="articleBody">
-							<?php the_content(); ?>
+						    </header> <!-- end article header -->
 					
-						</section> <!-- end article section -->
+						    <section class="post-content clearfix" itemprop="articleBody">
+							    <?php the_content(); ?>
+							</section> <!-- end article section -->
 						
-						<footer>
+						    <footer class="article-footer">
 			
-							<?php the_tags('<p class="tags"><span class="tags-title">Tags:</span> ', ', ', '</p>'); ?>
+							    <?php the_tags('<p class="tags"><span class="tags-title">Tags:</span> ', ', ', '</p>'); ?>
 							
-						</footer> <!-- end article footer -->
-					
-					</article> <!-- end article -->
+						    </footer> <!-- end article footer -->
+						    
+						    <?php comments_template(); ?>
 					
-					<?php comments_template(); ?>
+					    </article> <!-- end article -->
 					
-					<?php endwhile; ?>		
+					    <?php endwhile; ?>		
 					
-					<?php else : ?>
+					    <?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>
+    					    <article id="post-not-found" class="hentry clearfix">
+    					    	<header class="article-header">
+    					    		<h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+    					    	</header>
+    					    	<section class="post-content">
+    					    		<p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+    					    	</section>
+    					    	<footer class="article-footer">
+    					    	    <p><?php __("This is the error message in the page.php template.", "bonestheme"); ?></p>
+    					    	</footer>
+    					    </article>
 					
-					<?php endif; ?>
+					    <?php endif; ?>
 			
-				</div> <!-- end #main -->
+    				</div> <!-- end #main -->
     
-				<?php get_sidebar(); // sidebar 1 ?>
+				    <?php get_sidebar(); // sidebar 1 ?>
+				    
+				</div> <!-- end #inner-content -->
     
 			</div> <!-- end #content -->
 

+ 44 - 48
search.php

@@ -1,76 +1,72 @@
 <?php get_header(); ?>
 			
-			<div id="content" class="clearfix">
+			<div id="content">
+
+				<div id="inner-content" class="wrap clearfix">
 			
-				<div id="main" class="col700 left first clearfix" role="main">
+					<div id="main" class="ninecol first clearfix" role="main">
 				
-					<h1 class="archive_title"><span>Search Results for:</span> <?php echo esc_attr(get_search_query()); ?></h1>
+						<h1 class="archive-title"><span>Search Results for:</span> <?php echo esc_attr(get_search_query()); ?></h1>
 
-					<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+						<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 					
-					<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
+							<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
 						
-						<header>
+								<header class="article-header">
 							
-							<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
+									<h3 class="search-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
 							
-							<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(); ?> <span class="amp">&</span> <?php _e("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
+									<p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php __("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
 						
-						</header> <!-- end article header -->
+								</header> <!-- end article header -->
 					
-						<section class="post_content">
-							<?php the_excerpt('<span class="read-more">Read more on "'.the_title('', '', false).'" &raquo;</span>'); ?>
+								<section class="post-content">
+								    <?php the_excerpt('<span class="read-more">Read more &raquo;</span>'); ?>
 					
-						</section> <!-- end article section -->
+								</section> <!-- end article section -->
 						
-						<footer>
-					
+								<footer class="article-footer">
 							
-						</footer> <!-- end article footer -->
+								</footer> <!-- end article footer -->
 					
-					</article> <!-- end article -->
+							</article> <!-- end article -->
 					
-					<?php endwhile; ?>	
+						<?php endwhile; ?>	
 					
-					<?php if (function_exists('page_navi')) { // if expirimental feature is active ?>
+						    <?php if (function_exists('bones_page_navi')) { // if expirimental feature is active ?>
 						
-						<?php page_navi(); // use the page navi function ?>
+						        <?php bones_page_navi(); // use the page navi function ?>
 						
-					<?php } else { // if it is disabled, display regular wp prev & next links ?>
-						<nav class="wp-prev-next">
-							<ul class="clearfix">
-								<li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
-								<li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
-							</ul>
-						</nav>
-					<?php } ?>			
-					
-					<?php else : ?>
+					        <?php } else { // if it is disabled, display regular wp prev & next links ?>
+						        <nav class="wp-prev-next">
+							        <ul class="clearfix">
+								        <li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
+								        <li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
+							        </ul>
+						        </nav>
+					        <?php } ?>			
 					
-					<!-- this area shows up if there are no results -->
+					    <?php else : ?>
 					
-					<article id="post-not-found">
-					    <header>
-					    	<h1>No Results Found</h1>
-					    </header>
-					    <section class="post_content">
-					    	<p>Sorry, but the requested resource was not found on this site.</p>
-					    </section>
-					    <footer>
-					    </footer>
-					</article>
+    					    <article id="post-not-found" class="hentry clearfix">
+    					    	<header class="article-header">
+    					    		<h1><?php __("Sorry, No Results.", "bonestheme"); ?></h1>
+    					    	</header>
+    					    	<section class="post-content">
+    					    		<p><?php __("UTry your search again.", "bonestheme"); ?></p>
+    					    	</section>
+    					    	<footer class="article-footer">
+    					    	    <p><?php __("This is the error message in the search.php template.", "bonestheme"); ?></p>
+    					    	</footer>
+    					    </article>
 					
-					<?php endif; ?>
+					    <?php endif; ?>
 			
-				</div> <!-- end #main -->
+				    </div> <!-- end #main -->
     			
-    			<div id="sidebar1" class="sidebar right last col220">
-    				
-    				<?php get_search_form(); ?>
-    				
-    				
+    			    <?php get_sidebar(); // sidebar 1 ?>
     			
-    			</div>
+    			</div> <!-- end #inner-content -->
     
 			</div> <!-- end #content -->
 

+ 1 - 3
sidebar.php

@@ -1,4 +1,4 @@
-				<div id="sidebar1" class="sidebar right col300 last clearfix" role="complementary">
+				<div id="sidebar1" class="sidebar fourcol last clearfix" role="complementary">
 				
 					<?php get_search_form(); ?>
 
@@ -11,9 +11,7 @@
 						<!-- This content shows up if there are no widgets defined in the backend. -->
 						
 						<div class="help">
-						
 							<p>Please activate some Widgets.</p>
-						
 						</div>
 
 					<?php endif; ?>

+ 37 - 32
single-custom_type.php

@@ -15,58 +15,63 @@ single-bookmarks.php
 
 <?php get_header(); ?>
 			
-			<div id="content" class="clearfix">
+			<div id="content">
 			
-				<div id="main" class="col620 left first clearfix" role="main">
+				<div id="inner-content" class="wrap clearfix">
+			
+				    <div id="main" class="eightcol first clearfix" role="main">
 
-					<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+					    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 					
-					<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
+					    <article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
 						
-						<header>
+						    <header class="article-header">
 							
-							<h1><?php the_title(); ?></h1>
+							    <h1 class="single-title custom-post-type-title"><?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(); ?> <span class="amp">&</span> <?php _e("filed under", "bonestheme"); ?> <?php echo get_the_term_list( get_the_ID(), 'custom_cat', "" ) ?>.</p>
+							    <p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php __("filed under", "bonestheme"); ?> <?php echo get_the_term_list( get_the_ID(), 'custom_cat', "" ) ?>.</p>
 						
-						</header> <!-- end article header -->
+						    </header> <!-- end article header -->
 					
-						<section class="post_content clearfix">
+						    <section class="post_content clearfix">
 							
-							<?php the_content(); ?>
+							    <?php the_content(); ?>
 					
-						</section> <!-- end article section -->
+						    </section> <!-- end article section -->
 						
-						<footer>
+						    <footer class="article-header">
 			
-							<p class="tags"><?php echo get_the_term_list( get_the_ID(), 'custom_tag', '<span class="tags-title">Custom Tags:</span> ', ', ' ) ?></p>
+							    <p class="tags"><?php echo get_the_term_list( get_the_ID(), 'custom_tag', '<span class="tags-title">Custom Tags:</span> ', ', ' ) ?></p>
 							
-						</footer> <!-- end article footer -->
-					
-					</article> <!-- end article -->
+						    </footer> <!-- end article footer -->
+						
+						    <?php comments_template(); // you may not need this ?>
 					
-					<?php comments_template(); ?>
+					    </article> <!-- end article -->
 					
-					<?php endwhile; ?>			
+					    <?php endwhile; ?>			
 					
-					<?php else : ?>
+					    <?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>
+        					<article id="post-not-found" class="hentry clearfix">
+        						<header class="article-header">
+        							<h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+        						</header>
+        						<section class="post-content">
+        							<p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+        						</section>
+        						<footer class="article-footer">
+        						    <p><?php __("This is the error message in the single-custom_type.php template.", "bonestheme"); ?></p>
+        						</footer>
+        					</article>
 					
-					<?php endif; ?>
+					    <?php endif; ?>
 			
-				</div> <!-- end #main -->
+				    </div> <!-- end #main -->
     
-				<?php get_sidebar(); // sidebar 1 ?>
+				    <?php get_sidebar(); // sidebar 1 ?>
+				    
+				</div> <!-- end #inner-content -->
     
 			</div> <!-- end #content -->
 

+ 36 - 33
single.php

@@ -1,57 +1,60 @@
 <?php get_header(); ?>
 			
-			<div id="content" class="clearfix">
+			<div id="content">
+
+				<div id="inner-content" class="wrap clearfix">
 			
-				<div id="main" class="col620 left first clearfix" role="main">
+					<div id="main" class="eightcol first clearfix" role="main">
 
-					<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+						<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 					
-					<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article" itemscope itemtype="http://schema.org/BlogPosting">
+							<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article" itemscope itemtype="http://schema.org/BlogPosting">
 						
-						<header>
+								<header class="article-header">
 							
-							<h1 class="single-title" itemprop="headline"><?php the_title(); ?></h1>
+									<h1 class="single-title" itemprop="headline"><?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(); ?> <span class="amp">&</span> <?php _e("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
+									<p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php __("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
 						
-						</header> <!-- end article header -->
-					
-						<section class="post_content clearfix" itemprop="articleBody">
-							<?php the_content(); ?>
-							
+								</header> <!-- end article header -->
 					
-						</section> <!-- end article section -->
+								<section class="post-content clearfix" itemprop="articleBody">
+									<?php the_content(); ?>
+								</section> <!-- end article section -->
 						
-						<footer>
+								<footer class="article-footer">
 			
-							<?php the_tags('<p class="tags"><span class="tags-title">Tags:</span> ', ', ', '</p>'); ?>
+									<?php the_tags('<p class="tags"><span class="tags-title">Tags:</span> ', ', ', '</p>'); ?>
 							
-						</footer> <!-- end article footer -->
+								</footer> <!-- end article footer -->
 					
-					</article> <!-- end article -->
+								<?php comments_template(); // comments should go inside the article element ?>
 					
-					<?php comments_template(); ?>
+							</article> <!-- end article -->
 					
-					<?php endwhile; ?>			
+						<?php endwhile; ?>			
 					
-					<?php else : ?>
+						<?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>
+							<article id="post-not-found" class="hentry clearfix">
+					    		<header class="article-header">
+					    			<h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+					    		</header>
+					    		<section class="post-content">
+					    			<p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+					    		</section>
+					    		<footer class="article-footer">
+					    		    <p><?php __("This is the error message in the single.php template.", "bonestheme"); ?></p>
+					    		</footer>
+							</article>
 					
-					<?php endif; ?>
+						<?php endif; ?>
 			
-				</div> <!-- end #main -->
+					</div> <!-- end #main -->
     
-				<?php get_sidebar(); // sidebar 1 ?>
+					<?php get_sidebar(); // sidebar 1 ?>
+
+				</div> <!-- end #inner-content -->
     
 			</div> <!-- end #content -->
 

+ 47 - 43
taxonomy-custom_cat.php

@@ -15,72 +15,76 @@ taxonomy-shoes.php
 
 <?php get_header(); ?>
 			
-			<div id="content" class="clearfix">
+			<div id="content">
 			
-				<div id="main" class="col620 left first clearfix" role="main">
+				<div id="inner-content" class="wrap clearfix">
+			
+				    <div id="main" class="eightcol first clearfix" role="main">
 				
-					<h1 class="archive_title h2"><span><?php _e("Posts Categorized:", "bonestheme"); ?></span> <?php single_cat_title(); ?></h1>
+					    <h1 class="archive-title h2"><span><?php __("Posts Categorized:", "bonestheme"); ?></span> <?php single_cat_title(); ?></h1>
 
-					<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+					    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 					
-					<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
+					    <article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
 						
-						<header>
+						    <header class="article-header">
 							
-							<h3 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
+							    <h3 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
 							
-							<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(); ?> <span class="amp">&</span> <?php _e("filed under", "bonestheme"); ?> <?php echo get_the_term_list( get_the_ID(), 'custom_cat', "" ) ?>.</p>
+							    <p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php __("filed under", "bonestheme"); ?> <?php echo get_the_term_list( get_the_ID(), 'custom_cat', "" ) ?>.</p>
 						
-						</header> <!-- end article header -->
+						    </header> <!-- end article header -->
 					
-						<section class="post_content">
+						    <section class="post_content">
 						
-							<?php the_post_thumbnail( 'bones-thumb-300' ); ?>
+							    <?php the_post_thumbnail( 'bones-thumb-300' ); ?>
 						
-							<?php the_excerpt('<span class="read-more">Read More &raquo;</span>'); ?>
+							    <?php the_excerpt('<span class="read-more">Read More &raquo;</span>'); ?>
 					
-						</section> <!-- end article section -->
+						    </section> <!-- end article section -->
 						
-						<footer>
+						    <footer class="article-footer">
 							
-						</footer> <!-- end article footer -->
+						    </footer> <!-- end article footer -->
 					
-					</article> <!-- end article -->
+					    </article> <!-- end article -->
 					
-					<?php endwhile; ?>	
+					    <?php endwhile; ?>	
 					
-					<?php if (function_exists('page_navi')) { // if expirimental feature is active ?>
+					        <?php if (function_exists('bones_page_navi')) { // if expirimental feature is active ?>
 						
-						<?php page_navi(); // use the page navi function ?>
+						        <?php bones_page_navi(); // use the page navi function ?>
 
-					<?php } else { // if it is disabled, display regular wp prev & next links ?>
-						<nav class="wp-prev-next">
-							<ul class="clearfix">
-								<li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
-								<li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
-							</ul>
-						</nav>
-					<?php } ?>
-								
-					
-					<?php else : ?>
+					        <?php } else { // if it is disabled, display regular wp prev & next links ?>
+						        <nav class="wp-prev-next">
+							        <ul class="clearfix">
+								        <li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
+								        <li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
+							        </ul>
+						        </nav>
+					        <?php } ?>
+					        
+					    <?php else : ?>
 					
-					<article id="post-not-found">
-					    <header>
-					    	<h1>No Posts Yet</h1>
-					    </header>
-					    <section class="post_content">
-					    	<p>Sorry, but the requested resource was not found on this site.</p>
-					    </section>
-					    <footer>
-					    </footer>
-					</article>
+        					<article id="post-not-found" class="hentry clearfix">
+        						<header class="article-header">
+        							<h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+        						</header>
+        						<section class="post-content">
+        							<p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+        						</section>
+        						<footer class="article-footer">
+        						    <p><?php __("This is the error message in the taxonomy-custom_cat.php template.", "bonestheme"); ?></p>
+        						</footer>
+        					</article>
 					
-					<?php endif; ?>
+					    <?php endif; ?>
 			
-				</div> <!-- end #main -->
+				    </div> <!-- end #main -->
     
-				<?php get_sidebar(); // sidebar 1 ?>
+				    <?php get_sidebar(); // sidebar 1 ?>
+				    
+				</div> <!-- end #inner-content -->
     
 			</div> <!-- end #content -->