b0rn-to-be-wild

SHARE WIDGET v.2 HTML

Mar 5th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. If you want the share widget to be on the bottom of the entry paste this part before the closing div ( </div> ) for .entry or article or before the closing div ( </div> ) for .info or .post info. It differs for every theme.
  2.  
  3. If you want it to be on top of the entry paste this part below <div class="entry"> or <article>.
  4.  
  5. Make sure it's between {block:Date} and {/block:Date}.
  6.  
  7.  
  8. <!-- SHARE WIDGET BY BORNTOBEWILDCODES v.2 -->
  9.  
  10. <div class="share_widget">
  11.  
  12. <a href="https://facebook.com/sharer.php?u={URLEncodedPermalink}&t={URLEncodedTitle}"> <i class="fa fa-facebook" aria-hidden="true"></i> </a>
  13.  
  14. <a href="https://twitter.com/intent/tweet?text={URLEncodedTweetSummary}"> <i class="fa fa-twitter" aria-hidden="true"></i> </a>
  15.  
  16. <a href="//www.pinterest.com/pin/create/button/?url={URLEncodedPermalink}&media={PhotoURL-500}"> <i class="fa fa-pinterest" aria-hidden="true"></i> </a>
  17.  
  18. <a href="https://reddit.com/submit?url={URLEncodedPermalink}"> <i class="fa fa-reddit" aria-hidden="true"></i> </a>
  19.  
  20. <a href="'mailto:?subject={URLEncodedShareString}&body={URLEncodedMailSummary}'"> <i class="fa fa-envelope" aria-hidden="true"></i> </a>
  21.  
  22. </div>
  23. <!-- End share_widget -->
Add Comment
Please, Sign In to add comment