Gampang kok, tinggal ke Layout > Add a gadget > HTML/Javascript
Then, masukkin kode ini:
<style>
.twitter-follow-button {
padding:2px;
}
</style>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<a class="twitter-follow-button" data-show-count="false" data-size="medium" href="https://twitter.com/usernamekamu">Follow @usernamekamu</a>
.twitter-follow-button {
padding:2px;
}
</style>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<a class="twitter-follow-button" data-show-count="false" data-size="medium" href="https://twitter.com/usernamekamu">Follow @usernamekamu</a>
Itu doang. Ini bisa dimodifikasi loh, coba liat baris `<a class=..`
data-show-count="false" bisa diganti dengan data-show-count="true", ntar keluar jumlah follower kamu.
data-size="medium" bisa diganti dengan data-size="large" untuk ukuran yang lebih besar.
That's all!
No comments:
Post a Comment
None