Menambah Big Social Bookmark dibawah posting
Posted by rike
on
0
Satu lagi keunggulan wordpress yang dapat kita aplikasikan pada blogspot, yaitu menambah widget social bookmark dibawah postingan blog.
Penambahan social bookmark sangat baik sekali untuk mempromosikan blog kita di situs facebook, twitter, digg dan lain-lain.
Kali ini yang ingin saya sharingkan bukan social bookmark pada umumnya akan tetapi yang big, selain mempercantik blog juga menarik minat pengunjung untuk mengkliknya..
Contoh seperti gambar dibawah ini dapat anda lihat pada blog Ngobrol Seputar Bisnis Online.
Gimana, keren kan? Oke kita mulai aja..
seperti biasa Tambahkan kode CSS berikut di atas kode ]]></b:skin>
div.sociable { margin: 16px 0;}
span.sociable_tagline { position: relative; }
span.sociable_tagline span { display: none; width: 14em; }
span.sociable_tagline:hover span {
position: absolute;
display: block;
top: -5em;
background: #ffe;
border: 1px solid #ccc;
color: black;
line-height: 1.25em;
}
.sociable span {
display: block;
}
.sociable ul {
display: inline;
margin: 0 !important;
padding: 0 !important;
}
.sociable ul li {
background: #f5f5f5;
display: inline !important;
list-style-type: none;
margin: 0;
padding: 2px;
}
.sociable ul li:before { content: ""; }
.sociable img {
float: none;
border: 0;
margin: 0;
padding: 0;
}
.sociable-hovers {
opacity: 0.4;
-moz-opacity: 0.4;
filter: alpha(opacity=40);
}
.sociable-hovers:hover {
opacity: 1;
-moz-opacity: 1;
filter: alpha(opacity=100);
}
Setelah itu simpan dulu template kamu
lalu kamu ceklist Expand Template Widget.
Kamu cari kode <p><data:post.body/></p>
kalau blog kamu sudah memakai readmore, maka ada dua kode tersebut.
maka pilih kode yang kedua biar tidak tampak pada halaman utama.
setelah ketemu kamu masukkan kode HTML berikut dibawah kode diatas.
<div class='sociable'>
<div class='sociable_tagline'>
<img alt='Ngobrol Seputar Bisnis Online' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijjWlzN1iTIBSanvlHAVcEk5TZV3-3psO9CxTfIevmjCTrYF0xpxQe65fbwu-mDQWA6TUYakHRbyz9IPDHAOAVJXLY0KxWH8MGWeqjp0ryMPPnsPhrNU68405nXaKFYXpqAKBqtBdn6S_g/s1600/share.jpg' title='Share This Artikel'/>
</div>
<ul>
<li><a expr:href='"http://digg.com/submit?phase=2&url=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='Digg' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiutUO60q0JCMNaHjz35GoTaPF4XQ4YI7Gz0BqUNAA-_aMCVbMmZdGo-HxKKqJSB-cJxliCEtzQQu43qOmgw8SakcvJwwgOcaQwGVSz0UaRjSXKp2ZaZiR_h7hCQiooQ0b_a6F5O4fajErv/s400/digg.png' title='Digg'/></a></li>
<li><a expr:href='"http://del.icio.us/post?url=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='del.icio.us' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiwWuzINhudfcCjZ-oVnrclua-PHXkRngFnara3q76uE_M8Xvm5VYQ5O6Qyt0axf2bphlRGg1oo9aMe8y_GZnk2Kgb_nHFNmUBgbTR5JtBVUm6-eW5YOjXoq9a0HOMKiPLalWGgwVuw8IN/s400/delicious.png' title='del.icio.us'/></a></li>
<li><a expr:href='"http://www.facebook.com/sharer.php?u=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='Facebook' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmmA8uGvuk2-AqXyOmMVfpZ2p-fkE_YSyLKI0w4UXphjpZ-MaEfsNHprXbovKpV5nRWdKQYC5FqNo6xoRoytIcj5e_MVgaMROlRHGM9Sn9JvYPgo1OyirH9vuDQtrjq3-oQow9y9OC6EdX/s400/facebook_002.png' title='Facebook'/></a></li>
<li><a expr:href='"http://www.google.com/bookmarks/mark?op=edit&bkmk=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='Google' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFFm27W78nhYq82lfGoI3vvEqCEXcqJytSi-TGFWTkQpsG8yn2KtgIO8EA5W4r5nIvf0dbSTm727cx9VWG082WphbvVBceGDtt7jsigw6Q7wyyGxGHslQz7MzAyDL2FR-StpGxXHOSSaD9/s400/googlebookmark.png' title='Google'/></a></li>
<li><a expr:href='"http://www.stumbleupon.com/submit?url=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='StumbleUpon' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8l9w1cVu4S2jRhUShljePN2GZocbsEJMSspFYxv-eY2paY7oLleqQwY0W-n_n3_LhXkbJdhmyq122fhpo0orPWISZ9xfgCpO7zBwDAhTE9z2BMWEbgtFOErUnWdl4cyU6MEtBMNsLHVe9/s400/stumbleupon.png' title='StumbleUpon'/></a></li>
<li><a expr:href='"http://technorati.com/faves?add=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='Technorati' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoWQOuCS096Jafm5890YjqXJNhe7yiLel8KJmh3j6GlYPkgPcaSxx6uP65AmygCXCuTdGWYDujCckReFpNVvQYaWT9VxsKE771cYTGVgnGUJFyW7HSSchO50MgoRfhwMltDchyphenhyphen7NzPN_Nx/s400/technorati.png' title='Technorati'/></a></li>
<li><a expr:href='"http://twitter.com/home?status=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='TwitThis' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit2KDJsKYtjFDXmq9O808FUFGB3MyiB7eKcNhWZL1gBNr7m5X_7Tbg2xdVf0fXDmiOEOjj6Uytt9nrscSFaLGrPKjcrtod24UxQRdpfTB2WfXGi4Xvl46BL6uwv4xt819qaLXoiuYKQhAz/s400/twitter.gif' title='TwitThis'/></a></li>
</ul>
</div>
Karena penempatan social bookmark ini pada halaman postingan jadi kamu tidak bisa pratinjau hasilnya, so.. simpan aja dulu dan lihat hasilnya...
Tagged as: Trik Blogger, Widget
About the Author
Write admin description here..
Get Updates
Subscribe to our e-mail newsletter to receive updates.
Share This Post
Related posts
0 comments:
Post a Comment