WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Author Page Comments

GNU/GPL AuthorComment is a plugins that help to administrate Comment in Author Page as like a testimonial for author.

  • Copy and paste the plugins in your plugins folder.

  • Copy and Paste author.php and authorcomments.php in your theme folder.

  • If you already have author.php, please copy and paste the tag below.

    loadACpostid($curauth->ID); if(sizeof($authorcomment)>0){ ?>

  • Send Author Comment

      '1', 'post_type'=>'authorcomments', 'ID'=>$authorcomment[0]->ID, 'nopaging' => 0, 'post_status' => 'inherit')); ?>
  •     <?php if ($r->have_posts()) : while ($r->have_posts()) : $r->the_post();
                      $withcomments = 1; 
                      comments_template("/authorcomments.php");
            endwhile; endif; ?>
        </ul>
        </li>
    

  • Here is authorcomments.php look like.

    This post is password protected. Enter the password to view comments.

    <div class="title">
    
    <?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”
    </div>
    
    <div class="navigation">
        <div class="alignleft"><?php previous_comments_link() ?></div>
        <div class="alignright"><?php next_comments_link() ?></div>
    </div>
    
    <ol class="commentlist">
    <?php wp_list_comments(); ?>
    </ol>
    
    <div class="navigation">
        <div class="alignleft"><?php previous_comments_link() ?></div>
        <div class="alignright"><?php next_comments_link() ?></div>
    </div>
    
    <?php if ('open' == $post->comment_status) : ?>
        <!-- If comments are open, but there are no comments. -->
    
     <?php else : // comments are closed ?>
        <!-- If comments are closed. -->
        <p class="nocomments">Comments are closed.</p>
    
    <?php endif; ?>
    
    comment_status) : ?>

    <

    div id="respond">

    You must be /wp-login.php?redirect_to=">logged in to post a comment.

    <

    form action="/wp-comments-post.php" method="post" id="commentform">

    " />

    Logged in as /wp-admin/profile.php">. " title="Log out of this account">Log out »

    " size="22" tabindex="1" /> Name

    " size="22" tabindex="2" /> Mail (will not be published)

    " size="22" tabindex="3" /> Website

    XHTML: You can use these tags: `-->

ID); ?>

`

  • Activate Your Plugins

Last Updated: 2009-6-6
Downloads: 644

Ratings

3 stars
3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
0,1,0