jaredatch / EA-Share-Count

A lean plugin that leverages SharedCount.com API to quickly retrieve, cache, and display various social sharing counts.
84 stars 13 forks source link

EA Share Count

Release License

Contributors: jaredatch, billerickson
Tags: facebook, linkedin, pinterest, share, share buttons, social, stumbleupon, twitter
Requires at least: 4.1
Tested up to: 4.7.0
Stable tag: 1.8.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

EA Share Count is a lean plugin for quickly retrieving, caching, and displaying various social sharing counts and buttons. It's developer-friendly and very extensible.

Installation

Download the plugin here. Once installed, go to Settings > Share Count to customize.

Use the "Retrieve Share Counts From" checkboxes to select which APIs you'd like to query for share counts. By default it will not receive any share counts. The Facebook API requires you to provide an Access Token.

The "Share Buttons to Display" field lets you control which share buttons to display and in what order. They can be automatically added before and/or after your site's content by selecting a Theme Location. Alternatively you can use ea_share()->front->display() in your theme to display the buttons.

Screenshots

1. Settings Page.

Settings Page

2. Fancy Style (default)

Fancy Style

3. Slim Style

Slim Style

4. Bubble Style

Bubble Style

5. Email Popup

Email Popup

Customization

You can also use the ea_share() function to access any of the internal methods. The most common use will be to get a specific share count. See all options here.

There are also many filters in place to customize the plugin. Here are some code snippets.