Ver Fonte

updated grid

eddiemachado há 13 anos atrás
pai
commit
6fd0bba97a
10 ficheiros alterados com 392 adições e 365 exclusões
  1. 19 13
      404.php
  2. 76 67
      archive.php
  3. 12 11
      comments.php
  4. 48 51
      index.php
  5. 37 33
      page-custom.php
  6. 37 33
      page.php
  7. 44 48
      search.php
  8. 37 32
      single-custom_type.php
  9. 36 33
      single.php
  10. 46 44
      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(); ?>

+ 12 - 11
comments.php

@@ -8,8 +8,8 @@ The comments page for Bones
     die ('Please do not load this page directly. Thanks!');
 
   if ( post_password_required() ) { ?>
-  	<div class="help">
-    	<p class="nocomments">This post is password protected. Enter the password to view comments.</p>
+  	<div class="alert help">
+    	<p class="nocomments"><?php __("This post is password protected. Enter the password to view comments.", "bonestheme"); ?></p>
   	</div>
   <?php
     return;
@@ -46,8 +46,9 @@ The comments page for Bones
     	<!-- If comments are open, but there are no comments. -->
 
 	<?php else : // comments are closed ?>
+	
 	<!-- If comments are closed. -->
-	<p class="nocomments">Comments are closed.</p>
+	<p class="nocomments"><?php __("Comments are closed.", "bonestheme"); ?></p>
 
 	<?php endif; ?>
 
@@ -65,7 +66,7 @@ The comments page for Bones
 	</div>
 
 	<?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?>
-  	<div class="help">
+  	<div class="alert help">
   		<p>You must be <a href="<?php echo wp_login_url( get_permalink() ); ?>">logged in</a> to post a comment.</p>
   	</div>
 	<?php else : ?>
@@ -74,25 +75,25 @@ The comments page for Bones
 
 	<?php if ( is_user_logged_in() ) : ?>
 
-	<p class="comments-logged-in-as">Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out &raquo;</a></p>
+	<p class="comments-logged-in-as"><?php __("Logged in as", "bonestheme"); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account"><?php __("Log out", "bonestheme"); ?> &raquo;</a></p>
 
 	<?php else : ?>
 	
 	<ul id="comment-form-elements" class="clearfix">
 		
 		<li>
-		  <label for="author">Name <?php if ($req) echo "(required)"; ?></label>
+		  <label for="author"><?php __("Name", "bonestheme"); ?> <?php if ($req) echo "(required)"; ?></label>
 		  <input type="text" name="author" id="author" value="<?php echo esc_attr($comment_author); ?>" placeholder="Your Name" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> />
 		</li>
 		
 		<li>
-		  <label for="email">Mail <?php if ($req) echo "(required)"; ?></label>
+		  <label for="email"><?php __("Mail", "bonestheme"); ?> <?php if ($req) echo "(required)"; ?></label>
 		  <input type="email" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" placeholder="Your Email" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
-		  <small>(will not be published)</small>
+		  <small><?php __("(will not be published)", "bonestheme"); ?></small>
 		</li>
 		
 		<li>
-		  <label for="url">Website</label>
+		  <label for="url"><?php __("Website", "bonestheme"); ?></label>
 		  <input type="url" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" placeholder="Your Website" tabindex="3" />
 		</li>
 		
@@ -103,11 +104,11 @@ The comments page for Bones
 	<p><textarea name="comment" id="comment" placeholder="Your Comment Here..." tabindex="4"></textarea></p>
 	
 	<p>
-	  <input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
+	  <input name="submit" type="submit" id="submit" class="button" tabindex="5" value="Submit Comment" />
 	  <?php comment_id_fields(); ?>
 	</p>
 	
-	<div class="help">
+	<div class="alert info">
 		<p id="allowed_tags" class="small"><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></p>
 	</div>
 	

+ 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 -->
 

+ 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 -->
 

+ 46 - 44
taxonomy-custom_cat.php

@@ -15,72 +15,74 @@ 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">
-						
-							<?php the_post_thumbnail( 'bones-thumb-300' ); ?>
+						    <section class="post-content">
 						
-							<?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 -->