[wordpress插件] Comment Connection评论连接

wordpress 插件 文章 2020-03-28 10:50 464 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Comment Connection is a plugin that turns an element of comment text to a link for a previous comment.

Comment Connection是一个插件,可将注释文本的元素转换为先前注释的链接。

Whenever an author uses @commenter, the text after @ is automatically linked to the previous comment it refers to.

每当作者使用@ commenter 时,@后面的文本都会自动链接到其引用的上一个注释。

The plugin works by searching each comment for an occurance of @.

该插件通过搜索每个注释中是否出现@来工作。

Where it finds one, the plugin searches the comment database for a comment on the same post written by the person being referenced.

如果找到一个,该插件会在评论数据库中搜索对被引用人撰写的同一帖子的评论。

By doing it this way, the plugin only adds one database query for each referencing comment.

通过这种方式,该插件仅为每个引用注释添加一个数据库查询。

If the type after the @ symbol does not correspond to a comment, no changes are made.

如果@符号后面的类型与注释不对应,则不会进行任何更改。

Currently tested successfully with the most current version of WP, 2.7.

当前已成功使用最新版本的WP 2.7进行了测试。

If you have trouble with earlier versions, or even have it work properly on earlier versions, please let me know.

如果您在使用早期版本时遇到问题,甚至无法在早期版本中正常工作,请告诉我。

For a complete list of the changes from each version, please visit the plugin homepage.

“>插件首页。

Be sure to check out my other plugins at my WordPress profile.

请确保在我的WordPress个人资料中查看我的其他插件。

USAGE

用法

Inside a comment, write @commenter where commenter is the name of the author you are replying to.

在评论中,输入@ commenter ,其中 commenter 是您要回复的作者的名字。

The plugin will successfully find a link when the commenter text is followed by a new line, colon (:), comma (,) or a dash (-).

当注释文本后接换行符,冒号(:),逗号(,)或破折号(-)时,插件将成功找到链接。

LIMITATIONS

限制

    1. Commenter must be an exact match of the original author’s name.
    2. 评论员必须与原始作者姓名完全匹配。

    3. Many database queries can occur for a post with many referencing comments.
    4. 具有很多引用注释的帖子可能会发生许多数据库查询。

    5. Only links to the last comment made by commenter (ie. if the commenter writes many comments before the @, the most recent one is linked to).
    6. 仅链接到评论者发表的最后评论(即,如果评论者在@之前写了很多评论,则链接到最新评论)。

安装步骤

    1. Copy the folder comment-connection into your WordPress plugins directory (wp-content/plugins).
    2. 将文件夹注释连接复制到WordPress插件目录(wp-content / plugins)。

    3. Log in to WordPress Admin.

    4. 登录WordPress管理员。

      Go to the Plugins page and click Activate for Comment Connection.

    5. 转到“插件”页面,然后单击“激活以进行注释连接”。

下载地址
https://downloads.wordpress.org/plugin/comment-connection.1.6.zip
-EOF-

AI助手支持GPT4.0