>
Download This Plugin | |
Download Elegant Themes | |
Name | VA Shared Count |
Version | 1.0.4 |
Author | KUCKLU |
Rating | 100 |
Last updated | 2014-08-16 01:31:00 |
Downloads |
738
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
VA Shared Count plugin added 4 bytes of resources to the Home page and 19 bytes of resources to the sample Post page.
VA Shared Count plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! VA Shared Count plugin ads no tables to your Wordpress blog database.This plugin has already finished support.
I am developing new plugin now.
As for the new plugin, there is no transfer and compatibility with VA Shared Count.
Can get the number that your article has been shared on social networking sites.
You can use the template function of VA Shared Count, to make the share button on the original.
<?php var_dump( vasc_get_count() ); ?>
<?php var_dump( vasc_get_count( $post->ID ) ); ?>
<?php vasc_get_the_count(); ?>
<?php vasc_get_the_count( $post->ID ); ?>
<ul class="shared-count">
<li>
<a class="shared-count__link" href="<?php echo esc_url( vasc_get_count( $post->ID )['share']['facebook'] ); ?>">
<span class="shared-count__name shared-count__name--facebook">Facebook: </span>
<span class="shared-count__count shared-count__count--facebook"><?php echo esc_html( vasc_get_count( $post->ID )['facebook'] ); ?></span>
</a>
</li>
<li>
<a class="shared-count__link" href="<?php echo esc_url( vasc_get_count( $post->ID )['share']['twitter'] ); ?>">
<span class="shared-count__name shared-count__name--twitter">Twitter: </span>
<span class="shared-count__count shared-count__count--twitter"><?php echo esc_html( vasc_get_count( $post->ID )['twitter'] ); ?></span>
</a>
</li>
<li>
<a class="shared-count__link" href="<?php echo esc_url( vasc_get_count( $post->ID )['share']['googleplus'] ); ?>">
<span class="shared-count__name shared-count__name--googleplus">Google +: </span>
<span class="shared-count__count shared-count__count--googleplus"><?php echo esc_html( vasc_get_count( $post->ID )['googleplus'] ); ?></span>
</a>
</li>
<li>
<a class="shared-count__link" href="<?php echo esc_url( vasc_get_count( $post->ID )['share']['pinterest'] ); ?>">
<span class="shared-count__name shared-count__name--pinterest">Pinterest: </span>
<span class="shared-count__count shared-count__count--pinterest"><?php echo esc_html( vasc_get_count( $post->ID )['pinterest'] ); ?></span>
</a>
</li>
<li>
<a class="shared-count__link" href="<?php echo esc_url( vasc_get_count( $post->ID )['share']['hatena'] ); ?>">
<span class="shared-count__name shared-count__name--hatena">Hatena: </span>
<span class="shared-count__count shared-count__count--hatena"><?php echo esc_html( vasc_get_count( $post->ID )['hatena'] ); ?></span>
</a>
</li>
</ul>
Default 5 sec.
add_filter( 'vasc/request/timeout', create_function( '', 'return "5";' ) );
Default 1 hour.
add_filter( 'vasc/request/interval', create_function( '', 'return "1";' ) );
Can set this from management screen.
add_filter( 'vasc/twitter/via', create_function( '', 'return "YourAccountName";' ) );
Can set this from management screen.
add_filter( 'vasc/twitter/related', create_function( '', 'return "YourAccountName";' ) );
add_filter( 'vasc/view/echo', '' );
Default 72 x 72px.
add_filter( 'vasc/widget/thumbsize', create_function( '', 'return array( 72, 72 );' ) );
add_filter( 'vasc/widget/nothumb', create_function( '', 'return "http://example.com/example.jpg";' ) );
This to acquire the number of the shares when there is access in the site.
When validate automatic indication or 'vasc_get_count()' or 'vasc_get_the_count()' is not described in an applicable page, the plug in does not acquire the number of the shares.
If you click individually in the article list page of the management screen to "Acquire", you will get a number of shares.