Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Author Page Comments

Description

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

See the [Documentation] (http://webwoke.com/wp-plugins/authorcomments.html)

Installation

  • 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 <a href="/wp-login.php?redirect_to= »>logged in to post a comment.

    <

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

    <input type="hidden" name="redirect_to" id="redirect_to" value=" » />

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

    <input type="text" name="author" id="author" value=" » size= »22″ tabindex= »1″ /> Name

    <input type="text" name="email" id="email" value=" » size= »22″ tabindex= »2″ /> Mail (will not be published)

    <input type="text" name="url" id="url" value=" » size= »22″ tabindex= »3″ /> Website

    <!–

    XHTML: You can use these tags: `–>

ID); ?>

`

  • Activate Your Plugins

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« Author Page Comments » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Author Page Comments » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.