add social share

This commit is contained in:
2021-10-09 22:59:32 +03:00
parent e9bc2dbd8b
commit 3619ce52d2
8 changed files with 18 additions and 7 deletions

1
blocks/social-share.php Normal file
View File

@@ -0,0 +1 @@
<a href="http://vk.com/share.php?url=<?=get_permalink()?>&<?=get_the_title()?>" target="_blank"><i class="fab fa-vk btn_soc_post"></i></a> <a href="https://www.facebook.com/sharer/sharer.php?u=#<?=get_permalink()?>" target="_blank"><i class="fab fa-facebook-square btn_soc_post"></i></a> <a href="https://telegram.me/share/url?url=<?=get_permalink()?>"><i class="fab fa-telegram-plane btn_soc_post"></i></a>