FastComments.com

Add Live Commenting to Zyro Sites

第1步:添加代码小部件 Internal Link

首先,在网站构建器中打开你的网站。

Now if you don't already have a section where you want the comments to go, add a blank section:

添加部分
添加部分
添加部分
添加部分

Now add the Zyro Embed widget by clicking our new section and clicking Add element in the top and then Embed code:

嵌入代码
嵌入代码

You'll get something like this:

已添加代码部分
已添加代码部分

Now we're ready for Step 2.

成功 Internal Link


就这样!现在您应该已经在您的 Zyro 网站上添加了实时评论。

成功
成功

如果您遇到权限被拒绝的错误,或想自定义 FastComments,请继续阅读。


站点自定义 Internal Link


FastComments 设计为可定制,以匹配您的网站。

如果您想添加自定义样式或调整配置,查看我们的自定义与配置文档以了解如何操作。


浮动点赞按钮 Internal Link

FastComments 还支持 Zyro 的 Page Reacts(也称为浮动喜欢按钮)小部件。

你可以在本页的右下角看到它的效果!

  1. 首先,获取代码:
Zyro 浮动喜欢按钮 代码
Copy Copy
1
2<script src="https://cdn.fastcomments.com/js/embed-page-likes-floating.min.js?v=2" async></script>
3<div id="fastcomments-page-likes-floating"></div>
4<script>
5 (function () {
6 function tryLoad() {
7 if (typeof window.FastCommentsEmbedPageLikesFloating === 'function') {
8 window.FastCommentsEmbedPageLikesFloating(document.getElementById('fastcomments-page-likes-floating'), {
9 tenantId: "demo"
10 });
11 } else {
12 setTimeout(tryLoad, 50);
13 }
14 }
15
16 tryLoad();
17 })();
18</script>
19
  1. 然后,在 Zyro 中打开站点构建器。
  2. 转到左下角的“网站设置”。
  3. 选择“集成”。
  4. 将新代码添加到 Custom code 字段的 末尾,并发布您的站点。
  5. 在预览模式下你看不到该小部件,但在发布后的站点版本中它会出现。