How To Make Comment In Author Page

June 4th, 2009 | 6 Comments » Posted by Harry

 

This time i will try to share what i do when i want a comment form appear in author page. This can be used for commenting the author as a testimonial in author page.

First make sure you have author.php in the template. If you don’t have it just create it (see Wordpress Codex for author template).

After that just add the code below.

thecode

After that copy and paste file authorcomments.php in your template folder. This file for render a costum html form for the comment.

Now it’s time to get the plugins to make it work automatically. Download the authorcomments pluginsĀ (WP 2.7.x and WP 2.8.x and extract it in plugins folder and don’t forget to activate it.

Now you can comment in author page.

Tags: , , , ,

6 Responses to “How To Make Comment In Author Page”

  1. Mika says:

    Hi. Just the plugin I need. But I can’t get it work. I followed your instructions and copied your example files into my theme directory, but there’s no Reply field on the user profile page. Could you help me out?

  2. Harry says:

    @Mika
    Since there is an update in post table, i already modified the plugins an now is ready for Wordpress 2.8.x (http://webwoke.com/wp-content/uploads/2009/06/authorcomments2.8.x.zip) and for older WP version (2.7.x) please use the old plugins version (http://webwoke.com/wp-content/uploads/2009/06/authorcomments.zip)

  3. Mark says:

    Thanks, but it does not work properly!

    I followed the directions on here and the comment form appears, but when I post a comment on one user’s author page, that comment appears on every user’s author page!

    If I post a comment on somebody’s author page, I want it to only show up on their page, and nobody else’s!

    Do you think you could help me with this? I’m using Wordpress 2.8.4 and a custom author.php.

  4. Harry says:

    @Mark, sorry for late reply.
    Since it use comment feature in wp, i think it cannot make any private comment.
    But mybe a little modification can do that. hmm… :)

  5. Mark says:

    I don’t want the comment to be private. I just want the comment to show up only on 1 author page, not every author page.

    For example: If I have 3 users, Harry, MarK, and Alex. I (Mark) want to leave a comment on Harry’s author page. When I make a comment there, the comment shows up on Mark’s author page, Alex’s author page, AND Harry’s author page. It should only show up on Harry’s author page, nobody else’s. When I make a comment on Alex’s author page, it should only show up on his page, and nobody else’s.

  6. Mark says:

    I think that there is a bug with your program. I think it is supposed to create an author page for every author. Instead, it shows the comments from the same page. Is there any chance of you fixing this any time soon?

Leave a Reply