I’m seeing comments on your site.
For future reference, please do not post code in your post, you can use http://wordpress.pastebin.ca if need be.
Thanks for the tip will do in the future.
When I go to my site, all that i see under my post is “# comments” and viewers have to click that link to actually display the comments. I really want the comments to be displayed without taking that extra step. Any suggestions?
No suggestions. Or search.
That how blogs work: they display the comments ONLY on the single post view, not on the index (thanks God!).
Actually, there’s a plugin that will show the comments if you click on them on the home page via some AJAX.
http://kashou.net/blog/inline-ajax-comments/
There may be others…
(@robertlyttle)
19 years, 3 months ago
I know this has been beaten to death, but none of the other threads helped me. I want to display all of my comments. Here is the relevent code (i think) from my comments.php.
<!– You can start editing here. –>
<?php if ($comments) : ?>
<h3 id=”comments”><?php comments_number(‘No Responses’, ‘One Response’, ‘% Responses’ );?> to “<?php the_title(); ?>”</h3>
<ol class=”commentlist”>
<?php foreach ($comments as $comment) : ?>
<li class=”<?php echo $oddcomment; ?>” id=”comment-<?php comment_ID() ?>”>
<div class=”cmtinfo”>on <?php comment_date(‘d M Y’) ?> at <?php comment_time() ?> <small class=”commentmetadata”>” title=””> <?php edit_comment_link(‘edit this’,”,”); ?></small><cite><?php comment_author_link() ?></cite></div>
<?php if ($comment->comment_approved == ‘0’) : ?>
Your comment is awaiting moderation.
<?php endif; ?>
<?php comment_text() ?>
<?php /* Changes every other comment to a different class */
if (‘alt’ == $oddcomment) $oddcomment = ”;
else $oddcomment = ‘alt’;
?>
<?php endforeach; /* end for each comment */ ?>
My site is http://www.wiitod.com
Please help me, thanks.