Title: zhanzhangb-share
Author: 站长帮
Published: <strong>April 23, 2020</strong>
Last modified: April 23, 2020

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/zhanzhangb-share/assets/icon-256x256.png?rev=2289985)

# zhanzhangb-share

 By [站长帮](https://profiles.wordpress.org/ywtywt/)

[Download](https://downloads.wordpress.org/plugin/zhanzhangb-share.zip)

 * [Details](https://wordpress.org/plugins/zhanzhangb-share/#description)
 * [Reviews](https://wordpress.org/plugins/zhanzhangb-share/#reviews)
 *  [Installation](https://wordpress.org/plugins/zhanzhangb-share/#installation)
 * [Development](https://wordpress.org/plugins/zhanzhangb-share/#developers)

 [Support](https://wordpress.org/support/plugin/zhanzhangb-share/)

## Description

插件功能：支持微信分享：带缩略图与摘要、朋友圈分享带缩略图与摘要（均支持未认证公众
号）；QQ分享：带缩略图；QQ空间分享：带缩略图与摘要；微博分享：带缩略图与摘要；LinkedIn
分享：带缩略图与摘要；邮件分享：调起系统默认邮箱客户端
 支持后台设置分享图标的位置，
可选出现在文章页面的正文之前或正文之后。 支持短代码，可以通过短代码自定义分享图标
的位置。 分享时自动获取文章标题、文章摘要、特色图片等信息。

### Arbitrary section

隐私说明：本插件需要通过微信官方API接口鉴权，如果使用本插件，代表您同意将微信公众
号的密钥（SecretId与SecretKey）等信息发送至”api.weixin.qq.com”。

API隐私政策及其它说明（Privacy Policy）：https://mp.weixin.qq.com/cgi-bin/announce?
action=getannouncement&key=1503979103&version=1&lang=zh_CN&platform=2

插件支持：https://www.zhanzhangb.com

本插件由站长帮制作并发行，官网：https://www.zhanzhangb.com

### A brief Markdown Example

无

## Screenshots

 * [[
 * `/assets/screenshot-1.png`
 * [[
 * `/assets/screenshot-2.png`

## Installation

This section describes how to install the plugin and get it working.

e.g.

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Settings->Plugin Name screen to configure the plugin
 4. (Make your instructions match the desired user flow for activating and installing
    your plugin. Include any steps that might be needed for explanatory purposes)

## FAQ

  分享到微信如何才能显示缩略图？

1、首先不论是认证过的，还是未认证的，都需要有一个微信公众号。如果没有公众号，请先
注册一个。
 2、微信公众号后台 -> 设置 -> 安全中心 -> IP白名单 添加自己的主机IP（
运行插件的主机）。 3、微信公众号后台 -> 开发 -> 基本配置 获取：开发者ID(AppID) 与
开发者密码(AppSecret)，并正确填入到插件后台中。 4、微信公众号后台 -> 设置 -> 公众
号设置 -> 功能设置 -> JS接口安全域名，至少需要将自己网站域名与调用JS、图片的域名
设置在安全域名名单里。

  提示：“Notice: Undefined property”错误

是因为微信公众号后台 -> 设置 -> 安全中心 -> IP白名单设置错误。

  没有提示任何错误，但微信分享还是没图

检查微信公众号后台 -> 设置 -> 公众号设置 -> 功能设置 -> JS接口安全域名是否与图片
调用的域名一致，另外文章特色图片是否大于300×300。

  为什么我的分享图标显示错位

检查插件目录中css/zhanzhangb-share.css文件中的样式是否与网站主题的样式冲突。

  为什么二维码是空白的

插件使用javascript代码生成二维码，依赖jquery库运行，请确认网站是否正确加载了jquery
库，WordPress默认是加载的

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“zhanzhangb-share” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ 站长帮 ](https://profiles.wordpress.org/ywtywt/)

[Translate “zhanzhangb-share” into your language.](https://translate.wordpress.org/projects/wp-plugins/zhanzhangb-share)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/zhanzhangb-share/),
check out the [SVN repository](https://plugins.svn.wordpress.org/zhanzhangb-share/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/zhanzhangb-share/)
by [RSS](https://plugins.trac.wordpress.org/log/zhanzhangb-share/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * 首次正式发布
 * 经过两周的测试已稳定

## Meta

 *  Version **1.0.0**
 *  Last updated **6 years ago**
 *  Active installations **20+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **5.4.19**
 *  PHP version ** 5.5 or higher **
 * Tags
 * [share](https://wordpress.org/plugins/tags/share/)[weixin](https://wordpress.org/plugins/tags/weixin/)
 *  [Advanced View](https://wordpress.org/plugins/zhanzhangb-share/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/zhanzhangb-share/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/zhanzhangb-share/reviews/)

## Contributors

 *   [ 站长帮 ](https://profiles.wordpress.org/ywtywt/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/zhanzhangb-share/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.zhanzhangb.com/)