Close #646 - Replace ID's with classes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
|
||||
<article <?php post_class(); ?>>
|
||||
<header>
|
||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
<?php get_template_part('templates/entry-meta'); ?>
|
||||
@@ -8,7 +8,7 @@
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
<footer>
|
||||
<?php wp_link_pages(array('before' => '<nav id="page-nav"><p>' . __('Pages:', 'roots'), 'after' => '</p></nav>')); ?>
|
||||
<?php wp_link_pages(array('before' => '<nav class="page-nav"><p>' . __('Pages:', 'roots'), 'after' => '</p></nav>')); ?>
|
||||
<?php the_tags('<ul class="entry-tags"><li>','</li><li>','</li></ul>'); ?>
|
||||
</footer>
|
||||
<?php comments_template('/templates/comments.php'); ?>
|
||||
|
||||
Reference in New Issue
Block a user