该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Shariff for WordPress

描述

This is the Shariff for WordPress plugin based on c’t Shariff.

For more information, check out the original GitHub project and the c’t information page.

Shariff enables website users to share their favorite content without compromising their privacy.

Facebook, Google+ and Twitter supply official sharing code snippets which quietly siphon personal data from all page visitors. Shariff enables visitors to see how popular your page is on Facebook and share your content with others without needless data leaks.

Shariff (/ˈʃɛɹɪf/) is an open-source, low-maintenance, high-privacy solution maintained by German computer magazine c’t and heise online.

Shariff supports sharing buttons for Facebook, Twitter, Google+, LinkedIn, Pinterest, Reddit, StumbleUpon, XING, WhatsApp and mail.
Select which color you want, set the button location, select the orientation fitting most to your website and set the TTL just as you want.

屏幕截图

  • /assets/screenshot-1.png
  • /assets/screenshot-2.png
  • /assets/screenshot-3.png

安装

  1. Upload the shariff-wp directory to /wp-content/plugins/
  2. Activate the plugin through th ‚Plugins‘ menu in WordPress
  3. Modify the settings as you want through Settings -> Shariff

常见问题

Installation Instructions
  1. Upload the shariff-wp directory to /wp-content/plugins/
  2. Activate the plugin through th ‚Plugins‘ menu in WordPress
  3. Modify the settings as you want through Settings -> Shariff
How do I hide Shariff on a page?

Method A: Edit the article and check Deactivate Shariff?.

Method B: Include hideshariff in the article. The word will be removed automatically and Shariff will not be shown. If you want to write hidesharrif in an article without removing Shariff, just write /hideshariff.

Shariff doesn’t show any numbers

Your user probably doesn’t have the right to write to the default temp folder /tmp. Then create a new folder and use it as temp folder in the Shariff settings, make sure that the rights are set correct.

评价

2016 年 9 月 3 日
It works like charm. I had to use a filter to make it compatible to Polylang, but at least it offers one 🙂
2016 年 12 月 21 日
The plugin does what it should, but it installs the Zend Framework as well as a library called Guzzle in the plugin directory. I have switched to the "Shariff Wrapper" plugin, which has the same functionality, but with far less code. https://wordpress.org/plugins/shariff/
2017 年 2 月 8 日
Great evolution from 2-click. Works fine. I'm at the moment missing some configs too. Like include/exclude on certain pages. Also I would like to be able to set the location of the buttons in my template manually.
阅读所有18条评价

贡献者及开发者

“Shariff for WordPress” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Shariff for WordPress”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1

  • Round theme and french support frontend translation (thanks to 3UU)
  • Insert Shariff by using the shariffhere tag
  • Support for Reddit and StumbleUpon
  • Counts for all supported services
  • Bug fixes
  • Upstream changes
  • Some other stuff

1.0.11

  • Spanish support
  • WhatsApp only on mobile devices

1.0.10

  • WhatsApp fixes

1.0.9

  • bug fixes
  • font awesome now part of the package
  • PHP version check
  • Option to hide Shariff on article overview pages

1.0.8

  • security fix

1.0.7

  • upstream changes
  • possibility to manually change temp dir

1.0.6

  • Bug fixes

1.0.5

  • Add Pinterest and XING (without count)
  • Fix mail

1.0.4

  • Add experimental LinkedIn support
  • Set default TTL to 60

1.0.3

  • Include latest upstream changes
  • Checkbox to hide Shariff when editing articles or pages

1.0.2

  • Own settings page
  • Possibility to hide Shariff on a certain page

1.0.1

  • Fixes a PHP warning

1.0

  • Initial release