Forums

Logged-in user 's comments - display email/website info from his User Profile (3 posts)

  1. enginerd
    Member
    Posted 2 years ago #

    Hi,

    I have enabled the flag "Users must be registered and logged in to comment" on my wordpress installation.

    Now, on the comments page, I want to display this registered user's profile info (Name, nickname and website) alongside his comment?

    <?php comment_author_link() ?> only displays the logged in user's username.

    I am unable to find any template tag that helps me to display the registered user's info from his profile(Name, nickname and website) with the comment's text.

    Please help.

    Thanks
    Anand

  2. Peter Boosten
    Member
    Posted 2 years ago #

    You need to look better then... look for instance here and here, and in general here.

    Peter

  3. John Hoare
    Member
    Posted 2 years ago #

    I've been trying this with WordPress 2.9.1, but comment_author_url() isn't displaying the URL from the profile of registered users. I'm definitely using it in the correct place in the comment loop - unregistered users URLs are showing up fine.

    What am I missing?

Topic Closed

This topic has been closed to new replies.

About this Topic