Bosima WeChat Page Sharing

你可以控制Wordpress页面的微信分享内容,包括Url、标题、图片和内容。

Author:波斯码 (profile at wordpress.org)
WordPress version required:4.4
WordPress version tested:5.2.20
Plugin version:0.3.4
Added to WordPress repository:13-07-2017
Last updated:24-08-2019
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:https://github.com/bosima/wechat-page-sharing
Total downloads:8 010
Active installs:200+
plugin download
Click to start download

本插件通过集成微信提供的JS-SDK,从而实现自定义网页分享的内容,包括Url、标题、图片和内容。

1、本插件简单灵活,分享的内容可全部从页面提取,也可在后台自定义。
2、目前已实现首页、分类页、文章页、标签页、搜索页、存档页以及单独页面的分享。
3、分享目标支持微信朋友、微信朋友圈、QQ、QQ空间。
4、分享标题、图片、描述等内容首先从自定义模板提取,如果未设置模板则从页面提取,如果页面上提取不到则根据当前页面内容自动生成。
5、从页面提取时,各个分享内容的来源:标题来源于html->head->title,描述从html->head->meta[name=’description’]提取,图片取正文中的第一张图。
6、分享url目前只能是当前url,未提供自定义设置功能。

Dependency

WeChat JS-SDK

https://res.wx.qq.com/open/js/jweixin-1.2.0.js
This plugin depends on the WeChat JS-SDK, which is a remote JS file and provided by WeChat.
It provides initialization method of WeChat services, and provide some functions, including share to friends, share to circle of friends.
The JS-SDK is a service.

myip.fireflysoft.net

http://myip.fireflysoft.net
This plugin depends on the myip.fireflysoft.net, which can return the outbound IP of the user server.
The exit IP needs to be added to the WeChat IP whitelist.


Screenshots
FAQ
ChangeLog