Title: VKontakte Share Button
Author: jackyfox
Published: <strong>මැයි 12, 2010</strong>
Last modified: අගෝස්තු 30, 2010

---

Search plugins

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.

![](https://s.w.org/plugins/geopattern-icon/vkontakte-share-button.svg)

# VKontakte Share Button

 By [jackyfox](https://profiles.wordpress.org/jackyfox/)

[Download](https://downloads.wordpress.org/plugin/vkontakte-share-button.1.0.1.zip)

 * [Details](https://si.wordpress.org/plugins/vkontakte-share-button/#description)
 * [Reviews](https://si.wordpress.org/plugins/vkontakte-share-button/#reviews)
 *  [Installation](https://si.wordpress.org/plugins/vkontakte-share-button/#installation)
 * [Development](https://si.wordpress.org/plugins/vkontakte-share-button/#developers)

 [Support](https://wordpress.org/support/plugin/vkontakte-share-button/)

## Description

VKontakte Share Button plugin brings powerful way to add VKontakte share button 
for you posts and pages.

It supports all functions of VKontakte API and easy customizable:

 * You can choose one of seven button appearance types include **custom**
 * Place button on posts, pages and frontpage at will
 * Select location of button: before or after content, on the left or right
 * Exclude pages and posts by ID which should stay without buttons
 * Choose description of content: forepart of post/page or global description for
   all site
 * Can be used description from meta tag `description`
 * Use your own site logo image specifying link or with meta tag `image-src`

You can use the shortcode `[vk-share-button]`.

Also can be used PHP code in your template:

    ```
    <?php if (class_exists('VKShareButton'))
              if(!isset($VKShareButton)
                  $VKShareButton = new VKShareButton();
              echo $VKShareButton->the_button() ?>
    ```

## Screenshots

 * [[
 * Settings page
 * [[
 * Settings page in Russian
 * [[
 * Button types examples
 * [[
 * Share Button in action

## Installation

 1. Upload `vkontakte-share-button.zip` to the `/wp-content/plugins/` directory
 2. Unzip it
 3. Activate the plugin through the _Plugins_ menu in WordPress
 4. Use the _Settings->VK Share Button_ page to change your plugin options.

## FAQ

  How can I use custom button type?

Just select custom button type and write html code in `Text on button` field.

  Can I translate plugin to my language

Sure! Remember to send `.mo` and `.po` files to me through [Contact Form](http://www.jackyfox.com/vk-share-button/)

  How can I request that you improve or add a feature?

Visit [plugin page](http://www.jackyfox.com/vk-share-button/) on my site and use
contact form or post a comment.

  How to find page or post ID?

At Dashboard go to Pages or Posts. Mouse over the link of any post/page and look
at URL.

_…/wp-admin/post.php?**post=3**&action=edit_

ID of this post is 3

  I am using shortcode but button looks strange

VKontakte share button are formed as a table, so sometimes CSS of your current theme
can adds paddings or borders between parts of button.
 To fix this you should cover`[
vk-share-button]` shortcode with `div` or `span` and use special class style `vk-
button`, eg

    ```
    <div class="vk-button"> [vk-share-button] </div>
    ```

  How to resolve the positional conflict with the TweetMeme plugin

Simple. Add `clear: right;` property to TweetMeme CSS.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“VKontakte Share Button” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ jackyfox ](https://profiles.wordpress.org/jackyfox/)

[Translate “VKontakte Share Button” into your language.](https://translate.wordpress.org/projects/wp-plugins/vkontakte-share-button)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/vkontakte-share-button/),
check out the [SVN repository](https://plugins.svn.wordpress.org/vkontakte-share-button/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/vkontakte-share-button/)
by [RSS](https://plugins.trac.wordpress.org/log/vkontakte-share-button/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * Пофиксен баг при выполнении javascript’a кнопки, возникающий из-за «лишней» запятой.

#### 1.0.0.43

 * Устанен баг «expected identifier string or number», возникающий в IE при разрешении
   дополнительного API-запроса. [Николай](http://education.ua/), спасибо!

#### 1.0.0.42

 * Перевод страницы настроек плагина на украинский выполнен [Юрком Червоным](http://skinik.name/)

#### 1.0.0.41

 * Теперь кнопку можно размещать на страницах архивов категорий, меток, авторов 
   и страницы поиска

#### 1.0.0.38

 * Custom CSS

#### 1.0.0.36

 * Now you can enable the buttons on the frontpage
 * Auto description length is customizable

#### 1.0.0.35

 * Fixed bug with three dots instead of the description in Auto mode.

#### 1.0.0.34

 * Now you can use shorcode [vk-share-button]

#### 1.0.0.31

 * Excluding pages and posts by ID
 * Three dots at the end of long auto descriprion

#### 1.0.0.30

 * CSS fix for button structure
 * Tested on WP 3.0-beta2-14576

#### 1.0.0.28

 * First public release

## Meta

 *  Version **1.0.1**
 *  Last updated **වසර 16ක් ago**
 *  Active installations **40+**
 *  WordPress version ** 2.8 or higher **
 *  Tested up to **3.0.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/vkontakte-share-button/)
 * Tags
 * [post](https://si.wordpress.org/plugins/tags/post/)[share](https://si.wordpress.org/plugins/tags/share/)
   [social](https://si.wordpress.org/plugins/tags/social/)[vkontakte](https://si.wordpress.org/plugins/tags/vkontakte/)
 *  [Advanced View](https://si.wordpress.org/plugins/vkontakte-share-button/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/vkontakte-share-button/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/vkontakte-share-button/reviews/)

## Contributors

 *   [ jackyfox ](https://profiles.wordpress.org/jackyfox/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/vkontakte-share-button/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NRYHZVJNPGGA6)