Кнопки “Поделиться в социальных сетях Share Social Links



Исполняемый код:

<ul class="share-list"> <li class="share-item"> <a href="https://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>&t=<?php the_title(); ?>" class="share-link share-link--facebook" rel="nofollow" target="_blank"> <i class="fa fa-facebook" aria-hidden="true"></i> </a> </li> <li class="share-item"> <a href="https://twitter.com/share?url=<?php the_permalink(); ?>&text=<?php the_title(); ?>&hashtags=my_hashtag" class="social-tw" rel="nofollow" target="_blank"> <i class="fa fa-twitter" aria-hidden="true"></i> </a> </li> <li class="share-item"> <script type="text/javascript" async defer src="https://assets.pinterest.com/js/pinit.js"></script> <a href="https://www.pinterest.com/pin/create/button/" data-pin-do="buttonBookmark" data-pin-custom="true" class="share-link share-link--pintrest" rel="nofollow" target="_blank"> <i class="fa fa-pinterest" aria-hidden="true"></i> </a> </li> <li class="share-item"> <a href="http://www.linkedin.com/shareArticle?mini=true&url=<?php the_permalink() ?>&title=<?php the_title(); ?>&summary=&source=<?php bloginfo('name'); ?>" rel="nofollow" target="_blank"> <i class="fa fa-linkedin" aria-hidden="true"></i> </a> </li> <li class="share-item"> <a href="https://t.me/share/url?url=<?php the_permalink(); ?>&text=<?php the_title(); ?>" class="share-link share-link--telegram" rel="nofollow" target="_blank"> <i class="fa fa-telegram" aria-hidden="true"></i> </a> </li> <li class="share-item"> <a href="viber://forward?text=<?php the_permalink(); ?>" class="share-link share-link--telegram" rel="nofollow" target="_blank"> <i class="fab fa-viber" aria-hidden="true"></i> </a> </li> <li class="share-item"> <a href="http://www.reddit.com/submit" onclick="window.location = 'http://www.reddit.com/submit?url=' + encodeURIComponent(window.location); return false" class="share-link share-link--reddit" rel="nofollow" target="_blank"> <i class="fa fa-reddit" aria-hidden="true"></i> </a> </li> <li class="share-item"> <a href="https://vk.com/share.php?url=<?php the_permalink(); ?>" class="social-vk" rel="nofollow" target="_blank"> <i class="fa fa-vkontakte" aria-hidden="true"></i> </a> </li> <li class="share-item"> <a href="http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st._surl=<?php the_permalink(); ?>&st.comments=<?php the_title(); ?>" class="social-ok" rel="nofollow" target="_blank"> <i class="fa fa-odnoklassniki" aria-hidden="true"></i> </a> </li> </ul>