No search results were found in Documentation!
The Social Counter has support for Facebook fans, Twitter followers, YouTube subscribers, Vimeo, Instagram, Soundcloud and Feed subscribers.
I need to add other social networks: Odnoklassniki, Vkontakte, Telegram. Is it possible to do this?
also if you need OK sharing button:
1) I decided that I don’t need LinkedIn in my site.
2) includes/wp_booster/td_social_sharing.php
3) search: case ‘linkedin’
4) change the whole block:
case ‘linkedin’:
return array(
‘url’ => ‘https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&service=odnoklassniki&st.shareUrl=’ . $page_permalink,
‘title’ => ‘OK’
);
break;
5) change the next styles in styles.css:
for icon:
.td-icon-linkedin:before {
content: ‘\f263’;
font-family: ok;
}
for button color:
.td-ps-bg .td-social-linkedin .td-social-but-icon,
.td-ps-bg .td-social-linkedin .td-social-but-text {
background-color: #e87005;
}
also to fix sharing field’s names in admin panel and titles on your site:
includes/wp_booster/td_social_icons.php
look for:
‘xing’ => ‘Xing’
‘linkedin’ => ‘LinkedIn’,
change to:
‘xing’ => ‘OK’
‘linkedin’ => ‘OK’
I’m not css and php specialist and my native language is not English, so I’m sorry if my way to fix problems would cause rejection of perfectionists, professional coders and/or grammar nazis. But it works! 🙂
Кнопки готовые. От Яндекса https://tech.yandex.ru/share/
Вывод кнопок в статье: https://forum.tagdiv.com/topic/vkontakte-odnoklassniki-share-button/
Hi!
I need icon in setting “Social networks” for odnoklassniki – https://ok.ru/
Maybe it is posible for do thise?
no, I meant another. in Russia, popular other social networks to share, for example, Vkontakte or classmates.
Look, I need to insert this script
<script src=”//yastatic.net/es5-shims/0.0.2/es5-shims.min.js”></script>
<script src=”//yastatic.net/share2/share.js”></script>
<div class=”ya-share2″ data-services=”collections,vkontakte,facebook,odnoklassniki,moimir”></div>
Before update 8.5 I put this script as you advised me in the screenshot https://www.screencast.com/t/hZqp5dTnl
worked as a script like so:
<div class=”td-default-sharing”><script src=”//yastatic.net/es5-shims/0.0.2/es5-shims.min.js”></script>
<script src=”//yastatic.net/share2/share.js” async=”async”></script>
<div class=”ya-share2″ data-services=”vkontakte,odnoklassniki,moimir,blogger,lj,telegram” data-counter=””></div>
</div>
That is, your button sharing was with mine. Now, those recommendations that were in your screenshot do not work after the upgrade.
That is, I insert the code <div class=”td-default-sharing”><script src=”//yastatic.net/es5-shims/0.0.2/es5-shims.min.js”></script>
<script src=”//yastatic.net/share2/share.js” async=”async”></script>
<div class=”ya-share2″ data-services=”vkontakte,odnoklassniki,moimir,blogger,lj,telegram” data-counter=””></div>
</div>
but my share buttons do not appear along with your
Hi,
Try it this way, create an image exactly like the one you are using now, only with the color you want. Or just make a copy of the one you are using and edit it. Then using a code like this
– https://www.screencast.com/t/jcOabcIINfMY you can display that icon when hovered. This is the code used
.td-footer-wrapper .td-icon-odnoklassniki:hover {
background-image: url("");
}
Thanks
Hi,
It may be needed to set the same, or a different icon image in this situation, like this – https://www.screencast.com/t/0tszTE6iam
So if you want you can use a special image to be displayed in the mobile menu. This is the code used
.td-menu-socials
.td-icon-odnoklassniki {
background-image: url("");
}
Thanks
Now everything is fine!
But only the phone does not display the icon. https://yadi.sk/i/FDq3_JM93GGzDx
I’m using this CSS:
.td-icon-odnoklassniki{
background-size: 22px 24px;
background-position: center;
top: 15px;
background-repeat: no-repeat;
}
.td-header-sp-top-widget .td-icon-odnoklassniki {
background-image: url(“http://portal.ksors-spain.org/wp-content/uploads/2017/03/odnoklassniki_icon-icons.com_50849.png”);
background-size: 15px 15px;
background-position: center;
top: 15px;
background-repeat: no-repeat;
}
.td-footer-wrapper .td-icon-odnoklassniki {
background-image:url(“http://portal.ksors-spain.org/wp-content/uploads/2017/03/odnoklassniki_new-e1490177469315.png”);
}
Hi,
Well you could differentiate them and have one background image for each of them by using the location they are in like this – https://www.screencast.com/t/VtI6JEDc
This is the code used
.td-header-sp-top-widget .td-icon-odnoklassniki {
background-image: url("");
}
.td-footer-wrapper .td-icon-odnoklassniki {
background-image: url("");
}
Thanks
Hi,
Well you could modify the background image size like this and it should look better – https://www.screencast.com/t/pS3UESEtX8sE because it already has the same icon class as the others. This works for the footer as well – https://www.screencast.com/t/nwJjRfsIew As for the hover effect it ca not be as the others since it is not the same implementation. You could try to set a background color for the icon like this – https://www.screencast.com/t/HSztI4yl or maybe you can find a different solution.
This is all the code used in the example, you can enter it as it is or modify some of your code
.td-icon-odnoklassniki {
background-size: 22px 24px!important;
background-position: center;
top: 15px;
}
.td-icon-odnoklassniki:hover {
background-color:yellow;
}
Thanks
Good afternoon!
Everything was done, the place with the icon and the link appeared (https://yadi.sk/i/E8TRKcSZ3GEkKA), but the icon does not appear.
And in the footer it shifted compared to other icons(https://yadi.sk/i/3m-BL5Vw3GEkQB).
What am I doing wrong?
I am use in CSS
.td-icon-odnoklassniki{
background-image:url(“http://portal.ksors-spain.org/wp-content/uploads/2017/03/odnoklassniki_new.png”);
width: 30px;
height: 20px;
background-size: 30px 20px;
background-repeat: no-repeat;
}
Thank you!
Уже просили – см. поиск: https://forum.tagdiv.com/search/odnoklassniki/
Please add to Newspaper and Newsmag theme panel social network section one more russian site Odnoklassniki (Classmates). Address: https://ok.ru/
And french videohosting http://www.dailymotion.com
Thank you
Привет, extpress!
Имеется в виду – добавить кнопку ВК для шаринга статей?
Может быть, мой ответ тут устроит?
https://forum.tagdiv.com/topic/vkontakte-odnoklassniki-share-button/#post-83438
Привет, dorin9993!
Может быть, мой ответ здесь тебя устроит?
https://forum.tagdiv.com/topic/vkontakte-odnoklassniki-share-button/#post-83438
=========
English:
Maybe my answer here will satisfy you?
https://forum.tagdiv.com/topic/vkontakte-odnoklassniki-share-button/#post-83438
Hello,
how can i change my Sharing Buttons? I don’t use Twitter or Pinterest.
I need a vkontakte and odnoknasskini Sharing Buttons.
How to add share buttons odnoklassniki.ru? Thank you!
Where should I paste code social buttons for posts and pages?
I placed in the file before single.php get_footer (); But then the page is not loaded.
<script type=”text/javascript”>(function() {
if (window.pluso)if (typeof window.pluso.start == “function”) return;
if (window.ifpluso==undefined) { window.ifpluso = 1;
var d = document, s = d.createElement(‘script’), g = ‘getElementsByTagName’;
s.type = ‘text/javascript’; s.charset=’UTF-8′; s.async = true;
s.src = (‘https:’ == window.location.protocol ? ‘https’ : ‘http’) + ‘://share.pluso.ru/pluso-like.js’;
var h=d[g](‘body’)[0];
h.appendChild(s);
}})();</script>
<div data-user=”1628830748″ class=”pluso” data-background=”#ebebeb” data-options=”medium,square,line,horizontal,counter,theme=04″ data-services=”vkontakte,odnoklassniki,facebook,twitter,google,moimir,email,print”></div>
get_footer ();
Hi again!
In what file can I change the output sharing-keys on my custom like in this picture:

Code output:
<div style="float:left">
<script type="text/javascript" src="//yandex.st/share/cnt.share.js"></script>
<div class="b-ya-likes yashare-auto-init"
data-yashareL10n="ru"
data-yashareQuickServices="vkontakte,odnoklassniki,moimir,yaru,facebook,twitter,gplus"
data-yashareTheme="counter"
data-yashareType="large">
</div>
</div>
Thank you!
Hello,
Please add support of vk.com and odnoklassniki.ru to your theme.
Best regards.
Hello,
Please add support of vk.com and odnoklassniki.ru to your theme.
I could provide you with javascript code for both of these social networks.
Best regards.
Hi,
Thank you for your suggestion, we have this on our issue tracker, but because we have over 160 feature requests we have to pick very carefully what we implement. If more people request this feature we will do it.
Thank you for your understanding!
Guys please tell me that its possible to add vk.com to social networks in the theme po brat ski because i am ebanyi nub and its hard to me doing anything but administration
Hi, i need to change your social buttons on my ones, coz i need much more different buttons for different social networks. How and where can i do it? I’ve got my own code, it’s bellow in this message.
Adn also i want to place these buttons on the top of every my post, could you help me with this too?
I have a code like this for buttons:
<script type=”text/javascript”>(function() {
if (window.pluso)if (typeof window.pluso.start == “function”) return;
if (window.ifpluso==undefined) { window.ifpluso = 1;
var d = document, s = d.createElement(‘script’), g = ‘getElementsByTagName’;
s.type = ‘text/javascript’; s.charset=’UTF-8′; s.async = true;
s.src = (‘https:’ == window.location.protocol ? ‘https’ : ‘http’) + ‘://share.pluso.ru/pluso-like.js’;
var h=d[g](‘body’)[0];
h.appendChild(s);
}})();</script>
<div class=”pluso” data-background=”#ebebeb” data-options=”big,square,line,horizontal,nocounter,theme=08″ data-services=”facebook,twitter,vkontakte,surfingbird,odnoklassniki,google,moimir,pinterest,tumblr,yandex”></div>
hi,
thank you we will take a look.
Thanks for you message.
Radu A.