[WordPress] 外掛分享: WP Weixin

首頁外掛目錄 › WP Weixin
WordPress 外掛 WP Weixin 的封面圖片
400+
安裝啟用
★★★★★
5/5 分(6 則評價)
374 天前
最後更新
問題解決
WordPress 4.9.5+ PHP 7.0+ v1.3.18 上架:2018-04-28

內容簡介

WP Weixin 建立 WordPress 與微信的整合。在微信瀏覽器中自動註冊或認證用戶,使用微信掃描 QR 碼在電腦上創建帳戶或認證,在微信朋友圈和對話中分享帖子或擴展外掛程式的功能!

重要提示

需要使用中國內地的微信公眾號(必須與處理付款的配套外掛一起使用時才需要使用服務號)。
WordPress 使用的域名必須在官方帳戶後台中注冊。
外掛本身不需要編程知識,並且提供了實用的預設功能。但它真正優秀的地方在於開發人員使用它來擴展功能(主要是通過預初始化的 JS SDK、WeChat 應答者和各種提供的函數、操作和過濾器)。
在聯繫作者之前,請務必閱讀下面的“疑難排解、功能請求和第三方整合”部分以及完整文檔。

概述

此外掛為 WordPress 添加了以下主要功能:

WP Weixin 設置頁:可以在預設情況下使用英文或中文的官方帳戶(或在多站點中使用多個),其中包含每個選項的說明。
微信認證:在微信瀏覽器中自動在 WordPress 中創建和驗證用戶,或允許用戶使用經典瀏覽器掃描 QR 碼(社交登錄)。
微信帳戶綁定:讓用戶將現有的 WordPress 帳戶與其微信帳戶綁定/解除綁定。與 WooCommerce 和 Ultimate Member 帳戶頁面集成,並且可以輕鬆集成任何會員/帳戶/配置文件外掛。
微信分享:以漂亮的方式在 Moments 或 Send to chat 上分享文章和頁面。在成功和失敗時為開發人員觸發 JavaScript 事件。
強制使用微信手機版:防止用戶在微信瀏覽器以外瀏覽網站。如果使用經典瀏覽器訪問,頁面將顯示 QR 碼。
強制關注官方帳戶:收集微信關注者,強制用戶在訪問內容之前關注官方帳戶。
WordPress 用戶屏幕覆蓋:如果存在,顯示微信名稱和微信頭像,而不是用戶屏幕中的預設值。
WP Weixin QR 碼生成器:用於創建自定義 QR 碼。
菜單集成:當啟用微信應答程序時,可在 WordPress 中設置官方帳戶菜單。
歡迎消息:當用戶關注官方帳戶時,在微信中發送歡迎消息;在啟用微信應答程序時,可以在 WordPress 中這樣做。
開發人員 –WeChat 應答程序:供開發人員接收和回應 WeChat API 呼叫。
開發人員 –WeChat JS_SDK:預配置 wx JavaScript 全域變數,以更輕鬆地在 WordPress 主題中使用 WeChat 的 JavaScript SDK。

外掛標籤

開發者團隊

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

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

原文外掛簡介

WP Weixin provides integration between WordPress and WeChat. Register or authenticate users automatically in WeChat browser, use WeChat to create an account or authenticate on computers by scanning a QR code with WeChat, share posts in WeChat Moments and conversations or extend the plugin for more features!
Important notes

Requires a China Mainland WeChat Official Account (Subscription or Service – Service is required if used with companion plugins dealing with payments).
A domain used by WordPress must be registered in an Official Account’s backend.
The plugin itself does not require programming knowledge, and provides really useful functionalities out of the box. Where it really shines though is when used by developers to extend its functionalities (mainly through the pre-initialised JS SDK, the WeChat Responder, and various provided functions, actions and filters).
Make sure to read the “TROUBLESHOOT, FEATURE REQUESTS AND 3RD PARTY INTEGRATION” section below and the full documentation before contacting the author.

Overview
This plugin adds the following major features to WordPress:

WP Weixin settings page: configure the plugin with an Official Account (or as many as you want in multisite) in English or Chinese out of the box, with instructions for each option.
WeChat Authentication: automatically create and authenticate users in WordPress in the WeChat browser, or allow users to scan a QR code with WeChat when using classic browsers (social login).
WeChat Account Binding: let users bind/unbind their existing WordPress account with their WeChat account. Integrated with WooCommerce and Ultimate Member account pages, and may be integrated with any membership/account/profile plugin easily.
WeChat Share: Share posts and pages on Moments or Send to chat, in a pretty way. Triggers JavaScript events for developers on success and failure.
Force WeChat mobile: to prevent users from browsing the website outside of the WeChat browser. If accessed with a classic browser, the page displays a QR code.
Force following the Official Account: to harvest WeChat followers, forcing users to follow the Official Account before accessing the content.
WordPress Users screen override: to display WeChat names and WeChat avatars if they exist, instead of the default values in the user screen.
WP Weixin QR code generator: to create custom codes.
Menu integration: allows to set the Official Account menus in WordPress when the WeChat Responder is enabled.
Welcome message: sends a welcome message in WeChat when a user follows the Official Account ; allows to do so with WordPress when the WeChat Responder is enabled.
Developers – WeChat Responder: for developers to receive and respond to calls made by WeChat’s API.
Developers – WeChat JS_SDK: the wx JavaScript global variable is pre-configured with a signed package to leverage the JavaScript SDK of WeChat in WordPress themes more easily.

Compatible with WooCommerce, WooCommerce Multilingual, WPML, Ultimate Member, WordPress Multisite, and many caching plugins.
Companion Plugins

Woo WeChatPay: a payment gateway for WooCommerce.
WP Weixin Pay: an extension to enable money transfers to an Official Account.
WP Weixin Broadcast: broadcast WordPress posts to WeChat followers, directly from WordPress

Developers are encouraged to build plugins and themes integrated with WeChat with WP Weixin as a core, leveraging its publicly available functions, actions and filters, or directly make use of the provided SDK.
If you wish to see your plugin added to this list, please contact the author.
Advanced – Multisite
WP Weixin supports multisite installs of WordPress, wether using domain/subdomains or subdirectories. It can even support multiple Official Accounts, provided the proper filters are implemented. For more information, see a more extensive description of the multisite settings, and the Multisite section of the documentation.
Unlike some plugins (commercial, obfuscated, and with dubious security standards), WP Weixin does not and will not rely on a crossdomain script dumped at the root of WordPress, but prefers to leverage the standard WordPress functions, actions and filters.
Troubleshoot, feature requests and 3rd party integration
Unlike most WeChat integration plugins, WP Weixin and its companion plugins published by the same author are provided for free.
WP Weixin is regularly updated, and bug reports are welcome, preferably on Github. Each bug report will be addressed in a timely manner, but issues reported on WordPress may take significantly longer to receive a response.
WP Weixin and all the companion plugins have been tested with the latest version of WordPress – in case of issue, please ensure you are able to reproduce it with a default installation of WordPress, Storefront theme if WooCommerce is active, and any of the aforementioned supported plugins if used before reporting a bug.
Feature requests (such as “it would be nice to have XYZ”) or 3rd party integration requests (such as “it is not working with XYZ plugin” or “it is not working with my theme”) for WP Weixin and all its companion plugins will be considered only after receiving a red envelope (红包) of a minimum RMB 500 on WeChat (guarantee of best effort, no guarantee of result).
To add the author on WeChat, click here, scan the WeChat QR code, and add “WP Weixin” as a comment in your contact request.

延伸相關外掛

文章
Filter
Mastodon