Добавление кнопки поделиться Вконтакте в модуль Jetpack «Поделиться»

Недавно обнаружил один изъян в популярном плагине Jetpack, а именно в модуле «Поделиться». В нем отсутствовала кнопка поделиться Вконтакте, возможно для англоязычных сайтов это не проблема, но в рунете соц сеть Вконтакте очень популярна и отсутствие возможности расшарить публикации в ВК явный недостаток. По этому я написал небольшое руководство по исправлению данной проблемы.


Ранее я подробно описывал все возможности Jetpack, так же попытался максимально раскрыть все варианты добавления кнопок поделиться на сайт. Однако один из моментов, который я упустил связан с Jetpack и отсутствием кнопки поделиться в ВК.

Сейчас мы это быстренько исправим, и добавим необходимую кнопку в свой блок.

Что нам нужно для добавления кнопки:

  • Установленный плагин Jetpack;
  • активированный модуль «Поделиться»;
  • картинка 16 на 16 пикселей;
  • 2 минуты вашего времени.

Если честно то вся загвоздка как не странно в картинке, я пока разобрался с этой идиотской картинкой чуть было не снес модуль к чертям. Но в итоге добился хоть какого нибудь приемлемого результата. Вообщем сама инструкция:

Инструкция по добавлению дополнительной кнопки поделиться в Jetpack
Шаг 1. Устанавливаем Jetpack и модуль «Поделиться»

Тут я думаю особых проблем не возникнет, если вы столкнулись с той же проблемой что и я тогда у вас уже все установлено, в противном случае скачиваем Джетпак и устанавливаем плагин. Как устанавливать плагины можно посмотреть тут.

Далее активируем модуль поделиться:

Установили, переходим к следующему шагу, редактирования модуля.

Шаг 2. Добавляем картинку на сайт

Вы можете использовать картинку с другого сайта, просто скопировав ее адрес, но не забывайте что адрес может поменяться или полностью быть удален и с ним и ваша картинка. По этому лучше загрузить ее на свой сайт. В идеале в папку с использованной вами темой. В противном случае можно поступить так.

Загрузить картинку, как вы обычно это делаете добавляя ее в записи, как добавить картинку в WordPress я уже рассказывал. Найти ее в библиотеке и кликнуть по ней для редактирования:

В правом верхнем углу скопировать адрес картинки, он понадобиться нам в дальнейшем:

После этого переходим к дальнейшим действиям.

Шаг 3. Внесение изменений в модуль «Поделиться»

Для начала заходим в настройки модуля, это можно сделать со страницы Jetpack/Настройки/Поделиться. В правом нижнем углу жмем «Настроить»

В блоке настроек Кнопки «Поделиться» нажимаем на «Добавить новый сервис». Вносим следующие параметры:

  • Название сервиса. Пишем «Вконтакте»;
  • URL-адрес сервиса. Вписываем такое: https://vk.com/share.php?url=%post_url%
  • URL-адрес иконки. Пишем адрес где находиться картинка, либо в папке с картинками шаблона, либо так как я описывал выше вписываем адрес загруженной картинки через «Медиафайлы».
  • В конечном счете у вас должно выйти такое:

    После того как жмякнули на «Создать кнопку», закрываем это окно и перезагружаем страницу с настройками. У вас должен было появиться такое:

    Эту кнопочку перетаскиваем вниз к выбранным ранее сервисам.

    Шаг 4. Интерактивный предварительный просмотр и изменение стилей кнопок

    Вот тут и начинается все самое интересное, на момент написания статьи плагин Jetpack использует иконки 32 на 32, а загружать просит 16 на 16. Получается что кнопка наша выглядит мягко говоря по-дурацки.

    Пришлось немного поэкспериментировать, и дать вам готовый вариант:

    • загружаем кнопку 16 на 16;
    • Делаем серым цветом (#777);
    • устанавливаем стиль кнопки в «Иконка + текст»;

    Вышло у меня вот так:

    Я не игрался с выравниванием и стилями, это все можно сделать вручную. После того как я задал себе вопрос «А стоит ли оно того» и дал однозначный ответ «Нет», на полученном результате и остановился.

    Вам решать нужно ли вам это, или лучше попробовать более адекватные методы размещения кнопок поделиться на сайте, о которых я писал тут.

    Руководство закончено, пользуйтесь. Терпения вам в этом не легком для психики дела.

    Related Articles

    285 Comments

    1. Sugar Defender For
      several years, I have actually fought unforeseeable blood sugar level swings
      that left me feeling drained and lethargic. But considering that integrating Sugar my energy levels are now
      stable and constant, and I no longer hit a wall in the afternoons.
      I appreciate that it’s a gentle, all-natural strategy that does not featured any kind of undesirable
      side effects. It’s really transformed my daily life.

    2. May I simply say what a relief to find an individual who actually knows what they’re discussing over the internet. You certainly realize how to bring a problem to light and make it important. More people really need to look at this and understand this side of the story. It’s surprising you’re not more popular because you certainly have the gift.

    3. Hello there! This blog post couldn’t be written any better! Looking through this post reminds me of my previous roommate! He always kept preaching about this. I will forward this article to him. Pretty sure he’ll have a great read. Many thanks for sharing!

    4. I truly love your site.. Excellent colors & theme. Did you develop this website yourself? Please reply back as I’m trying to create my own personal website and would love to know where you got this from or exactly what the theme is named. Cheers.

    5. This is the perfect blog for anybody who wishes to find out about this topic. You know a whole lot its almost hard to argue with you (not that I actually will need to…HaHa). You certainly put a new spin on a topic that has been written about for ages. Wonderful stuff, just wonderful.

    6. Howdy! I know this is kinda off topic but I’d figured I’d ask. Would you be interested in trading links or maybe guest writing a blog post or vice-versa? My site covers a lot of the same topics as yours and I believe we could greatly benefit from each other. If you’re interested feel free to send me an e-mail. I look forward to hearing from you! Terrific blog by the way!

    7. An intriguing discussion will probably be worth comment. I do believe that you can write regarding this topic, may possibly not often be a taboo subject but generally individuals are inadequate to communicate on such topics. Yet another. Cheers

    8. Woah this is just an insane amount of info, must of taken ages to compile so thank you so much for just sharing it with all of us. If your ever in any need of related information, perhaps a bit of coaching, seduction techniques or just general tips, just check out my own site!

    9. Hi, I do think this is a great blog. I stumbledupon it 😉 I’m going to come back yet again since i have book-marked it. Money and freedom is the greatest way to change, may you be rich and continue to help other people.

    10. I am also writing to let you be aware of what a cool discovery my wife’s daughter went through studying your web page. She realized several things, which include what it’s like to possess an amazing giving spirit to get the others without problems grasp chosen complex subject areas. You undoubtedly exceeded visitors’ expected results. Thank you for coming up with those effective, trustworthy, informative and as well as cool thoughts on that topic to Emily.

    11. Oh my goodness! an amazing article dude. Thanks a ton Nonetheless I will be experiencing problem with ur rss . Do not know why Not able to join it. Can there be everyone acquiring identical rss issue? Anybody who knows kindly respond. Thnkx

    12. I like the helpful info you provide in your articles. I?ll bookmark your blog and check again here frequently. I am quite sure I?ll learn a lot of new stuff right hear Best of luck for the next!

    13. Thanks for your blog post. I would also like to say that the health insurance broker also works well with the benefit of the coordinators of a group insurance policy. The health insurance agent is given a listing of benefits searched for by individuals or a group coordinator. What a broker may is look for individuals or perhaps coordinators which usually best match up those requirements. Then he provides his ideas and if both parties agree, the actual broker formulates a contract between the two parties.

    14. Good post. I learn something more difficult on completely different blogs everyday. It is going to all the time be stimulating to learn content from different writers and practice just a little one thing from their store. I’d prefer to use some with the content on my weblog whether you don’t mind. Natually I’ll provide you with a link on your net blog. Thanks for sharing.

    15. I feel like I’m often looking for interesting things to read about a variety of niches, but I manage to include your blog among my reads every day because you have compelling entries that I look forward to. Here’s hoping there’s a lot more amazing material coming!

    16. I’d been just browsing every now and then but happened to be to learn to read this post. I must say that i’m within the hand of luck today in any other case getting such an excellent post to learn to read wouldn’t are actually achievable personally, no less than. Really appreciate your articles.

    17. You are therefore cool! My partner and i do not assume I have learn anything like this prior to. So excellent to discover somebody with a few original thoughts on this subject matter. realy many thanks for beginning this up. this web site is something that’s needed on the web, someone using a bit of inspiration. beneficial project for delivering something a new comer to the internet!

    18. There are several posts to choose from near this, I do think taking there reference could experience made this spot or article really informative. That’s not me expression this information is negative. Simply I’ve got to pronounce how the info provided here was unique, merely to make it more in close proximity to complete, supporting with former information get been actually good. The points you will enjoy touched allow me to share really important, thus I will spot some of the information here to produce this actually good for entirely the newbie’s here. Many thanks for this information. Actually helpful!

    19. On September 26, 2008, the Louisiana Supreme Court docket reversed an earlier resolution to keep Barr and Root on the ballot, and ordered that they each be removed resulting from missing the state’s deadline, which passed whereas state workplaces had been closed as a result of Hurricane Gustav.

    20. Howdy! This blog post could not be written any better! Looking at this article reminds me of my previous roommate! He always kept preaching about this. I am going to send this post to him. Fairly certain he’ll have a great read. I appreciate you for sharing!

    21. There a few intriguing points soon enough on this page but I do not determine if I see these people center to heart. There is certainly some validity but I’ll take hold opinion until I investigate it further. Excellent article , thanks and then we want a lot more! Added to FeedBurner at the same time

    22. That is the appropriate blog for anyone who wants to find out about this topic. You realize a lot its nearly arduous to argue with you (not that I really would need…HaHa). You definitely put a brand new spin on a subject thats been written about for years. Nice stuff, just nice!

    23. This is the correct weblog for anybody who wants to find out about this topic. You understand a lot its virtually hard to argue on hand (not that I personally would want…HaHa). You certainly put a fresh spin on a topic thats been written about for a long time. Wonderful stuff, just great!

    24. I enjoy you because of every one of your work on this web page. Gloria takes pleasure in participating in internet research and it’s easy to understand why. Most people notice all of the compelling medium you create valuable tips and hints via the website and in addition attract contribution from visitors on that theme then our princess is without a doubt discovering so much. Enjoy the rest of the new year. You’re the one performing a wonderful job.

    25. An impressive share! I’ve just forwarded this onto a co-worker who had been doing a little homework on this. And he in fact bought me breakfast simply because I discovered it for him… lol. So allow me to reword this…. Thanks for the meal!! But yeah, thanx for spending the time to discuss this matter here on your blog.

    26. After I initially commented I appear to have clicked on the -Notify me when new comments are added- checkbox and now every time a comment is added I get four emails with the same comment. There has to be a means you can remove me from that service? Cheers.

    27. After study a number of the content on your own web site now, and that i genuinely much like your way of blogging. I bookmarked it to my bookmark web site list and you will be checking back soon. Pls check out my site too and inform me what you think.

    28. May I simply just say what a relief to discover an individual who truly understands what they are talking about on the net. You definitely realize how to bring a problem to light and make it important. A lot more people should read this and understand this side of the story. It’s surprising you are not more popular since you certainly have the gift.

    29. You undoubtedly ensure it is look simple along with your business presentation however i come across this kind of topic being truly an issue that I think I might never recognize. It appears also complex and extremely wide personally. I will be impatient for your next article, I am going to try to get the hang of it!

    30. Your style is really unique in comparison to other people I’ve read stuff from. Thank you for posting when you’ve got the opportunity, Guess I will just book mark this blog.

    31. Having read this I thought it was rather enlightening. I appreciate you taking the time and energy to put this short article together. I once again find myself spending a significant amount of time both reading and leaving comments. But so what, it was still worth it!

    32. I really love your website.. Great colors & theme. Did you develop this website yourself? Please reply back as I’m planning to create my own blog and would love to know where you got this from or exactly what the theme is called. Thanks!

    33. An impressive share! I’ve just forwarded this onto a co-worker who had been doing a little homework on this. And he in fact ordered me breakfast because I stumbled upon it for him… lol. So allow me to reword this…. Thanks for the meal!! But yeah, thanx for spending the time to discuss this topic here on your web page.

    34. Qualified battery storage know-how prices are prices for battery storage technology that is put in in reference to your property located in the United States and has a capability of at the least three kilowatt hours.

    35. Dealing with a number of defeats and a little bit of supporter unrest was nothing too disturbing this early in the season and it’s not like we hadn’t experienced it all earlier than after we first bought promoted to the Conference South.

    36. I have to thank you for the efforts you’ve put in penning this blog. I am hoping to view the same high-grade blog posts by you in the future as well. In fact, your creative writing abilities has encouraged me to get my own blog now 😉

    37. Having read this I believed it was really informative. I appreciate you taking the time and energy to put this informative article together. I once again find myself personally spending a lot of time both reading and commenting. But so what, it was still worthwhile.

    38. Hello, There’s no doubt that your site might be having browser compatibility issues. Whenever I look at your blog in Safari, it looks fine however, if opening in Internet Explorer, it has some overlapping issues. I simply wanted to provide you with a quick heads up! Apart from that, fantastic site.

    39. I must thank you for the efforts you’ve put in writing this site. I’m hoping to view the same high-grade content by you later on as well. In fact, your creative writing abilities has inspired me to get my very own website now 😉

    40. When I initially left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and from now on every time a comment is added I get 4 emails with the exact same comment. Perhaps there is a way you can remove me from that service? Thanks a lot.

    41. Howdy! This article couldn’t be written any better! Going through this article reminds me of my previous roommate! He always kept preaching about this. I will send this information to him. Pretty sure he will have a good read. Many thanks for sharing!

    42. I absolutely love your blog.. Excellent colors & theme. Did you create this web site yourself? Please reply back as I’m trying to create my own personal website and would like to find out where you got this from or exactly what the theme is named. Thanks.

    43. Howdy! This blog post couldn’t be written much better! Reading through this article reminds me of my previous roommate! He always kept talking about this. I most certainly will forward this post to him. Pretty sure he will have a very good read. I appreciate you for sharing!

    44. Howdy! I could have sworn I’ve been to this site before but after looking at some of the posts I realized it’s new to me. Nonetheless, I’m certainly pleased I found it and I’ll be bookmarking it and checking back frequently!

    45. The very next time I read a blog, Hopefully it does not fail me as much as this one. I mean, Yes, it was my choice to read through, nonetheless I actually believed you’d have something interesting to say. All I hear is a bunch of whining about something that you can fix if you were not too busy searching for attention.

    46. Hi, I think your website could be having internet browser compatibility issues. When I look at your site in Safari, it looks fine however when opening in I.E., it’s got some overlapping issues. I just wanted to give you a quick heads up! Apart from that, great blog!

    47. But we will take what used to be the welfare test itself, the federal portion and the state portion, we will let the state determine learn how to spend that money to attempt to spend it in a way that may transfer extra people from welfare to work and put strict time limits on the limit of time that able-bodied people can keep on welfare.

    48. Howdy, I believe your website might be having internet browser compatibility problems. Whenever I look at your website in Safari, it looks fine but when opening in Internet Explorer, it’s got some overlapping issues. I just wanted to give you a quick heads up! Apart from that, excellent website!

    49. I’m very pleased to uncover this web site. I want to to thank you for your time for this particularly wonderful read!! I definitely liked every part of it and I have you bookmarked to check out new information on your web site.

    50. The very next time I read a blog, I hope that it does not fail me as much as this particular one. I mean, Yes, it was my choice to read through, however I actually believed you’d have something interesting to talk about. All I hear is a bunch of whining about something you could fix if you weren’t too busy looking for attention.

    51. I discovered your blog internet site online and appearance a couple of your early posts. Always maintain within the really good operate. I simply additional encourage RSS feed to my MSN News Reader. Seeking forward to reading far more on your part at a later time!…

    52. Appreciate your making to discuss it, I find myself solidly about it combined with affection studying read more about it field. In a case where likely, due to the fact realize proficiency, on earth would you thoughts and feelings updating your new internet page with the even more important info? This is used by people.

    53. Having read this I believed it was really informative. I appreciate you taking the time and effort to put this article together. I once again find myself personally spending a lot of time both reading and commenting. But so what, it was still worthwhile!

    54. I don’t know whether it’s just me or if everybody else experiencing issues with your blog. It looks like some of the text within your posts are running off the screen. Can somebody else please comment and let me know if this is happening to them too? This might be a issue with my internet browser because I’ve had this happen before. Appreciate it

    55. After looking over a handful of the blog posts on your web page, I truly appreciate your technique of blogging. I saved as a favorite it to my bookmark webpage list and will be checking back soon. Please visit my web site as well and tell me what you think.

    56. Many choices will be made by consensus, but there can only be one boss for a venture, there can solely be one boss for each division, and division heads should reply to the individual heading up the project.

    57. The very next time I read a blog, I hope that it won’t fail me just as much as this one. I mean, Yes, it was my choice to read through, but I actually thought you would probably have something interesting to say. All I hear is a bunch of crying about something you can fix if you weren’t too busy looking for attention.

    58. I truly love your website.. Pleasant colors & theme. Did you develop this amazing site yourself? Please reply back as I’m wanting to create my very own site and want to find out where you got this from or exactly what the theme is named. Cheers!

    59. Hi there, I do believe your site may be having web browser compatibility problems. Whenever I take a look at your site in Safari, it looks fine however when opening in IE, it has some overlapping issues. I simply wanted to provide you with a quick heads up! Besides that, great website!

    60. I’m amazed, I have to admit. Rarely do I come across a blog that’s equally educative and amusing, and without a doubt, you have hit the nail on the head. The problem is an issue that too few men and women are speaking intelligently about. Now i’m very happy I came across this in my hunt for something regarding this.

    61. You are so cool! I don’t believe I have read a single thing like that before. So wonderful to discover somebody with genuine thoughts on this subject matter. Really.. thank you for starting this up. This web site is something that is needed on the internet, someone with some originality.

    62. I blog quite often and I really thank you for your information. This article has really peaked my interest. I will bookmark your website and keep checking for new information about once a week. I opted in for your RSS feed too.

    63. I’m very pleased to discover this web site. I wanted to thank you for your time for this particularly fantastic read!! I definitely appreciated every part of it and i also have you saved as a favorite to look at new stuff in your website.

    64. I’m amazed, I must say. Rarely do I come across a blog that’s both equally educative and entertaining, and let me tell you, you have hit the nail on the head. The issue is an issue that not enough people are speaking intelligently about. I’m very happy I came across this during my hunt for something concerning this.

    65. An impressive share! I’ve just forwarded this onto a coworker who was doing a little research on this. And he actually ordered me breakfast because I found it for him… lol. So let me reword this…. Thank YOU for the meal!! But yeah, thanks for spending time to discuss this subject here on your web page.

    66. Oh my goodness! Incredible article dude! Thank you so much, However I am going through problems with your RSS. I don’t understand the reason why I cannot subscribe to it. Is there anybody getting similar RSS issues? Anyone who knows the answer will you kindly respond? Thanks.

    67. Your style is so unique compared to other people I’ve read stuff from. Thank you for posting when you have the opportunity, Guess I’ll just bookmark this site.

    68. You are so interesting! I do not suppose I’ve truly read through something like this before. So good to find another person with a few genuine thoughts on this subject. Seriously.. many thanks for starting this up. This web site is something that’s needed on the web, someone with some originality.

    69. The sport was aired on ESPN because the finale of the 2021 ESPN Highschool Kickoff collection, a weekend of highschool soccer showcases televised by ESPN’s networks that includes distinguished teams, nationally ranked prospects, and gamers which have committed to playing Division I FBS college soccer.

    70. This is a good tip particularly to those new to the blogosphere. Short but very precise information… Many thanks for sharing this one. A must read article!

    71. You have made some decent points there. I looked on the web to learn more about the issue and found most individuals will go along with your views on this site.

    72. Having read this I believed it was really informative. I appreciate you taking the time and energy to put this content together. I once again find myself personally spending a significant amount of time both reading and commenting. But so what, it was still worthwhile.

    73. An impressive share! I have just forwarded this onto a co-worker who was conducting a little homework on this. And he actually bought me breakfast because I found it for him… lol. So let me reword this…. Thanks for the meal!! But yeah, thanks for spending the time to talk about this issue here on your website.

    74. This is a very good tip especially to those fresh to the blogosphere. Simple but very precise info… Thanks for sharing this one. A must read article.

    75. The next time I read a blog, Hopefully it does not fail me just as much as this particular one. After all, I know it was my choice to read, nonetheless I genuinely believed you’d have something interesting to talk about. All I hear is a bunch of crying about something you can fix if you were not too busy searching for attention.

    76. Greetings, There’s no doubt that your web site may be having web browser compatibility problems. Whenever I take a look at your site in Safari, it looks fine however, when opening in Internet Explorer, it’s got some overlapping issues. I just wanted to provide you with a quick heads up! Apart from that, great blog!

    77. I blog frequently and I seriously appreciate your information. This article has really peaked my interest. I will book mark your website and keep checking for new information about once a week. I opted in for your RSS feed as well.

    78. When you desire to add more bangles & bracelets to your assortment, then take a look at our in depth store which comprises golden plated open-ablekada, gold-plated bangles, bangle set, stone studded bangles, gold’s plated bangles, coral bracelet, kundankada, oval kada, peora bracelet, pearl bangles & more.

    79. Having read this I believed it was rather informative. I appreciate you finding the time and energy to put this content together. I once again find myself personally spending a significant amount of time both reading and posting comments. But so what, it was still worth it.

    80. Oh my goodness! Incredible article dude! Many thanks, However I am having problems with your RSS. I don’t know the reason why I can’t subscribe to it. Is there anybody getting the same RSS problems? Anyone that knows the solution can you kindly respond? Thanx!

    81. This is the right website for anyone who wishes to understand this topic. You know so much its almost hard to argue with you (not that I personally would want to…HaHa). You definitely put a new spin on a subject which has been written about for many years. Great stuff, just excellent.

    82. sex nhật hiếp dâm trẻ em ấu dâm buôn bán vũ khí ma túy bán súng sextoy chơi đĩ sex bạo lực sex học đường tội phạm tình dục chơi les đĩ đực người mẫu bán dâm

    83. Hello there! This article couldn’t be written much better! Going through this article reminds me of my previous roommate! He constantly kept preaching about this. I will forward this post to him. Fairly certain he will have a good read. Thanks for sharing!

    84. Oh my goodness! Incredible article dude! Many thanks, However I am having difficulties with your RSS. I don’t understand why I am unable to subscribe to it. Is there anybody getting the same RSS issues? Anybody who knows the solution can you kindly respond? Thanx!!

    85. An outstanding share! I’ve just forwarded this onto a friend who had been doing a little homework on this. And he in fact ordered me breakfast simply because I discovered it for him… lol. So let me reword this…. Thank YOU for the meal!! But yeah, thanx for spending the time to discuss this matter here on your blog.

    86. You’re so interesting! I don’t think I have read through something like that before. So nice to discover somebody with some original thoughts on this issue. Seriously.. thank you for starting this up. This site is something that is required on the internet, someone with a little originality.

    87. After exploring a handful of the blog posts on your web site, I honestly appreciate your way of writing a blog. I book-marked it to my bookmark site list and will be checking back in the near future. Please check out my website too and let me know how you feel.

    88. Aw, this was a really good post. Spending some time and actual effort to create a top notch article… but what can I say… I put things off a whole lot and never seem to get anything done.

    89. I blog frequently and I really appreciate your information. The article has really peaked my interest. I’m going to bookmark your website and keep checking for new information about once per week. I opted in for your RSS feed as well.

    Добавить комментарий

    Ваш адрес email не будет опубликован. Обязательные поля помечены *

    Back to top button
    Close