wordpress commentLuv自定义所选帖子

wordpress commentLuv自定义所选帖子,wordpress,Wordpress,我正在使用wordpress并尝试执行以下操作: -每当我在安装了commentLuv的博客上发表评论时,我希望随机选择一篇文章,为此我更新了以下文件: feed-rss.php、feed-rss2.php、feed-rdf.php、feed-atom.php 我所做的只是在浏览器中添加代码,对帖子进行随机排序http://myBlog?feed=rss2... 一切都很好,但当我尝试使用commentLuv时,它会将相同的OrderNew发布到Olester。 有办法解决这个问题吗?对不起,我

我正在使用wordpress并尝试执行以下操作:

-每当我在安装了commentLuv的博客上发表评论时,我希望随机选择一篇文章,为此我更新了以下文件: feed-rss.php、feed-rss2.php、feed-rdf.php、feed-atom.php

我所做的只是在浏览器中添加代码,对帖子进行随机排序http://myBlog?feed=rss2... 一切都很好,但当我尝试使用commentLuv时,它会将相同的OrderNew发布到Olester。 有办法解决这个问题吗?对不起,我的英语不好


非常感谢您的帮助。

以下是一些可能对您有所帮助的代码 步骤1–打开Comments.php

找到这一行:

<p><input type=”text” name=”url” id=”url” value=”<?php echo $comment_author_url; ?>” size=”22″ tabindex=”3″ />
<label for=”url”><small>Website</small></label></p>
步骤2–在Comments.php中插入新行

只需在前一行下添加此行:

<p><input type=”text” name=”atf_twitter_id” id=”atf_twitter_id” value=”<?php echo esc_attr($atf_twitter_id); ?>” size=”22″ tabindex=”4″ /><label for=”atf_twitter_id”>Twitter (@Username without the @)</label><br></p>