WordPress.org

Ready to get started?Download WordPress

Forums

No links to commenter's websites (3 posts)

  1. chickabug
    Member
    Posted 4 years ago #

    My template is e-fuse 1.0 by Joost Jonker. In my comments section, there are no links in the commenters' names. I tried a couple of fixes but I'm really, really new at this and didn't get anything to work.

    Here is the code that I think might need work:

    <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
    <cite> <?php comment_author_link( $comment_ID ); ?></cite>
    <?php if ($comment->comment_approved == '0') : ?>
    Your comment is awaiting moderation.
    <?php endif; ?>

    <small class="commentmetadata">" title="">
    <?php comment_date('F jS, Y') ?> at <?php comment_time() ?>

    <?php edit_comment_link('Moderate','',''); ?></small>

    <?php comment_text() ?>

    Can anyone help?

  2. serpico
    Member
    Posted 4 years ago #

    comment_author_url is your friend here.

    For example

    <a href="<?php comment_author_url(); ?>">Visit
    <?php comment_author(); ?>'s site</a>
  3. chickabug
    Member
    Posted 4 years ago #

    thanks, serpico! I tried that, though, and everyone's link is just coming up as a link back to the blog post (which is the default when there's no outside link supplied by a commenter, right? But there WERE outside links supplied). If that makes sense?

    Here's an example post with some comments -

    http://www.chickabug.com/blog/2010/05/party-inspirations-bug-garden-theme.html#comments

    Also, full disclosure: I just switched from blogger today. AUGH...

Topic Closed

This topic has been closed to new replies.

About this Topic