comment id – I’m stumped!
-
The comment numbering system on the new theme gets to 9 and then starts over with 0,1,2 etc. I am sure it is some easy peasy thing but still I remain clueless. Here’s the code that I believe to be pertinent:
<?php if ( $comments ) : ?>
<ol id="commentlist"><?php foreach ($comments as $comment) : ?>
<li id="comment-<?php comment_ID() ?>"> <?php comment_text() ?>
<p><cite><?php comment_type(__('Comment'), __('Trackback'), __('Pingback')); ?> <?php _e('by'); ?> <?php comment_author_link() ?> — <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite> <?php edit_comment_link(__("Edit This"), ' |'); ?></p>
</li><?php endforeach; ?>
</ol>
You can see it in action at shabbyelements.com/blog
Appreciate any input! ??
- The topic ‘comment id – I’m stumped!’ is closed to new replies.