Jump to content

How to add share buttons on a page


Saurabh Jain
 Share

Recommended Posts

45 minutes ago, Saurabh Jain said:

How to add inbuilt share system in page ?

For Facebook, Twitter and Google +, I use this code

<hr class='ipsHr'>
<div id="cont1"><ul class='ipsList_inline ipsList_noSpacing ipsClearfix' data-controller="core.front.core.sharelink">
<li><a href="http://twitter.com/share?url=http://yoursait.com/yourpage/" class="cShareLink cShareLink_twitter" target="_blank" data-role="shareLink" title='Share on Twitter' data-ipsTooltip><i class="fa fa-twitter"></i></a></li>
<li><a href="https://www.facebook.com/sharer/sharer.php?u=http://yoursait.com/yourpage/" class="cShareLink cShareLink_facebook" target="_blank" data-role="shareLink" title='Share on Facebook' data-ipsTooltip><i class="fa fa-facebook"></i></a></li>
<li><a href="https://plus.google.com/share?url=http://yoursait.com/yourpage/" class="cShareLink cShareLink_google" target="_blank" data-role="shareLink" title='Share on Google+' data-ipsTooltip><i class="fa fa-google-plus"></i></a></li></ul></div>

Change only 'yoursait' and 'yourpage'.

Link to comment
Share on other sites

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...