Dizze plugin is net hifke mei de lêste 3 grutte releases fan WordPress . It kin net langer wurde ûnderhâlden of stipe en kin kompatibiliteitsproblemen hawwe as it wurdt brûkt mei resinte ferzjes fan WordPress.

VKontakte Share Button


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'))
              $VKShareButton = new VKShareButton();
          echo $VKShareButton->the_button() ?>


  • Settings page
  • Settings page in Russian
  • Button types examples
  • Share Button in action


  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.


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

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

Visit plugin page 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.


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.


D'r binne gjin resinsjes foar dizze plugin.

Meiwurkers & amp; Untwikkelders

"VKontakte Share Button" is iepen boarne software. De folgjende minsken hawwe bydroegen oan dizze plugin.


Oersette "VKontakte Share Button" yn jo taal.

Ynteressearre yn ûntwikkeling?

Blêdzje troch de koade , besjoch de SVN-repository , of abonnearje op it ûntwikkelingslogboek troch RSS .



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

  • Устанен баг «expected identifier string or number», возникающий в IE при разрешении дополнительного API-запроса. Николай, спасибо!

  • Перевод страницы настроек плагина на украинский выполнен Юрком Червоным

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

  • Custom CSS

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

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

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

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

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

  • First public release