תוסף זה לא נבדק ב-3 הגרסאות הראשיות האחרונות של וורדפרס. ייתכן והתוסף כבר לא מתוחזק או נתמך על ידי יוצריו, וייתכן שיהיו לו בעיות תאימות בגרסות וורדפרס עדכניות יותר.

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 repository, או הירשמו ללוג פיתוח באמצעות RSS.