[wordpress插件] Author Page Comments作者页面评论

wordpress 插件 文章 2020-02-23 21:50 623 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

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

GNU / GPL AuthorComment是一个插件,可以像在作者感言中一样管理“作者页面”中的评论。

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

请参阅[文档](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.

      将author.php和authorcomments.php复制并粘贴到主题文件夹中。

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

      如果您已经拥有author.php,请复制并粘贴以下标签。


      <!-开始->

      loadACpostid($curauth->ID);

      loadACpostid($ curauth-> ID);

      if(sizeof($authorcomment)>0){ ?>

      if(sizeof($ authorcomment)> 0){?>

    • Send Author Comment

      发送作者评论

                     

                       

          ‘1’, ‘post_type’=>’authorcomments’, ‘ID’=>$authorcomment[0]->ID,
                                     

          “ 1”,“ post_type” =>“ authorcomments”,“ ID” => $ authorcomment [0]-> ID,
                                     

          ‘nopaging’ => 0, ‘post_status’ => ‘inherit’));

          ‘nopaging’=> 0,‘post_status’=>‘继承’));

          ?>

        ?>

            have_posts()) : while ($r->have_posts()) : $r->the_post();

          <?php if($ r-> have_posts()):while($ r-> have_posts()):$ r-> the_post(); 

        $withcomments = 1;                  

        $ withcomments = 1;                  

        comments_template("/authorcomments.php");

        comments_template(“ / authorcomments.php”);

        endwhile;

        最后

        endif;

        万一;

        ?>

    • ?>

      <!-结束->

    • Here is authorcomments.php look like.

      这是authorcomments.php的样子。

               

      <!-开始->         

      This post is password protected.

      此帖子受密码保护。

      Enter the password to view comments.

      输入密码以查看评论。

      ->

      to “

        
      <?php comments_number('No Responses','One Response','%Responses');?>改为“ <?php the_title();

      ?>”

      comment_status) : ?>                  

      Comments are closed.

      ->

      注释已关闭。 <?php endif;

      ?>

      ?>

      comment_status) : ?>

      comment_status):?>

      <

      << / p>

      div id=”respond”>

      div id =“已响应”>

      You must be 登录才能发表评论。

      <

      << / p>

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

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

      . 登录。退出» <

      /p>

      / p>

      下载地址

      https://downloads.wordpress.org/plugin/authorcomments.zip
-EOF-

AI助手支持GPT4.0