November 13, 2015

Cara Pasang Fanspage, Subscription Box, Plus Social Media Widget di Blog

By Romeltea | Published: November 13, 2015

Cara Pasang Fanspage Facebook (Like Box), Subscription Box, Plus Social Media Widget di Sidebar Blog.

WIDGET Kotak Berlangganan & Like Box Fanspage FB ini sangat powerful dan lengkap. Widget ini menyatukan fanspage, follow by email, serta akun media sosial --google plus, facebook, twitter, RSS Feed, dan pinterest sekaligus. Live Demonya ada di sidebar blog ini.

Fanspage, Subscription Box, Plus Social Media Widget


CARA PASANG

Cara memasang Fanspage, Subscription Box, Plus Social Media Widget ini sangat mudah.

1. Layout > Add a Gadget > pilih HTML/Javascript
2. Copas kode berikut ini di kolom Content:

<style>
    /* Social Widget */
    #ABT-mashable-bar {

        border: 0; background:#c8e993; border:1px solid #ccc;
        margin-bottom: 10px; padding:8px;
        margin: 0 auto;
            width:283px;
    }
    .fb-likebox {
        background: #fafafa;
        padding: 10px 10px 0 10px;
        border: 1px solid #D8E6EB;
        margin-top: -2px;
            height:80px;
    }
    .googleplus {
        background: #F5FCFE;
        border-top: 1px solid #FFF;
        border-bottom: 1px solid #ebebeb;
        border-right: 1px solid #D8E6EB;
        border-left: 1px solid #D8E6EB;
        border-image: initial;
        font-size: .90em;
        font-family: "Arial","Helvetica",sans-serif;
        color: #000;
        padding: 9px 11px;
        line-height: 1px;}
    .googleplus span {
        color: #000;
        font-size: 11px;
        position: absolute;
        display:inline-block;
        margin: 9px 70px;}
    .g-plusone {    float: left;}
    .twitter {
        background: #EEF9FD;
        padding: 10px;
        border: 1px solid #C7DBE2;
        border-top: 0;}
    #mashable {
        background: #EBEBEB;
        border: 1px solid #CCC;
        border-top: 1px solid white;
        padding: 2px 8px 2px 3px;
        text-align: right;
        border-image: initial;}
    #mashable .author-credit {}
    #mashable .author-credit a {
        font-size: 10px;
        font-weight: bold;
        text-shadow: 1px 1px white;
        color: #1E598E;
        text-decoration:none;}
    #email-news-subscribe .email-box{
        padding: 5px 10px;
        font-family: "Arial","Helvetica",sans-serif;
        border-top: 0;
        border-right: 1px solid #C7DBE2;
        border-left: 1px solid #C7DBE2;         background: #d3e0ed;
        border-image: initial;
       height:35px;}
    #email-news-subscribe .email-box input.email{
        background:#FFFFFF;
        border: 1px solid #dedede;
        color: #999;
        padding: 7px 10px 8px 10px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        -o-border-radius: 3px;
        -ms-border-radius: 3px;
        -khtml-border-radius: 3px;
        border-radius: 3px;
        border-image: initial;
        font-family: "Arial","Helvetica",sans-serif;}  
    #email-news-subscribe .email-box input.email:focus{color:#333}  
    #email-news-subscribe .email-box input.subscribe{
        background: -moz-linear-gradient(center top,#FFCA00 0,#FF9B00 100%);
        background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#FFCA00),color-stop(1,#FF9B00));
        background: -moz-linear-gradient(center top,#FFCA00 0,#FF9B00 100%);
        -pie-background: linear-gradient(270deg,#ffca00,#ff9b00);
        font-family: "Arial","Helvetica",sans-serif;
        border-radius:3px;
        -moz-border-radius:3px;
        -webkit-border-radius:3px;
        border:1px solid #cc7c00;
        color:white;
        text-shadow:#d08d00 1px 1px 0;
        padding:7px 14px;
        margin-left:3px;
        font-weight:bold;
        font-size:12px;
        cursor:pointer;
        border-image: initial;}
    #email-news-subscribe .email-box input.subscribe:hover{
        background: #ff9b00;
        background-image:-moz-linear-gradient(top,#ffda4d,#ff9b00);
        background-image:-webkit-gradient(linear,left top,left bottom,from(#ffda4d),to(#ff9b00));
        filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr=#ffffff,endColorStr=#ebebeb);
        outline:0;-moz-box-shadow:0 0 3px #999;
        -webkit-box-shadow:0 0 3px #999;
        box-shadow:0 0 3px #999
        background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ffda4d),color-stop(1,#ff9b00));
        background:-moz-linear-gradient(center top,#ffda4d 0,#ff9b00 100%);
        -pie-background:linear-gradient(270deg,#ffda4d,#ff9b00);
        border-radius:3px;
        -moz-border-radius:3px;
        -webkit-border-radius:3px;
        border:1px solid #cc7c00;
        color:#FFFFFF;
        text-shadow:#d08d00 1px 1px 0}  
    #other-social-bar {
        background-color: #D8E6EB;
        box-shadow: 0 1px 1px #FFFFFF inset;
        padding: 0px;
        font-family: "Arial","Helvetica",sans-serif;
        font-weight:bold;
        overflow: hidden;
        border: 1px solid #B6D0DA;
           height:30px;
    }
    #other-social-bar ul {list-style: none outside none; padding-left: 4px;}

    #other-social-bar .other-follow {
        float: left;
        color:#1E598E;
        overflow: hidden;
        height:20px;
        padding:7px;
        width:283px;}

    #other-social-bar .other-follow ul {
        list-style: none outside none;
        padding-left: 4px;}
    #other-social-bar .other-follow ul li {
        font-size: 12px;
        font-weight: bold;
        display:inline;
        border:0;
        text-shadow: 1px 1px white;}  
    #other-social-bar .other-follow ul li a {
        font-size: 12px;
        color:#1E598E;
        font-weight: bold;
        display:inline;
        text-shadow: 1px 1px white;}
    #other-social-bar .other-follow li {
        font-size: 12px;
        font-weight: bold;
        display:inline;
        border:0;
        text-shadow: 1px 1px white;}
    #other-social-bar .other-follow li a {
        font-size: 12px;
        color:#1E598E;
        font-weight: bold;
        display:inline;
        text-shadow: 1px 1px white;}
    #other-social-bar .other-follow li.my-pin {
        background: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKM2i7VifVfDvumrDLN0U54mO614gv4JOPvmxJCofLkPDLfkssi8Ynb5yGEdQlMYlreE6tIWe4HpG4eXeFagviRLMXEbTVFysZFBXdCmQOICm37edUZPD8wBPIoX0z4zb6jOLqzW-dejU3/s1600/pinterest-16.png') no-repeat transparent;
        line-height: 1;
        padding: 0px 3px 1px 20px;
        width: 60px;
        margin-bottom:0px;
            margin-left:5px;}
    #other-social-bar .other-follow li.my-rss {
        background: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsN9UlAr_c4gnjVRcDaNxjYb7ORuAUczjHqJ0vj6a1o-9zisoLfdFdlVIssFccnBjNJgLMkIseG1mrZ5iMzOEGB_WiBzz9pABxeGc5i0sMg8lWJlzYOOGZ1FbREe4KG7b4v0ySBYAKwk4/s400/rss-16×16.png') no-repeat transparent;
        line-height: 1;
        padding: 0px 3px 1px 20px;
        width: 60px;
        margin-bottom:0px;
            margin-left:5px;}
    #other-social-bar .other-follow li.my-pin a, #other-social-bar .other-follow li.my-linkedin a, #other-social-bar .other-follow li.my-gplus a{
    text-decoration:none;}
    #other-social-bar .other-follow li.my-rss a:hover, #other-social-bar .other-follow li.my-linkedin a:hover, #other-social-bar .other-follow li.my-gplus a:hover{text-decoration:underline;}
    #other-social-bar .other-follow li.my-linkedin {
        background: url('http://madbaydesigns.com/shop/images/social_bookmarks/twitter.png') no-repeat transparent;
        line-height: 1;
        padding: 0px 3px 1px 20px;
        width: 60px;
        margin-bottom:0px;}
    #other-social-bar .other-follow li.my-gplus {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjutMYFL3qabxpQePPXEHZB6SLTSs52Y1u1jzsMY5bq-H-KMiix9Bu6uLR7SZNDor6BgFhIZVHoH69YF9mCnqRgMH0iTVriYbg_1j40S_vyFBMPsAuC7MwPN_7OOlSOWstFjzZ-8iq00RU/s400/gplus-16x16.png) no-repeat transparent;
        line-height: 1;
        width: 60px;
        padding: 0px 3px 1px 20px;
        margin-bottom:0px;}
    </style>
    <!--[if IE]>
    <style>
    #email-news-subscribe .email-box input.subscribe{
        background: #FFCA00;
        }
    </style>
    <![endif]-->
    <!--begin of social widget--> <div style="margin-bottom:10px;"> <div id="ABT-mashable-bar" > <!-- Begin Widget -->
<div class="fb-page" data-href="https://www.facebook.com/romelteamedia" data-width="300" data-height="250" data-small-header="true" data-adapt-container-width="true" data-hide-cover="true" data-show-facepile="true" data-show-posts="false"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/romelteamedia"><a href="https://www.facebook.com/romelteamedia">Romeltea Media</a></blockquote></div></div>
<div class="googleplus"> <!-- Google --> <span>Recommend us on Google!</span><div class="g-plusone" data-size="medium"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> </div> <div class="twitter"> <!-- Twitter --> <iframe title="" style="width:300px; height: 20px;" class="twitter-follow-button" src="http://platform.twitter.com/widgets/follow_button.html#_=1319978796351&amp;
    align=&amp;button=blue&amp;id=twitter_tweet_button_0&amp;
    lang=en&amp;link_color=&amp;screen_name=romeltea&amp;show_count=&amp;
    show_screen_name=&amp;text_color=" frameborder="0" scrolling="no"></iframe> </div>
<div id="other-social-bar"> <!-- Other Social Bar -->
<ul class="other-follow">
<li class="my-rss"> <a rel="nofollow" title="Google Plus" rel="author" href="http://plus.google.com/103329103950948291283" target="_blank">RSS</a> </li>
<li class="my-pin"> <a rel="nofollow" title="Pinterest" href="http://pinterest/romeltea" target="_blank">Pinterest</a> </li>
 <li class="my-linkedin"> <a rel="nofollow" title="Twitter" rel="author" href="http://twitter.com/romeltea" target="_blank">Twitter</a>
</li> <li class="my-gplus"> <a rel="nofollow" title="G+" rel="author" href="http://plus.google.com/103329103950948291283" target="_blank">G+</a> </li>
</ul>
</div>
 <div id="email-news-subscribe"> <!-- Email Subscribe --> <div class="email-box">
    <form action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=romelteamedia', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">  
            <input class="email" type="text" style="width: 120px; font-size: 12px;" id="email" name="email" value="Enter Your Email here.." onfocus="if(this.value==this.defaultValue)this.value=&#39;&#39;;" onblur="if(this.value==&#39;&#39;)this.value=this.defaultValue;" />      
            <input type="hidden" value="romelteamedia" name="uri" />
            <input type="hidden" name="loc" value="en_US" />
            <input class="subscribe" name="commit" type="submit" value="Subscribe" />  
        </form>
    </div> </div>
<div id="mashable" style="background: #e3e3e3;border: 1px solid #CCC;border-top: 1px solid white;padding: 1px 8px 1px 3px;text-align: right;border-image: initial;font-size:10px;font-family: "arial","helvetica",sans-serif;"> <span class="author-credit" style="font-family: Arial, Helvetica, sans-serif;"></span></div></div>
    <!-- End Widget --> </div> <!--end of social widget-->

3. Ganti tulisan warna merah (ID) dengan kepunyaan Anda.
4. Save!

Kode di atas, yaitu kode like box facebook, sudah dimodifikasi agar seo friendly dengan menghilangkan <iframe> yang kabarnya tak terdeteksi mesin pencari Google.

Kode  Pasang Fanspage, Subscription Box, Plus Social Media Widget di atas juga bisa dipasang di blog Wordpress & Blog Selfhosted CMS WP. Saya juga pasang kode di ata di www.romeltea.com.

Cara memasangnya di WP sama dengan cara di atas, yaitu pilih widget "Text" dan masukkan kode di atas. Wasalam. (http://www.romelteamedia.com).*

Sumber

Previous
« Prev Post
Author Image

Romeltea
Romeltea adalah onair dan online name Asep Syamsul M. Romli aka Kang Romel. Praktisi Media, Blogger, Trainer Komunikasi from Bandung, Indonesia. Follow me: facebook twitter instagram linkedin youtube

Recommended Posts

Related Posts

Show comments
Hide comments

2 comments on Cara Pasang Fanspage, Subscription Box, Plus Social Media Widget di Blog

  1. Terima kasih Master,saya belajar ngeblog lagi dari Master.BarakaAllahu Master.

    ReplyDelete
  2. nice tips gan, kebetulan lagi cari yang ginian. soalnya pake bawaan developer social medianya jadi berat page sizenya. coba ini dulu (y)

    ReplyDelete

Contact Form

Name

Email *

Message *