Mobil Siteye Whatsapp Paylaş Butonu Ekleme

Web sitenizdeki sosyal medyada paylaş butonlarının olduğu yere Whatsapp paylaşma butonu eklemek için çok farklı çözüm aramaya gerek yok. 

En kısa hali ile href= tagını şu şekinde değiştirebilirsiniz; <a href="whatsapp://send?text=http://www.nuhozcan.com">nuhozcan</a>

Örnek olarak;

<a href="whatsapp://send?text=<?php the_permalink();?>&t=<?php the_title(); ?>" data-action="share/whatsapp/share" target="blank">nuhozcan linkini WhatsApp’ta Paylaş</a>

<a href="whatsapp://send?text=<?php the_permalink();?>&t=<?php the_title(); ?>" data-action="share/whatsapp/share" target="blank"><img src="whatsapp_icon.png"/></span>" alt="nuhozcan linkini Whatsapp'ta Paylaş"/></a>

Wordpress'de hazır eklenti için Share Buttons by AddToAny bağlantısını kullanabilirsiniz.

Blogger, glogspot için 

<script type='text/javascript'>if(typeof wabtn4fg===&quot;undefined&quot;){wabtn4fg=1;h=document.head||document.getElementsByTagName(&quot;head&quot;)[0],s=document.createElement(&quot;script&quot;);s.type=&quot;text/javascript&quot;;s.src=&quot;https://dl.dropboxusercontent.com/u/7330191/whatsapp-sharing.js&quot;;h.appendChild(s);}</script>
<a class='wa_btn wa_btn_s' expr:data-href='data:post.url' expr:data-text='data:post.title' href='whatsapp://send' style='display:none'>Share</a>
<!-- Whatsapp Share Buttons End -->

Android kod bloğuna ise;

Intent sendIntent = new Intent();
sendIntent.setAction(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, "This is my text to send.");
sendIntent.setType("text/plain");
startActivity(sendIntent);

sendIntent.setPackage("com.whatsapp");

 

olarak ekleyebilirsiniz.

Comments (9) -

Warez
Warez
7/21/2017 12:19:26 PM #

Thanks for this!

Warez
Warez
7/24/2017 1:47:21 AM #

Thanks for the post!

Warez
Warez
7/25/2017 12:32:51 AM #

Thanks for the post!

Warez
Warez
7/25/2017 8:58:26 PM #

Thanks for this!

www.metrocarremovals.com.au
www.metrocarremovals.com.au
8/2/2017 5:00:46 AM #

You have remarked very interesting details! ps nice internet site.

car wreckers in melbourne
car wreckers in melbourne
8/8/2017 7:33:12 AM #

I gotta  favorite this  site it seems  handy   handy

www.metrocarremovals.com.au
www.metrocarremovals.com.au
8/9/2017 4:09:01 AM #

It is actually a great and useful piece of info. I'm satisfied that you shared this helpful information with us. Please keep us informed like this. Thanks for sharing.

viagra
viagra
2/4/2019 10:40:04 PM #

great

Pearle Popik
Pearle Popik
9/22/2019 1:21:35 AM #

Hello there, I discovered your website via Google whilst looking for a related topic, your site got here up, it appears to be like good. I have bookmarked it in my google bookmarks.

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Calendar

<<  October 2019  >>
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

View posts in large calendar

Tag cloud

Page List

RecentComments

Comment RSS

Newsletter

Get notified when a new post is published.