Sfoglia il codice sorgente

clean up grid markup

added new grid
new html5 time
eddiemachado 14 anni fa
parent
commit
aef64b20c5
1 ha cambiato i file con 8 aggiunte e 8 eliminazioni
  1. 8 8
      index.php

+ 8 - 8
index.php

@@ -2,7 +2,7 @@
 			
 			<div id="content" class="clearfix">
 			
-				<div id="main" class="col620 clearfix" role="main">
+				<div id="main" class="col620 left clearfix" role="main">
 
 					<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 					
@@ -12,18 +12,18 @@
 							
 							<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><?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 _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>
 						
 						</header> <!-- end article header -->
 					
 						<section class="post_content clearfix">
-							<?php the_content(__('<span class="read-more">Read more on "'.the_title('', '', false).'" &raquo;</span>', "bonestheme")); ?>
+							<?php the_content(_e('<span class="read-more">Read more on "'.the_title('', '', false).'" &raquo;</span>', "bonestheme")); ?>
 					
 						</section> <!-- end article section -->
 						
 						<footer>
 			
-							<p class="tags"><?php the_tags(__('<span class="tags-title">Tags:</span> ', 'bonestheme'), ', ', ''); ?></p>
+							<p class="tags"><?php the_tags('<span class="tags-title">Tags:</span> ', ', ', ''); ?></p>
 							
 						</footer> <!-- end article footer -->
 					
@@ -40,8 +40,8 @@
 					<?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>
+								<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 } ?>		
@@ -50,10 +50,10 @@
 					
 					<article id="post-not-found">
 					    <header>
-					    	<h1><?php _e('Not Found', 'bonestheme'); ?></h1>
+					    	<h1>Not Found</h1>
 					    </header>
 					    <section class="post_content">
-					    	<p><?php _e('Sorry, but the requested resource was not found on this site.', 'bonestheme'); ?></p>
+					    	<p>Sorry, but the requested resource was not found on this site.</p>
 					    </section>
 					    <footer>
 					    </footer>