這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Author Page Comments

描述

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)

安裝

  • 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

評價

There are no reviews for this plugin.

貢獻者及開發者

“Author Page Comments” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Author Page Comments 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄