Quick question regarding comment.php
-
I’m working on comments.php right now.
When you make a comment, you enter your name, email and website. How do I get the “website” to show up when the comment is shown?
<ol class="commentlist"> <?php foreach ($comments as $comment) : ?> <li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>"> <div class="commenttext"> <p>Comment by <em><strong><?php comment_author_link() ?></strong></em></p> <?php comment_text() ?> <p><span class="date"><img src="/images/commentlink.gif" alt="" /> <a href="#comment-<?php comment_ID() ?>" title=""><?php comment_time() ?> on <?php comment_date('n/j/y') ?></a></span></p> <?php // edit_comment_link('edit',' ',''); ?> </div> <?php if ($comment->comment_approved == '0') : ?> <p><em>Your comment is awaiting approval.</em></p> <?php endif; ?> </li> <?php /* Changes every other comment to a different class */ $oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';?> <?php endforeach; /* end for each comment */ ?> </ol>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Quick question regarding comment.php’ is closed to new replies.