{"id":30580,"date":"2014-07-17T18:02:05","date_gmt":"2014-07-17T18:02:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/va-shared-count\/"},"modified":"2014-08-16T13:31:24","modified_gmt":"2014-08-16T13:31:24","slug":"va-shared-count","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/va-shared-count\/","author":13783068,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.4","stable_tag":"trunk","tested":"3.9.40","requires":"3.9.1","requires_php":"","requires_plugins":"","header_name":"VA Shared Count","header_author":"KUCKLU","header_description":"","assets_banners_color":"d9d9d9","last_updated":"2014-08-16 13:31:24","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=JL3MHHKA5VCLQ","header_plugin_uri":"https:\/\/github.com\/VisuAlive\/va-shared-count","header_author_uri":"http:\/\/visualive.jp\/","rating":4,"author_block_rating":0,"active_installs":10,"downloads":2896,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":"1","4":0,"5":"1"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"950629","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"950509","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"950509","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"950509","resolution":"3","location":"assets"}},"screenshots":{"1":"ScreenShot 1.","2":"ScreenShot 2.","3":"ScreenShot 3."}},"plugin_section":[],"plugin_tags":[430,494,495,157,150,185,63235,2795,29472,312,27468,2912,23604,138,12811,7843,174,680,1540,159],"plugin_category":[56],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-30580","plugin","type-plugin","status-closed","hentry","plugin_tags-bookmark","plugin_tags-bookmarking","plugin_tags-bookmarks","plugin_tags-facebook","plugin_tags-google","plugin_tags-google-plus","plugin_tags-hatebu","plugin_tags-hatena","plugin_tags-hatena-bookmark","plugin_tags-pinterest","plugin_tags-plus-1","plugin_tags-plus-one","plugin_tags-pocket","plugin_tags-share","plugin_tags-shared","plugin_tags-sns","plugin_tags-social","plugin_tags-social-share","plugin_tags-social-sharing","plugin_tags-twitter","plugin_category-social-and-sharing","plugin_committers-kuck1u"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/va-shared-count_d9d9d9.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/va-shared-count\/assets\/screenshot-1.png?rev=950509","caption":"ScreenShot 1."},{"src":"https:\/\/ps.w.org\/va-shared-count\/assets\/screenshot-2.png?rev=950509","caption":"ScreenShot 2."},{"src":"https:\/\/ps.w.org\/va-shared-count\/assets\/screenshot-3.png?rev=950509","caption":"ScreenShot 3."}],"raw_content":"<!--section=description-->\n<p>This plugin has already finished support.<br \/>\nI am developing new plugin now.<br \/>\nAs for the new plugin, there is no transfer and compatibility with VA Shared Count.<\/p>\n <p>Can get the number that your article has been shared on social networking sites.<\/p>\n <p>You can use the template function of VA Shared Count, to make the share button on the original.<\/p>\n <h4>Site which supports<\/h4>\n <ul>\n<li>Facebook<\/li>\n<li>Twitter<\/li>\n<li>Google plus<\/li>\n<li>Pinterest<\/li>\n<li>Pocket<\/li>\n<li>Hatena bookmark<\/li>\n<li>LINE<\/li>\n<\/ul>\n <h4>Example<\/h4>\n <pre><code>&lt;?php var_dump( vasc_get_count() ); ?&gt; &lt;?php var_dump( vasc_get_count( $post-&gt;ID ) ); ?&gt;  &lt;?php vasc_get_the_count(); ?&gt; &lt;?php vasc_get_the_count( $post-&gt;ID ); ?&gt;  &lt;ul class=\"shared-count\"&gt;     &lt;li&gt;         &lt;a class=\"shared-count__link\" href=\"&lt;?php echo esc_url( vasc_get_count( $post-&gt;ID )['share']['facebook'] ); ?&gt;\"&gt;             &lt;span class=\"shared-count__name shared-count__name--facebook\"&gt;Facebook: &lt;\/span&gt;             &lt;span class=\"shared-count__count shared-count__count--facebook\"&gt;&lt;?php echo esc_html( vasc_get_count( $post-&gt;ID )['facebook'] ); ?&gt;&lt;\/span&gt;         &lt;\/a&gt;     &lt;\/li&gt;     &lt;li&gt;         &lt;a class=\"shared-count__link\" href=\"&lt;?php echo esc_url( vasc_get_count( $post-&gt;ID )['share']['twitter'] ); ?&gt;\"&gt;             &lt;span class=\"shared-count__name shared-count__name--twitter\"&gt;Twitter: &lt;\/span&gt;             &lt;span class=\"shared-count__count shared-count__count--twitter\"&gt;&lt;?php echo esc_html( vasc_get_count( $post-&gt;ID )['twitter'] ); ?&gt;&lt;\/span&gt;         &lt;\/a&gt;     &lt;\/li&gt;     &lt;li&gt;         &lt;a class=\"shared-count__link\" href=\"&lt;?php echo esc_url( vasc_get_count( $post-&gt;ID )['share']['googleplus'] ); ?&gt;\"&gt;             &lt;span class=\"shared-count__name shared-count__name--googleplus\"&gt;Google +: &lt;\/span&gt;             &lt;span class=\"shared-count__count shared-count__count--googleplus\"&gt;&lt;?php echo esc_html( vasc_get_count( $post-&gt;ID )['googleplus'] ); ?&gt;&lt;\/span&gt;         &lt;\/a&gt;     &lt;\/li&gt;     &lt;li&gt;         &lt;a class=\"shared-count__link\" href=\"&lt;?php echo esc_url( vasc_get_count( $post-&gt;ID )['share']['pinterest'] ); ?&gt;\"&gt;             &lt;span class=\"shared-count__name shared-count__name--pinterest\"&gt;Pinterest: &lt;\/span&gt;             &lt;span class=\"shared-count__count shared-count__count--pinterest\"&gt;&lt;?php echo esc_html( vasc_get_count( $post-&gt;ID )['pinterest'] ); ?&gt;&lt;\/span&gt;         &lt;\/a&gt;     &lt;\/li&gt;     &lt;li&gt;         &lt;a class=\"shared-count__link\" href=\"&lt;?php echo esc_url( vasc_get_count( $post-&gt;ID )['share']['hatena'] ); ?&gt;\"&gt;             &lt;span class=\"shared-count__name shared-count__name--hatena\"&gt;Hatena: &lt;\/span&gt;             &lt;span class=\"shared-count__count shared-count__count--hatena\"&gt;&lt;?php echo esc_html( vasc_get_count( $post-&gt;ID )['hatena'] ); ?&gt;&lt;\/span&gt;         &lt;\/a&gt;     &lt;\/li&gt; &lt;\/ul&gt; <\/code><\/pre>\n <h4>Filter and action<\/h4>\n <h4>Seconds of the time-out when performed API request to each site.<\/h4>\n <p>Default 5 sec.<\/p>\n <pre><code>add_filter( 'vasc\/request\/timeout', create_function( '', 'return \"5\";' ) ); <\/code><\/pre>\n <h4>An interval to execute API request next.<\/h4>\n <p>Default 1 hour.<\/p>\n <pre><code>add_filter( 'vasc\/request\/interval', create_function( '', 'return \"1\";' ) ); <\/code><\/pre>\n <h4>Twitter via<\/h4>\n <p>Can set this from management screen.<\/p>\n <pre><code>add_filter( 'vasc\/twitter\/via', create_function( '', 'return \"YourAccountName\";' ) ); <\/code><\/pre>\n <h4>Twitter related<\/h4>\n <p>Can set this from management screen.<\/p>\n <pre><code>add_filter( 'vasc\/twitter\/related', create_function( '', 'return \"YourAccountName\";' ) ); <\/code><\/pre>\n <h4>The HTML of a shared button output by each article.<\/h4>\n <pre><code>add_filter( 'vasc\/view\/echo', '' ); <\/code><\/pre>\n <h4>The thumbnail size of each article displayed by widget.<\/h4>\n <p>Default 72 x 72px.<\/p>\n <pre><code>add_filter( 'vasc\/widget\/thumbsize', create_function( '', 'return array( 72, 72 );' ) ); <\/code><\/pre>\n <h4>The URL of the no thumbnail of each article displayed by widget.<\/h4>\n <pre><code>add_filter( 'vasc\/widget\/nothumb', create_function( '', 'return \"http:\/\/example.com\/example.jpg\";' ) ); <\/code><\/pre>\n <h4>Attention<\/h4>\n <p>This to acquire the number of the shares when there is access in the site.<\/p>\n <p>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.<\/p>\n <p>If you click individually in the article list page of the management screen to \"Acquire\", you will get a number of shares.<\/p>\n\n<!--section=installation-->\n<p>To install VA Shared Count:<\/p>\n <ol>\n<li>Upload the \"va-shared-count\" directory and all its contents to your <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Please  set the initial value in the setting page of plugin.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>What is this?<\/h4>\n <p>The description covers it all.<\/p>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n <ul>\n<li>Bug fix.<\/li>\n<\/ul>\n <h4>1.0.3<\/h4>\n <ul>\n<li>Bug fix.<\/li>\n<li>Function addition.<\/li>\n<\/ul>\n <h4>1.0.2<\/h4>\n <ul>\n<li>Bug fix.<\/li>\n<\/ul>\n <h4>1.0.1<\/h4>\n <ul>\n<li>Changed the template function name.<\/li>\n<\/ul>\n <h4>1.0.0<\/h4>\n <ul>\n<li>First public release.<\/li>\n<\/ul>","raw_excerpt":"Can get the number that your article has been shared on social networking sites.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/30580","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=30580"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kuck1u"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=30580"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=30580"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=30580"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=30580"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=30580"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=30580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}