Wrong post ids and comment numbers
-
I’m having issues with the post id being wrong and the comments numbering weird. Right now I have two posts up but their ids are 22 and 31 for some odd reason. One of those posts has two comments on it but they are numbered six and seven. This is the code I’m using for the post ids:
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
And this is the only code I could find that relates to the comment count:
<h3><?php printf($comment_count > 1 ? __('<span>%d</span> Comments', 'thinkcreatelive') : __('<span>One</span> Comment', 'thinkcreatelive'), $comment_count) ?></h3>
You can see my blog at https://www.thinkcreatelive.com/blog
This is my first shot at WordPress so please explain your thoughts in depth ?? Any help is greatly appreciated!
- The topic ‘Wrong post ids and comment numbers’ is closed to new replies.