Giter Site home page Giter Site logo

thartl / shared-counts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jaredatch/shared-counts

0.0 1.0 0.0 421 KB

WordPress plugin that leverages SharedCount.com API to quickly retrieve, cache, and display various social sharing counts.

License: GNU General Public License v2.0

CSS 7.85% JavaScript 57.95% PHP 34.20%

shared-counts's Introduction

Plugin Version Total Downloads Plugin Rating WordPress Compatibility License

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

Shared Counts adds social sharing buttons that look great and keep your site loading fast.

We provide a one-click option to retrieve both HTTP and HTTPS share counts, ensuring you don't lose your share counts when upgrading your website to HTTPS.

GDPR Compliant: Unlike other social sharing tools, this plugin does not use cookies, tracking scripts, or store any user data.

We include many styling options, and you can automatically insert the buttons before and/or after the post content. You can also use the [shared_counts] shortcode to insert them inside the content.

Shared Counts was created with site performance in mind, even at large scale. It is used on several large websites that get tens of millions of page views each month. Our unique and creative caching methods have a minimal affect on site overhead. Leveraging the SharedCount.com API, we can retrieve (almost) all share counts in a single request.

Additionally, Shared Counts was built to be developer friendly! We provide very liberal usage of hooks and filters. Everything is customizable and the possibilities are near limitless. Unlike other plugins all data (counts) are stored and cached in post_meta which makes it easy to access for extending (e.g. fetch top 10 most shared posts on your site).

Add On Plugins

Included Buttons

  • Facebook
  • Pinterest
  • Yummly
  • Twitter (using the third-party NewShareCounts.com API)
  • StumbleUpon
  • Email sharing (with reCAPTCHA support to prevent abuse)
  • Share count totals
  • Print*
  • LinkedIn*
  • Google+*
  • denotes button/service does not support share count tracking.

Style Options

Fancy

fancy

Slim

slim

Classic

classic

Block

block

Bar

bar

Rounded

rounded

Buttons

buttons

Icons

icons

Installation

  1. Download the plugin from GitHub. or from WordPress.org.
  2. Activate plugin.
  3. Go to Settings > Shared Counts to configure.

We recommend you sign up for a free account at SharedCount.com, which lets you receive share counts from all services (except Twitter) with a single API query. Alternatively, you can select "Native" as the count source and select which services you'd like to query. If you select all 5 native service queries, then you will have 5 separate API queries every time share counts are updated.

If you would like to include Twitter share counts, you can sign up for a free account at NewShareCounts.com.

If you use the Email share button, we recommend you enable Google's reCAPTCHA to prevent spam. Sign up here (free) to get your Site Key and Secret Key.

Customization

For details on this please see the wiki.

Bugs

If you find an bug or problem, please let us know by creating an issue.

Contributions

Contributions are welcome!

  1. Open an Issue on GitHub.
  2. Fork Shared Counts on GitHub.
  3. Create a new branch off of develop; branch name should be issue/### to reference the issue.
  4. When committing, reference your issue and provide notes/feedback.
  5. Send us a Pull Request with your bug fixes and/or new features.

This Repo

Master branch is always stable and contains latest releases. Development occurs in the develop branch while large features/changes are contained in dedicated branches. For reporting bugs or contributing, see more additional information below.

shared-counts's People

Contributors

billerickson avatar dlangham avatar jaredatch avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.