Title: Post Share Count
Author: zviryatko
Published: <strong>2013-08-17</strong>
Last modified: 2015-02-01

---

Szukaj wtyczek

![](https://ps.w.org/post-share-count/assets/banner-772x250.png?rev=759803)

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://s.w.org/plugins/geopattern-icon/post-share-count_ffffff.svg)

# Post Share Count

 Autor: [zviryatko](https://profiles.wordpress.org/zviryatko/)

[Pobierz](https://downloads.wordpress.org/plugin/post-share-count.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/post-share-count/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/post-share-count/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/post-share-count/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/post-share-count/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/post-share-count/)

## Opis

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

## Instalacja

 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

## Najczęściej zadawane pytania

  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’);

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„Post Share Count” jest oprogramowaniem open source. Poniższe osoby miały wkład 
w rozwój wtyczki.

Zaangażowani

 *   [ zviryatko ](https://profiles.wordpress.org/zviryatko/)

[Przetłumacz wtyczkę “Post Share Count” na swój język.](https://translate.wordpress.org/projects/wp-plugins/post-share-count)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/post-share-count/), 
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/post-share-count/) 
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/post-share-count/)
przez [RSS](https://plugins.trac.wordpress.org/log/post-share-count/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 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.

## Meta

 *  Wersja **0.5.1**
 *  Ostatnia aktualizacja **11 lat temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 3.0 lub nowszej **
 *  Testowano do **3.6.1**
 *  Język
 * [English (US)](https://wordpress.org/plugins/post-share-count/)
 * Tagi
 * [Counter](https://pl.wordpress.org/plugins/tags/counter/)[share](https://pl.wordpress.org/plugins/tags/share/)
   [twitter](https://pl.wordpress.org/plugins/tags/twitter/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/post-share-count/advanced/)

## Oceny

 5 na 5 gwiazdek.

 *  [  2 recenzje 5-gwiazdkowe     ](https://wordpress.org/support/plugin/post-share-count/reviews/?filter=5)
 *  [  0 recenzji 4-gwiazdkowych     ](https://wordpress.org/support/plugin/post-share-count/reviews/?filter=4)
 *  [  0 recenzji 3-gwiazdkowych     ](https://wordpress.org/support/plugin/post-share-count/reviews/?filter=3)
 *  [  0 recenzji 2-gwiazdkowych     ](https://wordpress.org/support/plugin/post-share-count/reviews/?filter=2)
 *  [  0 recenzji 1-gwiazdkowych     ](https://wordpress.org/support/plugin/post-share-count/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/post-share-count/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/post-share-count/reviews/)

## Zaangażowani

 *   [ zviryatko ](https://profiles.wordpress.org/zviryatko/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/post-share-count/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=sanya%2edavyskiba%40gmail%2ecom&lc=UA&item_name=MakeYouLiveBetter&item_number=post%2dshare%2dcount&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)