Plugin info

Total downloads: 3,418
Active installs: 10
Total reviews: 2
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 2/1/2015 (4032 days ago)
Added to WordPress: 8/17/2013 (12 years old)
Minimum WordPress version: 3.0
Tested up to WordPress version: 3.6.1
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4032 days ago • 2 reviews

22/100

Is Post Share Count abandoned?

Possibly abandoned (last update 4032 days ago).

Compatibility

Requires WordPress: 3.0
Tested up to: 3.6.1
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Lightning Fast Social Media Buttons
Rating 0.0/5 (0 reviews)Active installs 0
Post Views Counter
Rating 4.9/5 (1,170 reviews)Active installs 200,000
WP-PostViews
Rating 4.4/5 (65 reviews)Active installs 100,000
SlimStat Analytics
Rating 4.8/5 (814 reviews)Active installs 80,000
StatCounter – Free Real Time Visitor Stats
Rating 4.0/5 (47 reviews)Active installs 70,000

Description

Show twitter and facebook share count. Send your feature request.

Installation

  1. Upload post-share-count.zip and extract to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php the_post_share_count(); ?> in your templates

Frequently Asked Questions

How to add html wrapper or some css class to counter and/or display counter as link?

Use array as argument with keys before_ and after_ prefix and social link name, here is example how to add @via parameter twitter sharing link:

<?php
$share_args = array(
    'before_twitter' => '<span class="share-link"><a href="https://twitter.com/intent/tweet?text=' . urlencode(get_the_title()) . '&url=' . urlencode(get_permalink()) . '&via=' . urlencode('your-twitter-name') . '" rel="nofollow" target="_blank"><span class="genericon genericon-twitter"></span> ',
    'after_twitter' => '</a></span>',
);
the_post_share_count( $share_args );
?>

Also you can add changes to functions.php:
function your_theme_post_share_count_services( $services ) {
$services[‘twitter’][‘before’] = ‘ ‘;
return $services;
}
add_filter(‘post_share_count_services’, ‘your_theme_post_share_count_services’);

How to limit list of social networks? (or “I want only twitter counter”)

Add show_only parameter:
array( ‘twitter’, ‘facebook’ ));
the_post_share_count($args);
?>

Also you can do it in functions.php:
function your_theme_post_share_count_services( $services ) {
unset( $services[‘facebook’] );
unset( $services[‘pinterest’] );
unset( $services[‘googleplus’] );
unset( $services[‘linkedin’] );
return $services;
}
add_filter(‘post_share_count_services’, ‘your_theme_post_share_count_services’);

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

0.5

  • Fix pinterest counter

0.4

  • Added LinkedIn counter
  • Added genericon css classes for icon font support
  • Added parameters time and max_sync, see get_the_post_share_count() function for details
  • Change donate link to PayPal

0.2

  • Added facebook counter
  • Changed the_post_share_count arguments, now one arg as array, see faq.