add files
This commit is contained in:
41
template-parts/single/post-social-share-desktop.php
Normal file
41
template-parts/single/post-social-share-desktop.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<!--[single/post-social-share-desktop]-->
|
||||
|
||||
<div class="stick js-stickybit d-none d-lg-block">
|
||||
|
||||
<div class="ya-share2__list">
|
||||
|
||||
<a class="ya-share2__item vk" target="_blank" href="https://vk.com/share.php?url=<?= urlencode( the_permalink() . "?utm_from=vk_share" ) ?>&title=<?= urlencode( the_title() ) ?>" title="Поделиться во Вконтакте">
|
||||
|
||||
<span class="ya-share2__badge">
|
||||
|
||||
<span class="ya-share2__icon"></span>
|
||||
|
||||
</span>
|
||||
|
||||
</a>
|
||||
|
||||
<a class="ya-share2__item telegram" target="_blank" href="tg://msg_url?url=<?= urlencode( the_permalink() . "?utm_from=tg_share" ) ?>&text=<?= urlencode( the_title() ) ?>" title="Поделиться в Телеграм">
|
||||
|
||||
<span class="ya-share2__badge">
|
||||
|
||||
<span class="ya-share2__icon"></span>
|
||||
|
||||
</span>
|
||||
|
||||
</a>
|
||||
|
||||
<a class="ya-share2__item ok" target="_blank" href="https://connect.ok.ru/offer?url=<?= urlencode( the_permalink() . "?utm_from=ok_share" ) ?>&title=<?= urlencode( the_title() ) ?>" title="Поделиться в Одноклассниках">
|
||||
|
||||
<span class="ya-share2__badge">
|
||||
|
||||
<span class="ya-share2__icon"></span>
|
||||
|
||||
</span>
|
||||
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!--[single/post-social-share-desktop]-->
|
||||
Reference in New Issue
Block a user