Sfoglia il codice sorgente

updated articles for better compatibility with Readability

eddiemachado 13 anni fa
parent
commit
3545451d2c
9 ha cambiato i file con 26 aggiunte e 26 eliminazioni
  1. 1 1
      404.php
  2. 3 3
      archive-custom_type.php
  3. 3 3
      index.php
  4. 3 3
      page-custom.php
  5. 3 3
      page.php
  6. 3 3
      search.php
  7. 3 3
      single-custom_type.php
  8. 4 4
      single.php
  9. 3 3
      taxonomy-custom_cat.php

+ 1 - 1
404.php

@@ -14,7 +14,7 @@
 						
 							</header> <!-- end article header -->
 					
-							<section class="post-content">
+							<section class="entry-content">
 							
 								<p><?php _e("The article you were looking for was not found, but maybe try looking again!", "bonestheme"); ?></p>
 					

+ 3 - 3
archive-custom_type.php

@@ -16,11 +16,11 @@
 							
 							    <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(); ?>.</p>
+							    <p class="byline vcard"><?php _e("Posted", "bonestheme"); ?> <time class="updated" datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <span class="author"><?php the_author_posts_link(); ?></span>.</p>
 						
 						    </header> <!-- end article header -->
 					
-						    <section class="post-content clearfix">
+						    <section class="entry-content clearfix">
 						
 							    <?php the_excerpt(); ?>
 					
@@ -53,7 +53,7 @@
     						    <header class="article-header">
     							    <h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
     					    	</header>
-    						    <section class="post-content">
+    						    <section class="entry-content">
     							    <p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
         						</section>
     	    					<footer class="article-footer">

+ 3 - 3
index.php

@@ -14,11 +14,11 @@
 							
 							    <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="byline vcard"><?php _e('Posted', 'bonestheme'); ?> <time class="updated" datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time(get_option('date_format')); ?></time> <?php _e('by', 'bonestheme'); ?> <span class="author"><?php the_author_posts_link(); ?></span> <span class="amp">&</span> <?php _e('filed under', 'bonestheme'); ?> <?php the_category(', '); ?>.</p>
 						
 						    </header> <!-- end article header -->
 					
-						    <section class="post-content clearfix">
+						    <section class="entry-content clearfix">
 							    <?php the_content(); ?>
 						    </section> <!-- end article section -->
 						
@@ -53,7 +53,7 @@
 					            <header class="article-header">
 					        	    <h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
 					        	</header>
-					            <section class="post-content">
+					            <section class="entry-content">
 					        	    <p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
 					        	</section>
 					        	<footer class="article-footer">

+ 3 - 3
page-custom.php

@@ -20,11 +20,11 @@ Template Name: Custom Page Example
 							
 							    <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="byline vcard"><?php _e("Posted", "bonestheme"); ?> <time class="updated" datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <span class="author"><?php the_author_posts_link(); ?></span>.</p>
 						
 						    </header> <!-- end article header -->
 					
-						    <section class="post-content">
+						    <section class="entry-content">
 							    <?php the_content(); ?>
 						    </section> <!-- end article section -->
 						
@@ -46,7 +46,7 @@ Template Name: Custom Page Example
         					    <header class="article-header">
         						    <h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
         						</header>
-        					    <section class="post-content">
+        					    <section class="entry-content">
         						    <p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
         						</section>
         						<footer class="article-footer">

+ 3 - 3
page.php

@@ -14,11 +14,11 @@
 							
 							    <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="byline vcard"><?php _e("Posted", "bonestheme"); ?> <time class="updated" datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <span class="author"><?php the_author_posts_link(); ?></span>.</p>
 						
 						    </header> <!-- end article header -->
 					
-						    <section class="post-content clearfix" itemprop="articleBody">
+						    <section class="entry-content clearfix" itemprop="articleBody">
 							    <?php the_content(); ?>
 							</section> <!-- end article section -->
 						
@@ -40,7 +40,7 @@
     					    	<header class="article-header">
     					    		<h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
     					    	</header>
-    					    	<section class="post-content">
+    					    	<section class="entry-content">
     					    		<p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
     					    	</section>
     					    	<footer class="article-footer">

+ 3 - 3
search.php

@@ -16,11 +16,11 @@
 							
 									<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="byline vcard"><?php _e("Posted", "bonestheme"); ?> <time class="updated" datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <span class="author"><?php the_author_posts_link(); ?></span> <span class="amp">&</span> <?php _e("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
 						
 								</header> <!-- end article header -->
 					
-								<section class="post-content">
+								<section class="entry-content">
 								    <?php the_excerpt('<span class="read-more">Read more &raquo;</span>'); ?>
 					
 								</section> <!-- end article section -->
@@ -52,7 +52,7 @@
     					    	<header class="article-header">
     					    		<h1><?php _e("Sorry, No Results.", "bonestheme"); ?></h1>
     					    	</header>
-    					    	<section class="post-content">
+    					    	<section class="entry-content">
     					    		<p><?php _e("Try your search again.", "bonestheme"); ?></p>
     					    	</section>
     					    	<footer class="article-footer">

+ 3 - 3
single-custom_type.php

@@ -29,11 +29,11 @@ single-bookmarks.php
 							
 							    <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="byline vcard"><?php _e("Posted", "bonestheme"); ?> <time class="updated" datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <span class="author"><?php the_author_posts_link(); ?></span> <span class="amp">&</span> <?php _e("filed under", "bonestheme"); ?> <?php echo get_the_term_list( get_the_ID(), 'custom_cat', "" ) ?>.</p>
 						
 						    </header> <!-- end article header -->
 					
-						    <section class="post-content clearfix">
+						    <section class="entry-content clearfix">
 							
 							    <?php the_content(); ?>
 					
@@ -57,7 +57,7 @@ single-bookmarks.php
         						<header class="article-header">
         							<h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
         						</header>
-        						<section class="post-content">
+        						<section class="entry-content">
         							<p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
         						</section>
         						<footer class="article-footer">

+ 4 - 4
single.php

@@ -12,13 +12,13 @@
 						
 								<header class="article-header">
 							
-									<h1 class="single-title" itemprop="headline"><?php the_title(); ?></h1>
+									<h1 class="entry-title 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="byline vcard"><?php _e("Posted", "bonestheme"); ?> <time class="updated" datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <span class="author"><?php the_author_posts_link(); ?></span> <span class="amp">&amp;</span> <?php _e("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
 						
 								</header> <!-- end article header -->
 					
-								<section class="post-content clearfix" itemprop="articleBody">
+								<section class="entry-content clearfix" itemprop="articleBody">
 									<?php the_content(); ?>
 								</section> <!-- end article section -->
 						
@@ -40,7 +40,7 @@
 					    		<header class="article-header">
 					    			<h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
 					    		</header>
-					    		<section class="post-content">
+					    		<section class="entry-content">
 					    			<p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
 					    		</section>
 					    		<footer class="article-footer">

+ 3 - 3
taxonomy-custom_cat.php

@@ -31,11 +31,11 @@ taxonomy-shoes.php
 							
 							    <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="byline vcard"><?php _e("Posted", "bonestheme"); ?> <time class="updated" datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <span class="author"><?php the_author_posts_link(); ?></span> <span class="amp">&</span> <?php _e("filed under", "bonestheme"); ?> <?php echo get_the_term_list( get_the_ID(), 'custom_cat', "" ) ?>.</p>
 						
 						    </header> <!-- end article header -->
 					
-						    <section class="post-content">
+						    <section class="entry-content">
 						
 							    <?php the_excerpt('<span class="read-more">Read More &raquo;</span>'); ?>
 					
@@ -68,7 +68,7 @@ taxonomy-shoes.php
         						<header class="article-header">
         							<h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
         						</header>
-        						<section class="post-content">
+        						<section class="entry-content">
         							<p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
         						</section>
         						<footer class="article-footer">