]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/classic/index.php
WordPress 4.7.2-scripts
[autoinstalls/wordpress.git] / wp-content / themes / classic / index.php
index 5965562c9b736a7eedb0ef592933253baf7673c4..6cb8c63f603b6d1aae11b4d0c52057a29d0ec437 100644 (file)
@@ -1,4 +1,8 @@
 <?php
+/**
+ * @package WordPress
+ * @subpackage Classic_Theme
+ */
 get_header();
 ?>
 
@@ -6,7 +10,7 @@ get_header();
 
 <?php the_date('','<h2>','</h2>'); ?>
 
-<div class="post" id="post-<?php the_ID(); ?>">
+<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
         <h3 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
        <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> &#8212; <?php the_tags(__('Tags: '), ', ', ' &#8212; '); ?> <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
 
@@ -27,6 +31,6 @@ get_header();
 <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
 <?php endif; ?>
 
-<?php posts_nav_link(' &#8212; ', __('&laquo; Older Posts'), __('Newer Posts &raquo;')); ?>
+<?php posts_nav_link(' &#8212; ', __('&laquo; Newer Posts'), __('Older Posts &raquo;')); ?>
 
 <?php get_footer(); ?>