FastComments.com

Add Live Commenting to Zyro Sites

步驟 1:新增程式碼小工具 Internal Link

首先,在網站建置器中打開您的網站。

現在如果您尚未有想放置評論的區段,請新增一個空白區段:

新增區段
新增區段
新增區段
新增區段

現在透過點選剛新增的區段,然後在頂端點選 Add element,再選擇 Embed code,新增 Zyro Embed 小工具:

嵌入程式碼
嵌入程式碼

您會看到類似以下的畫面:

已新增程式碼區段
已新增程式碼區段

現在我們準備好進行 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. 您在預覽模式看不到此小工具,但在已發佈的網站版本上會顯示。