+ 6

How can i make like button.

A button like social site have to like the posts and when we press like button the no. of like increases.

24th Sep 2017, 4:13 AM
Mohit Chaprana
Mohit Chaprana - avatar
2 Answers
+ 7
<!-- Paste the following code in your HTML file --> <span class="likebtn-wrapper" data-theme="sku" data-ef_voting="shake" data-identifier="item_1"></span> <script>(function(d,e,s){if(d.getElementById("likebtn_wjs"))return;a=d.createElement(e);m=d.getElementsByTagName(e)[0];a.async=1;a.id="likebtn_wjs";a.src=s;m.parentNode.insertBefore(a, m)})(document,"script","//w.likebtn.com/js/w/widget.js");</script>
24th Sep 2017, 4:38 AM
Ekansh
+ 1
Wow! I didn't know you could do that!😯
20th Oct 2017, 4:28 PM
Gentry Harding
Gentry Harding - avatar