WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Link to Comment Author's Profile Page

[Resolved] Link to Comment Author's Profile Page

  • I attempted to post on an older post which provided good reference for my issue here:

    http://wordpress.org/support/topic/link-to-authors-profile-page?replies=6#post-3774255

    However it was promptly locked. So I shall repeat my question.

    Plug-in’s and Theme used: P2 theme, WPSymposium

    I’d like anybody who’s registered through my site, and who leaves a comment on any post, to have their name clickable next to that comment and it will link to their profile created by WPSymposium (or even wordpress profile as symposium should forward subscriber roles automatically). This should overwrite any html link they may already have attached to their author name.

    Anybody know how I would go about doing this, in a similar method to the above post link?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Some more background:

    I’ve seen this posted already:

    replace
    <?php comment_author_link() ?>
    
    with
    
    <a href ="<?php bloginfo('url'); ?>/?author=<?php echo $comment->user_id ?>"><?php echo $comment->comment_author?></a>

    However I’m not finding this used in the p2 template. Is this referring to the wordpress core files? I’m attempting to keep all hacks within our child theme.

    resolved in another topic

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Link to Comment Author's Profile Page’ is closed to new replies.
Skip to toolbar