Close #646 - Replace ID's with classes

This commit is contained in:
Ben Word
2013-01-27 20:32:57 -06:00
parent 52064b609d
commit 17c2dfa691
11 changed files with 34 additions and 31 deletions

View File

@@ -7,7 +7,7 @@
<?php endif; ?>
<?php while (have_posts()) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<article <?php post_class(); ?>>
<header>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<?php get_template_part('templates/entry-meta'); ?>
@@ -22,7 +22,7 @@
<?php endwhile; ?>
<?php if ($wp_query->max_num_pages > 1) : ?>
<nav id="post-nav">
<nav class="post-nav">
<ul class="pager">
<?php if (get_next_posts_link()) : ?>
<li class="previous"><?php next_posts_link(__('&larr; Older posts', 'roots')); ?></li>