
语言 🇨🇳 简体中文
TLDR
WordPress 安装
其他小部件
脱离 WordPress
插件移除
为 WordPress 站点添加实时评论
快速入门 
这是 WordPress 指南的“太长不看”版本。
- 转到您的 WordPress 控制面板的插件页面。点击
Add Plugin。 - 搜索
FastComments。 - 安装并激活我们的插件。
- 在左侧导航中点击
FastComments。 - 按照指示操作。通常只需几分钟,不会更久。
- 如果您有数万或数百万条评论,可能需要一些时间来同步。
安装 
FastComments WordPress 插件的安装旨在简便,并将您站点评论可用性的停机时间降至最低。在同步完成之前,系统不会从 WordPress 插件切换。
首先,您需要按照下方 Moderation 部分中的详细说明,与您的版主设定预期。让他们知道很快他们将通过 FastComments 进行审核,而不是在 WordPress 仪表板中。
接下来,安装该插件。您可以通过进入 WordPress 插件仪表板,点击 Add Plugin,并搜索 FastComments 来完成。该插件也可以从这里下载。
插件设置会询问您是否位于欧盟。如果是,您的帐户将位于欧盟的 eu.fastcomments.com,否则将位于 fastcomments.com。
接着,您可以选择是否已拥有 FastComments 帐户。按照后续步骤操作,您的评论可以在安装过程中选择性地上传。
注意! 在设置和同步进行过程中,请不要关闭 WordPress 插件页面。
评论将分批上传,并使用您 WordPress 数据库中现有的索引进行排序,以限制对您站点的负载。
一旦同步完成,默认的 WordPress 评论系统将被 FastComments 替换。我们希望您会喜欢我们的平台,如果不满意,请联系我们。
审核 
FastComments 用自己的工具取代了默认的 WordPress 审核工具。 您可以在此访问评论审核.
我们的审核工具旨在快速且易于使用。所有审核操作均为实时执行。
更多关于审核工作流、审核员统计、配置等信息,请在此处了解。
仅限会员站点(单点登录) 
FastComments 通过使用被称为 SSO(单点登录)的机制与仅限会员的网站配合使用。您的成员在您的 WordPress 站点登录,但 不必为了发表评论而担心在 FastComments 创建帐号或使用社交媒体登录。如果您的成员(包括管理员)已登录到 您的 WordPress 站点,他们就能发表评论。您的管理员和版主也可以直接在您的 WordPress 博客文章中进行评论管理。
(可选) 请记得还要将您的管理员添加到 User & Administrators 和版主添加到 Comment Moderators 以改善他们的体验并为版主启用统计跟踪。
SSO can be enabled by going to the plugin dashboard and clicking "SSO Settings".
You will first have to enable the "Anyone can Register" feature of your site.
All user information is seamlessly and securely transferred to FastComments each time a user views a comment thread via HMAC.
There is no initial or continuous sync that needs to be run to copy your members over to FastComments servers. This is automatically done when they view comment threads by opening a blog post.
名称和头像
The plugin will automatically update the user's display name and avatar on all their comments within FastComments when they view
any comment thread. Avatars are supported via Gravatar or any avatar management plugin within WordPress as the plugin will call get_avatar_url.
通知 
当您的成员被回复或被提及时,他们将收到与任何其他 FastComments.com 用户相同的通知。 了解更多.
同步回 WordPress 
默认情况下,FastComments 每天会将评论同步回您的 WordPress 站点。这样做纯粹是为了备份目的,以便您继续拥有数据的副本,并为可能依赖于它的插件提供支持。
由于某些站点能够处理大量读取流量,但其数据库部署未必能处理大量写入流量(因此将这部分工作卸载给 FastComments),所以这并不会在每次保存评论时立即发生。
可以通过安装插件来自定义同步回 WordPress 的计划。我们推荐 WP Crontrol。
步骤:
- 安装 WP Crontrol
- 转到
Settings -> Cron Schedules。 - 转到
Cron Events选项卡。 - 搜索
fastcomments_cron_hook。 - 编辑该事件。您可以将该钩子配置为每小时运行、每天运行两次、每天运行(默认)或每周运行一次。
也可以随时手动执行同步回 WordPress:进入 FastComments 插件仪表板并选择 Manually Sync。您可以选择将数据同步回您的 WP 安装,或将您的 WP 评论重新上传到 FastComments 服务器。
评论计数 
FastComments WordPress 插件将用 FastComments 提供的系统替换默认的 WordPress 计数机制。我们将发出一次异步请求 每次页面加载,当有一系列带有评论数的文章需要显示时。如果用户禁用 JavaScript,它将回退到默认的 WordPress 计数,因此 不会丧失功能。
域名错误 
您可能会遇到类似以下的授权错误:
这是因为 FastComments 不知道应允许您的账户在此域上使用。
在这种情况下,解决方法很简单。您只需将您的站点添加到您的 FastComments.com 帐户中即可。
在试用期内,域会自动添加到您的帐户,但在向 FastComments 帐户添加新站点时,也可能发生这种情况。
最新评论小部件 
最新评论 小部件显示整个站点发布的最新评论。它适用于侧边栏、页脚,或任何你想展示最新活动以鼓励进一步阅读的地方。
选项
- Title(可选):显示在列表上方的标题。默认为 "最新评论"。
- Count(可选):要显示的评论数量。范围 1 到 50。默认为 5。
如何添加
在文章或页面内
在区块编辑器中,添加一个 Shortcode 区块并粘贴:

count 属性接受介于 1 到 50 之间的任何值。
在侧边栏或页脚(经典主题)
在你的 WordPress 管理后台,转到 外观 > 小工具。在区块插入器中搜索 "FastComments",并选择 FastComments: Recent Comments。将其拖到侧边栏、页眉或页脚区域,然后在小工具面板中配置标题和数量。
在区块主题(全站编辑)中
在 外观 > 编辑器 下打开 站点编辑器。导航到应显示该小部件的模板部分,插入一个 Legacy Widget 区块,并从下拉菜单中选择 FastComments: Recent Comments。
故障排除
仅在完成 FastComments 设置并存储租户 ID 后,该小部件才会渲染。如果小部件区域为空,请在 WordPress 管理后台的 FastComments 中完成设置并重新加载页面。
最近讨论小部件 
The Recent Discussions widget displays the pages on your site with the most recent comment activity. It's useful for highlighting threads that are still being added to, so visitors can jump back into active conversations rather than landing on quiet pages.
Options
- 标题(可选): 列表上方显示的标题。默认值为 "最近讨论"。
- 数量(可选): 要显示多少个讨论。范围 1 到 50。默认值为 20。
How to Add It
Inside a Post or Page
In the block editor, add a Shortcode block and paste:

The count attribute accepts any value between 1 and 50.
In a Sidebar or Footer (Classic Themes)
Go to 外观 > 小工具 in your WordPress admin. From the block inserter, search for "FastComments" and choose FastComments: Recent Discussions. Drag it into a sidebar, header, or footer area, then configure the title and count from the widget panel.
In a Block Theme (Full Site Editing)
Open the 站点编辑器 under 外观 > 编辑器. Navigate to the template part where the widget should appear, insert a 传统小工具 block, and select FastComments: Recent Discussions from the dropdown.
Troubleshooting
The widget only renders after FastComments setup is complete and a tenant ID is stored. If the widget area is blank, complete setup under FastComments in the WordPress admin and reload the page.
If discussion ordering looks stale, check that the underlying pages have finished syncing in the FastComments 仪表板. The widget reads live data, so freshly imported comments may take a moment to surface.
热门页面小部件 
Top Pages 小部件显示网站上评论最多的页面。它有助于向新访客展示互动性最高的内容并增加网站停留时间。
选项
- 标题(可选):显示在列表上方的标题。默认为 "Top Pages"。
Top Pages 小部件会根据可用数据自动选择布局,并且不接受 count 属性。
如何添加
在文章或页面内
在区块编辑器中,添加一个 Shortcode 区块并粘贴:

在侧边栏或页脚(经典主题)
在你的 WordPress 管理后台,转到 外观 > 小工具。在区块插入器中搜索 "FastComments",并选择 FastComments: Top Pages。将其拖入侧边栏、页眉或页脚区域,然后在小工具面板中设置标题。
在区块主题(全站编辑)
在 外观 > 编辑器 下打开 Site Editor。导航到小部件应出现的模板部分,插入一个 Legacy Widget 区块,并从下拉菜单中选择 FastComments: Top Pages。
故障排除
只有在完成 FastComments 设置并存储 tenant ID 后,小部件才会渲染。如果小部件区域为空,请在 WordPress 管理后台的 FastComments 中完成设置并重新加载页面。
将评论迁移到新站点 
如果您要将站点从 WordPress 迁移并希望在新站点上使用 FastComments,则无需 WordPress 插件。请从 WordPress 导出您的评论,然后在 FastComments 仪表板的 导入页面 上传文件。
我们支持两种 WordPress 导出格式。
WordPress XML(推荐)
这是 WordPress 内置导出器生成的文件,因此不需要额外的插件。
- 在您的 WordPress 管理后台,前往
Tools -> Export。 - 选择
All content并点击Download Export File。 - 在 FastComments 的 导入页面 中,选择
WordPress (.xml)并上传文件。
每条评论都关联到其所在文章的 URL,该信息已包含在文件中。
导入会保留作者姓名、电子邮件和网站、日期、内容、回复线程以及评论是否已批准。评论者头像会从 Gravatar 带入。投票不在此格式中。
WordPress CSV
该文件来源于 WebToffee 的 WordPress 评论导入导出插件。
- 在您的 WordPress 管理后台安装该插件,并将评论导出为 CSV。
- 将每个
comment_post_ID的值替换为文章的 URL。 - 在 FastComments 的 导入页面 中,选择
WordPress (.csv)并上传文件。
每条评论都关联到 comment_post_ID 列。WordPress 用文章 ID 填充此列,而您的新站点没有 WordPress 文章 ID,因此第 2 步将其替换为 URL。
导入会保留作者姓名、电子邮件和网站、日期、内容、回复线程以及评论是否已批准。评论者头像会从 Gravatar 带入。如果文件中包含这些信息,还会保留 WordPress 的垃圾评论标记以及 wpDiscuz 的赞踩。
将评论匹配到新页面
如果您的新站点保留了与 WordPress 站点相同的 URL,评论会自动显示在对应页面,无需额外设置。
如果域名发生更改,请在导入后运行 域名迁移工具。如果单个页面的 URL 变化,您可以 迁移每个页面 从旧 URL 到新 URL。
对于批量页面迁移,例如从传递给评论小部件的 urlId 字段的值中移除域名,请 打开支持工单,我们将为您处理。
切换前准备
您可以随意多次运行导入。重新导入相同文件 不会产生重复,因此您可以先导入一次以测试新站点,然后在切换前再次导入最新的评论。
对于大于 1GB 的导出文件,请 联系支持。
要将 FastComments 添加到您的新站点,请参阅 安装指南。