Close #646 - Replace ID's with classes
This commit is contained in:
@@ -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(__('← Older posts', 'roots')); ?></li>
|
||||
|
||||
Reference in New Issue
Block a user