Share blog option in webflow

I need to make this in webflow. By clicking this the blog post should share to multiple platforms like linkedin etc.
No description
4 Replies
ShaneVeldhuizen
ShaneVeldhuizen7mo ago
I would check out Finsweets social share for an easy solution. If you only want this one button you may need to nest the social icons in some kind of modal
Sushant Dhiwar
Sushant DhiwarOP7mo ago
Okay got it, and when I click on share post the modal should open!
shanless
shanless7mo ago
Yes, that's what it does.
shanless
shanless7mo ago
And if you need just a copy link button, I came up with this idea:
//copy link function
//add "clipboard" class on the link
//add "basic-icon-spec-text" class on the text
//copy link function
//add "clipboard" class on the link
//add "basic-icon-spec-text" class on the text
<script> var $temp = $("<input>"); var $url = $(location).attr('href'); $('.clipboard').on('click', function() { $("body").append($temp); $temp.val($url).select(); document.execCommand("copy"); $temp.remove(); $(".basic-icon-spec-text.clipboard").text("Link copied"); }) </script> Here is an example: https://www.morragency.com/blog-posts/the-science-behind-storytelling-how-it-captivates-audiences-and-drives-engagement

Did you find this page helpful?