> VA Shared Count wordpress plugin resources analysis

VA Shared Count wordpress plugin resources analysis

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

Delta: 0%

Post page

Delta: 0%
VA Shared Count plugin has no negative impact on PageSpeed score.

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.

Site which supports

  • Facebook
  • Twitter
  • Google plus
  • Pinterest
  • Pocket
  • Hatena bookmark
  • LINE

Example

<?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>

Filter and action

Seconds of the time-out when performed API request to each site.

Default 5 sec.

add_filter( 'vasc/request/timeout', create_function( '', 'return "5";' ) );

An interval to execute API request next.

Default 1 hour.

add_filter( 'vasc/request/interval', create_function( '', 'return "1";' ) );

Twitter via

Can set this from management screen.

add_filter( 'vasc/twitter/via', create_function( '', 'return "YourAccountName";' ) );

Twitter related

Can set this from management screen.

add_filter( 'vasc/twitter/related', create_function( '', 'return "YourAccountName";' ) );

The HTML of a shared button output by each article.

add_filter( 'vasc/view/echo', '' );

The thumbnail size of each article displayed by widget.

Default 72 x 72px.

add_filter( 'vasc/widget/thumbsize', create_function( '', 'return array( 72, 72 );' ) );

The URL of the no thumbnail of each article displayed by widget.

add_filter( 'vasc/widget/nothumb', create_function( '', 'return "http://example.com/example.jpg";' ) );

Attention

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.

Screenshots

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
Momentous Lite screenshot

Momentous Lite

by: ThemeZee

10807
100%
Simplenotes screenshot

Simplenotes

by: Stilla

49844
100%