How to create social share button for brizycloud?


add icon element and change social network icon

add class name: "share-socical" for all icon elements

copy and paste the following links to social media icons


1. http://www.facebook.com/sharer.php?u=

2. http://twitter.com/share?text=

3. https://www.linkedin.com/shared/share-offsite/?url=

4. https://t.me/share/url?url=

5. https://www.facebook.com/dialog/send?link=

6. https://web.skype.com/share?url=

7. https://web.whatsapp.com/send?text=

8. https://www.tumblr.com/share?t=


add embed element

copy and paste javascript code


<script>
var share_socical = document.querySelectorAll(".share-socical > a");
for (var i = 0; i < share_socical.length; i++) {
  share_socical[i].href = share_socical[i].href + encodeURIComponent(window.location.href);
}
</script>


DONE!!!!


Note:

You can hide embedded element

I put social sharing buttons in popup. But you can put in a block and set global condition and stick fixed button