[WordPress] 外掛分享: Chat Everywhere

首頁外掛目錄 › Chat Everywhere
WordPress 外掛 Chat Everywhere 的封面圖片
10+
安裝啟用
尚無評分
100 天前
最後更新
問題解決
WordPress 4.0.1+ PHP 5.6+ v1.2.6 上架:2021-04-02

內容簡介

Chat Everywhere 允許您在網站上的任何元素中添加類別,使其能夠打開 WhatsApp 或 Telegram 聊天。使用 Chat Everywhere,您可以在聯繫選項中添加兩個流行的聊天應用程序,建立一個豐富的聯繫頁面。

已經有一些偉大的外掛可以讓您在網站中放置浮動按鈕,讓訪問者通過 WhatsApp 或 Telegram 聯繫您,並且它們提供了許多自定義選項。但有時候我發現使用一個簡單的正常按鈕、菜單項或甚至是普通的文字鏈接來打開聊天會話是有用的。因此,我決定開發這個非常簡單但對我很有用的外掛,並與 WordPress 社區分享,希望能幫助其他人 🙂

在設置頁面中,您可以:

- 可選擇一個類別名稱,該插件將使用它來處理 onclick 事件以打開聊天。對於 WhatsApp,此類別的默認名稱將為 whatsapp_everywhere,對於 Telegram 則是 telegram_everywhere 🙂
- 對於 WhatsApp,您必須設置手機號碼,對於 Telegram,您必須指定 Telegram 用戶名
- 對於 WhatsApp,您可以選擇性設置短文本,您的網站訪問者可以使用它來啟動聊天(默認為空)

您需要做的最後一件事就是將選定的類別添加到您想要打開聊天的任何元素中:它可以是菜單項、按鈕、文字鏈接、圖片,任何東西...您需要根據您構建的頁面的方式來做這件事。

這就是全部。祝您聊天愉快!

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.6) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Chat Everywhere」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Chat Everywhere allows you to make any element in your website be able to open a WhatsApp or a Telegram chat just adding a class to it. Using Chat Everywhere you’ll be able to build a rich contact page adding two popular chat apps to your contact options.
There are already a few of great plugins which allows you to put a floating button in your website to allow your visitors to contact you through WhatsApp or Telegram and they offers a lot of customization, but sometimes it happened to me to find useful to use a simple, normal button to open a chat or a menu item or even a normal textual link. So I decided to develop this really simple but useful (to me) plugin and to share it with the WordPress community, hoping it could help someone else 🙂
In the settings page you can:
- optionally choose a class name which will be used by the plugin to open a chat handling the onclick event. For Whatsapp the default name of this class will be whatsapp_everywhere, for Telegram... telegram_everywhere 🙂
- For WhatsApp you'll have to set the phone number, for Telegram you'll have to specify the Telegram username
- For WhatsApp you can optionally set a short text your website's visitors will can use to start the chat (by default it is empty)

The last thing you have to do is to add the chosen class to any element you want open a chat: it could be a menu item, a button, a textual link, an image, anything… The way you have to do this depends on the way you build your pages
That’s all. Have a good chat!

文章
Filter
Apply Filters
Mastodon