跳到内容

Social Counters

v2.2.9

mortay · 2010年10月8日 上架

It allows to place counters and social sharing links to the most popular social networks like Menéame, Twitter, Facebook, Google Buzz, Tuenti or Bitac …

正在使用
20+
评分
暂无
累计下载
1.4 万
最近更新
2016年3月29日
需要 WordPress 2.9+已测试到 4.4.34

截图

Default view in a single post
Default view in a single post

It allows to place counters and social sharing links to the most popular social networks like Menéame, Twitter, Facebook, Google Buzz, Tuenti or Bitacoras.com.

It also has WordPress actions (add_action) and filters (add_filter) allowing to select the social sharing links we want to show.

The available functions are:

  • the_social_counters( $counters = array() ): Displays selected social counters.

    • $counters: Array with list of social counters to view, by default bitacoras,tuenti,google-buzz,meneame,twitter,facebook
  • the_social_counters__get ( $counters = array() ): Returns the selected social counters.

    • $counters: Array with list of social counters to view, by default bitacoras,tuenti,google-buzz,meneame,twitter,facebook
  • social_counter( $social_counter = '', $postparam = false, $linked = true ): Displays a particular social counter

    • $social_counter: Name of social counter, by default the options are bitacoras,tuenti,google-buzz,meneame,twitter,facebook
    • $postparam: $post object to get the counter, by default system use global $post;
    • $linked: Simple option to de-activate link.
  • social_counter__get( $social_counter = '', $postparam = false, $linked = true ): Returns a particular social counter

    • $social_counter: Name of social counter, by default the options are bitacoras,tuenti,google-buzz,meneame,twitter,facebook
    • $postparam: $post object to get the counter, by default system uses global $post var.
    • $linked: Simple option to de-activate link.

It’s also possible to define two constants in ‘wp-config.php’…

  • SOCIAL_COUNTER__LOAD_CSS: If we define this constant as false, the plugin will not load the default style.
  • SOCIAL_COUNTER__LOAD_CSS_SMALL: If we define this constanta as true, the plugin will load de small icons.
  • SOCIAL_COUNTER__TWITTER_USER: The twitter sharing link includes this username with the RT link.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums