VK Share Button

Плагин для WordPress, добавляющий кнопку для публикации ссылок в социальной сети ВКонтакте.

Настройки плагина позволяют:

  • выбрать внешний вид кнопки из семи вариантов, включая настраиваемый свой дизайн на основе html-кода;
  • задать расположение кнопки относительно контента: перед статьёй или после неё, слева или справа;
  • автоматически формировать описание страницы из начального отрывка контента, которое отображается при публикации в социальной сети;
  • вместо автоматического описания можно задать глобальное описание — одинаковое для всех страниц сайта;
  • так же возможно использовать описание, заданное в мета-тегах description;
  • размещать кнопку в записях, на отдельных страницах, в архивах категорий, меток, авторов и результатах поиска;
  • указать страницы, на которых показ кнопки не требуется;
  • встраивать в публикуемую заметку логотип сайта, просто указав ссылку на картинку или используя мета-тег image-src

Download

Так же вы можете использовать код [vk-share-button] для размещения кнопки в любом удобном месте в пределах поста. Учтите, что при наличии нескольких кнопок на странице могут возникнуть проблемы в некоторых шаблонах.

Но в моём вроде бы все ОК. Правда ведь? =)

Для любителей поковыряться в шаблонах есть вариант размещения:

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

Плагин доступен на WordPress.org

Часто задаваемые вопросы

Как задать свой дизайн для кнопки?

Выберите тип кнопки «Свой дизайн» и введите html-код в поле «Текст на кнопке».

Как найти ID записи или страницы?

В контрольной панели перейдите на страницу Записи или Страницы. Наведите мышку на любую запись или страницу и посмотрите на ссылку:

.../wp-admin/post.php?post=3&action=edit

Обратите внимание на часть ссылки post=3. Тройка — это и есть ID страницы/записи.

При использовании кода [vk-sharе-button] кнопка выглядит странно. В чем дело?

Дело в CSS темы, управляющей видом ваших страниц. Кнопка ВКонтакта выравнивается при помощи таблицы, поэтому любые правила таблицы стилей, определенные для таблиц, повлияют на вид кнопки — могут появиться пробелы между частями кнопки, обводки вокруг и прочие, обычные для хорошо оформленной таблицы, элементы.

Для того, чтобы побороть этот казус, можно обернуть код в div или span с классом vk-button, определенным в CSS плагина, который в большинстве случаев сделает всё красиво.

<div class="vk-button"> [vk-sharе-button] </div>


Задавайте ваши вопросы в комментариях или по средством формы внизу.

Скриншоты

Страница настроек

Варианты кнопок

Страница добавления заметки

 

Feedback

Your Name (required)

Your Email (required)

Subject

Your Message

You can upload some file for me. Translations of plugin, for example

Type captcha to the next field, please

Кстати, вы можете поблагодарить автора за старания, одновременно поддержать дальнейшую разработку плагина. Кто как умеет, конечно. Устно — пожалуйте в комменты. Материально? Можете воспользоваться следующими реквизитами:


Яндекс.Деньги: 41001198774354; WMR: R214581684777

 

Оказалось полезным? Покажите друзьям:
  • Добавить ВКонтакте заметку об этой странице
  • Одноклассники
  • Мой Мир
  • Facebook
  • Twitter
  • LiveJournal
  • Блог Li.ру
  • В закладки Google
  • Blogger
  • Google Buzz
  • Яндекс.Закладки
  • Блог Я.ру
  1. 28 Ноябрь 2011 в 20:24 | #1

    I’m truly enjoying the design and layout of your site. It’s a very easy on the eyes which makes it much more pleasant. Did you use a free wordpress theme or hire a designer?

  2. 2 Декабрь 2011 в 01:27 | #2

    I haven’t read the whole post yet, but I’d like to reply on the following statement:
    Sitecore also provides another way of editing content; through the Page Editor mode.
    Your forgot to mention Umbraco also has this feature, called «Edit in canvas»…

  3. 3 Декабрь 2011 в 14:04 | #3

    Hey just wanted to point out something. The text of your article seem to be running off the screen in firefox. I’m not sure if this is something to do with my internet browser but I thought I’d post to let you know. Hope you get it fixed soon.

  4. 20 Декабрь 2011 в 19:30 | #4

    @jackyfox, Отлично, помогло, спасибо!

  5. 21 Декабрь 2011 в 11:25 | #5

    I have some plants that I thought was shallots but they have a seed pod at the end of each stock the seed pod looks like little hershes kiss s. I dug som of them up and they have 1 blub at side of the stock .

  6. 21 Декабрь 2011 в 22:36 | #6

    With our slopes around here, we could use some vertical gardening tips I ll be sure to check it out, and congrats

  7. 30 Декабрь 2011 в 02:25 | #7

    How would you like to make money just by receiving texts on your phone? Heres how you can do it, just click the link (my name) and sign up – I’m making an extra $10 a day with this just by reading a few texts a day!

  8. 2 Январь 2012 в 22:15 | #8

    An interesting communicating is worth account. I suppose that you should create more on this topic, it power not be a inhibition case but mostly fill are not enough to speak on specified topics. To the next. Cheers like your VK Share Button » Куда нажимать.

  9. 14 Январь 2012 в 20:56 | #9

    That is very attention-grabbing, You’re an excessively skilled blogger. I have joined your rss feed and look ahead to in quest of extra of your wonderful post. Also, I have shared your website in my social networks!

  10. 17 Январь 2012 в 00:02 | #10

    Wow, marvelous blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is wonderful, as well as the content!. Thanks For Your article about VK Share Button » Куда нажимать .

  11. 29 Январь 2012 в 11:46 | #11

    Truly needed article admin fantastic 1 i bookmarked your internet web page see you in subsequent website submit.

  12. 4 Февраль 2012 в 09:28 | #12

    Thanks for the sensible critique. Me & my neighbor were just preparing to do some research about this. We got a grab a book from our local library but I think I learned more from this post. I am very glad to see such great information being shared freely out there.

  13. 14 Февраль 2012 в 03:31 | #13

    I absolutely like your site and find almost all of your post’s to be what I’m looking for. Do you offer guest writers to write articles for you? I wouldn’t mind making a article on the topic. Once again, awesome site!

  14. 18 Февраль 2012 в 07:15 | #14

    Hello There. I found your weblog using msn. That is a really smartly written article. I’ll make sure to bookmark it and return to learn more of your helpful information. Thank you for the post. I’ll certainly comeback.

  15. 3 Март 2012 в 05:15 | #15

    I’m not sure where you’re getting your information, but great topic. I needs to spend some time learning much more or understanding more. Thanks for magnificent info I was looking for this VK Share Button » Куда нажимать for my mission.

  16. 3 Март 2012 в 19:15 | #16

    whats your myspace user profile?

  17. 5 Март 2012 в 20:53 | #17

    VK Share Button » Куда нажимать I was suggested this website by my cousin. I’m not sure whether this post is written by him as no one else know such detailed about my difficulty. You are incredible! Thanks! your article about VK Share Button » Куда нажиматьBest Regards Cindy

  18. 21 Апрель 2012 в 05:40 | #18

    Great post, i learn much about it. If you dont know waht is forex, read wich are benefits from forex trading

Страницы комментариев
1 ... 3 4 5 950

Подписаться, не оставляя комментариев