<div id="share_now"></div> <script> var post_title = document.getElementsByClassName("post-title").innerHTML; let current_url =window.location.href; document.getElementById("share_now").innerHTML ='<a href="https://api.whatsapp.com/send?text='+current_url+'" target="_blank" id="share_now" class="whatsapp-button"> <img src="https://raw.githubusercontent.com/sknetking/social/main/sknetking_whatsapp.png"/></a>'; </script>