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.



social bookmark



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/AVvXsEjp1bIO7ugiDGrrQHSHtwivRO1iQKDzmAeYzy0sWOmwWzozs7iKOksF3IU6yo1ndxZXwSQwdhoYFBLTo6wErmPyJJYtIaOJlwFPKpF_USG26uD1HjHZA3wEJmxLpEO1slpKGdS7tSmehQoH/s1600/share.jpg' title='Share This Artikel'/>

</div>

<ul>

<li><a expr:href='&quot;http://digg.com/submit?phase=2&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'><img alt='Digg' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz4Y7iLL88H_R_Q68FObvvnaGEQNvaKPj3CMk3qU94bIf67RgfRALdd2BbV_EF8rEO3UXGnsniYTD7-MhPLbh1cqVD6QJTewZ62Jc9e7DCBdKO9152UBHVWbBb4k7ZPEFWbvlk22ZtDqq9/s400/digg.png' title='Digg'/></a></li>

<li><a expr:href='&quot;http://del.icio.us/post?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'><img alt='del.icio.us' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLjlZ6GaT56VFkr4cvSXvKyHr8auaD5lVl9JySi0TNeySIEo2jvsFao9KLNy2pdPKgmATT6bT4yK9HKq7UurKa7C2z-3WqKYrKiEnlMTbw9fuuK26-dSCofJNiAYEHUl4tEeohXkq9AqTV/s400/delicious.png' title='del.icio.us'/></a></li>

<li><a expr:href='&quot;http://www.facebook.com/sharer.php?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'><img alt='Facebook' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxnsAAySpg5p7mRoSxGfxvWWPCRpry-NFg5c3UNUorYkfbC6Xn6Mratlv4PGj_uIfT2RAAsxGhQaTm3DKpr68nhbKR1cCJIcGZvW96JOv4CYIzrzvlXQYy-uZKx0MEMdutDb10JiCPTreO/s400/facebook_002.png' title='Facebook'/></a></li>

<li><a expr:href='&quot;http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'><img alt='Google' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSXc-WA7pR0aB9Eo8fV1Wkj7obG9J9nmJPeN25yvEtxMop-r9D6cEEDC8S51cugvYlgB3LSknCHFoZ51Y63U8lt2B6z0lx_3ontrLhp6mlHfvBxJnJsIEPlm5dX6bKEnX0Zv2_847abngC/s400/googlebookmark.png' title='Google'/></a></li>

<li><a expr:href='&quot;http://www.stumbleupon.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'><img alt='StumbleUpon' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKf-9UO5oTsDxoD-UdVVVlAwtw6WWVa7E5wlLfwNJOvoAfSNSAtGWzt2jbWY04r9Z9DZi71hlub7t71Ip8snmS5YkoninY4FvppPbKHqfSUA0f4JDy0WADxtd9Fmg1kC_NKgMgF0H2G99y/s400/stumbleupon.png' title='StumbleUpon'/></a></li>

<li><a expr:href='&quot;http://technorati.com/faves?add=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'><img alt='Technorati' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl0upkP242C2_sTYXCpIEClrGahR8FCR6cx7MIjCX_nf_HU7hT5u41mwizeKAHvLdyFkdWeiwAJGTl-TtizDcE_R2J1qhmgrgNRw6_7HLoh-mBMQXDCBhpDpiICFjf0iKxy-Vota1NnlsQ/s400/technorati.png' title='Technorati'/></a></li>

<li><a expr:href='&quot;http://twitter.com/home?status=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'><img alt='TwitThis' class='sociable-hovers' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbKjOeLrEr-fRHCF6pWriRweCTJuOWxlUBAqg3mZ9elb48CSl1X0gOJXnG6txY4OONO4Apz-n0O4qCrLyZQ9_JS7VkFxcdtCd69WbR5Pn_elp-MMZI9oTILqFC6m9o_d6LdITmI8EiVo-C/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...


0 Komentar untuk "Menambah Big Social Bookmark dibawah posting"