This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Social Numbers

Апісанне

This plugin adds a new template tag to show how many times a page or post has been liked and shared to Facebook or mentioned in tweets on Twitter.

Contribute

If you want to contribute to the project. Please feel free to watch, fork and love the project on GitHub.

Ўсталёўка

This is how you install and use the plugin.

  1. Upload the folder social-numbers to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

This gives you two new template tags to use in your WordPress theme.

This function to use inside the loop to get the shares of the current post.

The parameter $network is a string and can take two values: facebook, twitter.

Example that writes out the number of tweets mentioning the url of the current post:

If you don’t want to echo the result you can use the function with the get_ prefix.

This other function returns the number of shares to a specific post.

The parameter $network is a string and can take two values: facebook, twitter.
The second parameter $id is an int.

If you don’t want to echo the result you can use the function with the get_ prefix.

Водгукі

На гэты плагін няма водгукаў.

Удзельнікі і распрацоўшчыкі

“Social Numbers” з’яўляецца праграмным забеспячэннем з адкрытым зыходным кодам. Наступныя людзі ўнеслі свой уклад у гэты плагін.

Удзельнікі

Перакласці “Social Numbers” на вашу мову.

Зацікаўлены ў распрацоўцы?

Праглядзіце код, праверце SVN рэпазітарый, або падпішыцеся на журнал распрацоўкі па RSS.

Журнал змяненняў

0.1

  • Initial release. Supporting Facebook and Twitter.