<style>#shariff_button_whatsapp{ background: #34af23; border-radius: 3px; font-weight: 600; padding: 5px 8px; display: inline-block; position: static;} #shariff_button_whatsapp:hover { cursor: pointer; background: #25d366} #shariff_button_whatsapp svg { width: 18px; fill: white; vertical-align: middle; border-radius: 2px} #shariff_button_whatsapp span { vertical-align: middle; color: white; font-size: 14px; padding: 0 3px} </style> <div id="shariff_button_whatsapp"> <svg viewBox="0 0 32 32" preserveAspectRatio="Beitrag Posten"> <path class="svg-icon-path" d="M17.6 17.4q0.2 0 1.7 0.8t1.6 0.9q0 0.1 0 0.3 0 0.6-0.3 1.4-0.3 0.7-1.3 1.2t-1.8 0.5q-1 0-3.4-1.1-1.7-0.8-3-2.1t-2.6-3.3q-1.3-1.9-1.3-3.5v-0.1q0.1-1.6 1.3-2.8 0.4-0.4 0.9-0.4 0.1 0 0.3 0t0.3 0q0.3 0 0.5 0.1t0.3 0.5q0.1 0.4 0.6 1.6t0.4 1.3q0 0.4-0.6 1t-0.6 0.8q0 0.1 0.1 0.3 0.6 1.3 1.8 2.4 1 0.9 2.7 1.8 0.2 0.1 0.4 0.1 0.3 0 1-0.9t0.9-0.9zM14 26.9q2.3 0 4.3-0.9t3.6-2.4 2.4-3.6 0.9-4.3-0.9-4.3-2.4-3.6-3.6-2.4-4.3-0.9-4.3 0.9-3.6 2.4-2.4 3.6-0.9 4.3q0 3.6 2.1 6.6l-1.4 4.2 4.3-1.4q2.8 1.9 6.2 1.9zM14 2.2q2.7 0 5.2 1.1t4.3 2.9 2.9 4.3 1.1 5.2-1.1 5.2-2.9 4.3-4.3 2.9-5.2 1.1q-3.5 0-6.5-1.7l-7.4 2.4 2.4-7.2q-1.9-3.2-1.9-6.9 0-2.7 1.1-5.2t2.9-4.3 4.3-2.9 5.2-1.1z"></path> </svg> <span>Teilen</span></div> <script> var shariff_button_whatsapp = document.getElementById('shariff_button_whatsapp');var url = window.location.href; shariff_button_whatsapp.addEventListener('click', function() { window.open('https://api.whatsapp.com/send?text=' + url, 'whatsapp-share-dialog', 'width=800,height=600' ); return false;}); </script>
Installation, Anweisung folgt demnächst.Bild, wie es ausschaut:[[File:whatsapp funtioniert auch.png|none|auto]]Daishi