WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Link to Comment Author's Profile Page (3 posts)

  1. gbrazell
    Member
    Posted 1 year ago #

    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?

  2. gbrazell
    Member
    Posted 1 year ago #

    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.

  3. gbrazell
    Member
    Posted 1 year ago #

    resolved in another topic

Topic Closed

This topic has been closed to new replies.

About this Topic