Widgets: Leave Falls Social Bookmark Untuk Blog
Jika sebelum ini kita ada pelbagai jenis butang bookmark sosial untuk post di blog seperti Sharing Is Sexy, Share The Love, Spread The Love dan sebagainya, kali ini kita cuba pula aplikasikan satu lagi butang sharing bookmark sosial untuk post. Kaedah paling mudah tetapi menarik.
1) Pergi ke Dashboard >> Layout >> Edit HTML >> dan tik pada "Expand Widget Templates".
2) Kemudian anda cari tag <data:post.body/>.
3) Copy kod di bawah dan masukkan tag di atas:-
<div style='clear:both; '>4) Save template anda dan selesai! Memang mudah. Demo lihat di SINI.
<div style='width:65px; float:left;'>
<a expr:href='"http://www.stumbleupon.com/submit?url=" + data:post.url + "&title=" + data:post.title' rel='external nofollow' target='_blank'><img alt='Stumble' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijISg4asfwCcj70KiTji73EFjiyy-Cex8SV_jiQW-XCKnQNevXvALEKKM03rACDG9p8x1TzFX83yO5egdOJ9IoAz51_DTrM6j2EPPNPCt7q2D_MNamNPTDYlwvFI4DOHsrMUd3bU2kSvx7/' style='padding:0;margin:0;border:none;'/></a>
</div>
<div style='width:65px; float:left;'>
<a expr:href='"http://del.icio.us/post?url=" + data:post.url + "&title=" + data:post.title' rel='external nofollow' target='_blank'><img alt='Delicious' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3ygjadHsBHiujaeaBEqJtnRaCeUbyLUKiJr7JS15avv6B0cCenW5xhnYdem5UVxzRQB7IsFbqLyXmKRKCyIUGun0-iOzKL9XuvC2lJCjatCkJ0TL5wc2_1mKBEO1OsysKgjNMVAXSkHGc/' style='padding:0;margin:0;border:none;'/></a>
</div>
<div style='width:65px; float:left;'>
<a expr:href='"http://technorati.com/faves?add=" + data:post.url' rel='external nofollow' target='_blank'><img alt='Technorati' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSoVDkOv77VkcrXI4S27OyP4c-OO2_Tc7tNiivEML4SfVsjRCsh2xD6y0bNTfSDNxsXfpwTDUa_CVX2mP2P08DNzR9HopuI-HtY3uSRRdxMmivHiVORVZkQUJPIMZ5wCbwBkhL6MoxxJVH/' style='padding:0;margin:0;border:none;'/></a>
</div>
<div style='width:65px; float:left;'>
<a expr:href='"http://twitthis.com/twit?url=" + data:post.url' rel='external nofollow' target='_blank'><img alt='Twitter' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4-iI87Ishtioub95g5qM0DskVN454Fm4wrXOah_z24SpF6lF2bXYY2AHsaJ0wwnCYVRS6ksbnLL3Zgb5_tXNDL_JQhJdyrYJ9n6hRx6oAgdrYAsVSxswz77-5Tzw75mxkb1FAey3uIEbM/' style='padding:0;margin:0;border:none;'/></a>
</div>
<div style='width:65px; float:left;'>
<a expr:href='"http://digg.com/submit?phase=2&url=" + data:post.url + "&title=" + data:post.title' rel='nofollow' target='_blank'><img alt='Digg' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsI7cq_K7zswVYleSpZZQ4noVEtYheqifnPwkj1AwnqaKnL0XC5N5Lqx5gNZ5Av9JALLQD2874h2GZELD2kL3RSNKnoqMDRwati-8v8hxHmeAysxYL269Ev7wDZAJbXGjViF_aA0ZFoMJx/' style='padding:0;margin:0;border:none;'/></a>
</div>
<div style='width:65px; float:left;'>
<a expr:href='"http://www.facebook.com/sharer.php?u=" + data:post.url + "&t=" + data:post.title' rel='external nofollow' target='_blank'><img alt='Facebook' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuR8Jz7Tpl1xU43nuPECLIkqqwvPOZiyCYaRdZmErIRASnjm7BNYqi5kqkwUzUbSGJ1CO8l1rkULVJFHqUoIrtB5L1SH7r9Yim9jr-PpU3stE3WGiJwrZKkr-ktTK0AuQgNRElBT4zj6sV/' style='padding:0;margin:0;border:none;'/></a>
</div>
<div style='width:65px; float:left;'>
<a expr:href='"http://reddit.com/submit?&url=" + data:post.url + "&title=" + data:post.title' rel='nofollow' target='_blank'><img alt='Reddit' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM2APG6PoINEu0oaXsTyiHEGsljo4Zw8pkX81YF5mKbOhLUpiLOYXSiVDfhjm53gajQ0_voRaYh36fu5he_hyphenhyphenntJF7nuhnwdiU45RT7o3E_8TUuXmESTqpsrxhN9broouYm6yb4vaqsrky/' style='padding:0;margin:0;border:none;'/></a>
</div>
<div style='width:65px; float:left;'>
<a expr:href='data:blog.homepageUrl + "feeds/posts/default"' rel='external nofollow' target='_blank'><img alt='Feed' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3KnzxclFjdvPc4LbC7_ltQZRUxBoRD9EKK8MrYAOi37oSiLwRxFwXIeSN3Lc_ix43m141030QXeCkSbAijkG4z7o7T_PuP2weiXjQEOhEXH-bcMiEYbom5xyxH4TiXWIvDWgiwJvoDU32/' style='padding:0;margin:0;border:none;'/></a>
</div>
</div>
p/s: Sesuai digunakan untuk template yang berlatar belakang warna putih.
Comments
Post a Comment