Posts Social Shares Count

plugin banner

Plugin that gives you shortcodes and PHP functions to count posts/pages shares on 6 social networks!

Author:Bishoy A. (profile at wordpress.org)
WordPress version required:2.5.0
WordPress version tested:4.3.26
Plugin version:1.4.1
Added to WordPress repository:06-09-2014
Last updated:24-11-2015
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, %:74
Rated by:6
Plugin URI:http://bishoy.me/wp-plugins/posts-social-shar...
Total downloads:6 638
Active installs:700+
plugin download
Click to start download

About

You can use this plugin to get the number of shares for a given post by ID.

How to use

To count for example how many times the post or page has been shared on Facebook use the function echo pssc_facebook() in the loop or echo pssc_facebook( $post_id ) anywhere. This function will return the count integer for example 5 or 0.

Or you can use the shortcode [pssc_facebook] in the post you want to count shares for or [pssc_facebook post_id=””] for a specific post by ID.

Available Shortcodes

  • [pssc_facebook]
  • [pssc_pinterest]
  • [pssc_linkedin]
  • [pssc_delicious]
  • [pssc_stumble]
  • [pssc_gplus]
  • [pssc_all]

Available Functions

  • pssc_facebook()
  • pssc_pinterest()
  • pssc_linkedin()
  • pssc_delicious()
  • pssc_stumble()
  • pssc_gplus()
  • pssc_all()

Note that PHP functions needs to be echoed.

Change Log

  • Version 1.4.1: Removed Twitter functions due Twitter’s disabling their count API.
  • Version 1.4.0: Fixed some bugs and added Posts Social Shares Count to edit posts/pages/custom post types list view in admin (edit.php).
  • Version 1.3.1: Fixed a bug with caching.
  • Version 1.3: Added caching support and Added total shares count to post edit page.
  • Version 1.2: Fixed a bug with functions without post ID usage.
  • Version 1.1: Fixed a bug with pssc_all shortcode

Screenshots
ChangeLog