Cara Mengatasi Emoticon di Komentar Blogger Tidak Muncul

Tutorial Blogger/Blogspot kali ini ialah cara mengatasi emoji/emoticon pada komentar Blogger yang tidak muncul atau tidak tampil. Dalam hal ini, kode khusus yang kita ketikkan untuk memanggil emoji/emoticon tersebut tidak berubah menjadi emoticon yang dimaksud.
Cara Mengatasi Emoticon di Komentar Blogger Tidak Muncul
Sebelum melakukan langkah-langkah untuk mengatasi hal tersebut, pastikan dulu kalau template Blogger Anda sudah mengikuti tutorial tentang Cara Mengatasi Threaded Comment dan Reply Comment Blogger Error. Sebab cara berikut ini sangat direkomendasikan untuk diterapkan pada template blogger layout versi 2.

Adapun cara memperbaiki gambar emoticon yang tidak muncul di komentar Blogger adalah sebagai berikut:

Cara memperbaiki emoticon/emoji komentar Blogger/Blogspot yang tidak bekerja

Langkah 1
Masuk ke Theme > Edit HTML

Silahkan cari dan hapus semua kode-kode (yang mirip) seperti berikut ini:
       <script type='text/javascript'>
       //<![CDATA[
       if (typeof(jQuery) == 'undefined') {
 //output the script (load it from google api)
 document.write("<scr" + "ipt type=\"text/javascript\" src=\"//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js\"></scr" + "ipt>");
}
       //]]>
       </script>

Juga hapus kode ini:
       <script async='async' src='//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js' type='text/javascript'/>
       <script type='text/javascript'>
   
         <b:if cond='data:post.numComments != 0'>
         var Items = <data:post.commentJso/>;
         var Msgs = <data:post.commentMsgs/>;
         var Config = <data:post.commentConfig/>;
        <b:else/>
         var Items = {};
         var Msgs = {};
         var Config = {&#39;maxThreadDepth&#39;:&#39;0&#39;};
        </b:if>
       //<![CDATA[
       //Global setting
        Config.maxThreadDepth = 3;
        Display_Emo = true;
        Replace_Youtube_Link = false;
        Replace_Image_Link = false;
        Replace_Force_Tag = false;
        Replace_Image_Ext = ['JPG', 'GIF', 'PNG', 'BMP'];
   
        //Pengaturan Emoticon
        Emo_List = [
        ':)'  ,'https://1.bp.blogspot.com/-LaHAicAaa2I/WtV-7ygqMNI/AAAAAAAASZc/oggBin-5lhsgZD4waZgt6J1QdNaM_StIgCLcBGAs/s1600/1_smile.png',
        ':('  ,'https://2.bp.blogspot.com/-FC8KsfolbYU/WtV-8CTHHcI/AAAAAAAASZg/eE97nrO5aTAuqm3LxtuzLvgPVK_bETC_QCLcBGAs/s1600/2_sad.png',
        ' =('  ,'https://4.bp.blogspot.com/--Tqx3GIVC8M/WtV-8GF0yuI/AAAAAAAASZk/c71YY_8YVb4GU0FtJBReqVE67CpirDQrACLcBGAs/s1600/3_disappointed.png',
        '^_^'  ,'https://3.bp.blogspot.com/-QLVUndtkWHY/WtV-8RoNyzI/AAAAAAAASZo/sjgv-mUkb-cChB2h83mjELVhl36iddTIQCLcBGAs/s1600/4_shy.png',
        ' :D'  ,'https://4.bp.blogspot.com/-1ahzb5i4Dn0/WtV-8kXqgCI/AAAAAAAASZs/RCJ-e_NdjfQQUyATM6nQQcqrON6VJp38QCLcBGAs/s1600/5_noprob.png',
        '=D'  ,'https://2.bp.blogspot.com/-s5o9rYYi-vQ/WtV-8_urg2I/AAAAAAAASZw/7J3_BTqMfn4b6YQhFOxOZSFCD6Wj0ByrQCLcBGAs/s1600/6_happy.png',
        '-_-' ,'https://1.bp.blogspot.com/-rRQ0k1hERkg/WtV-9KcnsRI/AAAAAAAASZ0/ABNXJxx9iH4vTaiF2WmdKDl84SZ8yAXOgCLcBGAs/s1600/7_meh.png',
        '|o|'  ,'https://3.bp.blogspot.com/-OW7O8OmpN0Y/WtV-9KwxihI/AAAAAAAASZ4/IPJiRrxHUc8_hmJzyzaQkGAKFmuRYgxNQCLcBGAs/s1600/8_lol.png',
        '@@'  ,'https://3.bp.blogspot.com/-1QWTD2dh-Oo/WtV-9cFPsYI/AAAAAAAASZ8/1GxkCj5Bkl4pk4VQeBWrVuuFyQH95P6egCLcBGAs/s1600/9_surprise.png',
        ' ;)'  ,'https://1.bp.blogspot.com/-LKHuNVQreiQ/WtV-6ldZ_0I/AAAAAAAASZE/ygyOApWCUVQkGHSPn87LEwODVwbNQaD_wCLcBGAs/s1600/10_trope.png',
        '(y)'  ,'https://3.bp.blogspot.com/-SFQNapoiHzY/WtV-6gCEKJI/AAAAAAAASZM/7XlCgz2OAjEYch6UCyMJQLfp49NIqtdqgCLcBGAs/s1600/11_oke.png',
        ':-d'  ,'https://2.bp.blogspot.com/-ffOg89uWha0/WtV-6oJNY5I/AAAAAAAASZI/TYBI_7uGyx4AwCJYVgV24epAp5USFdrvgCLcBGAs/s1600/12_laughter.png',
        ' :p'  ,'https://4.bp.blogspot.com/-7Dtcz1DR9NU/WtV-7Q2pbDI/AAAAAAAASZQ/PECmtivnEDEb_wu_sz8pfh2VlxY4m2UVACLcBGAs/s1600/13_tongue.png',
        '<3'  ,'https://2.bp.blogspot.com/-c43YrJnSI8c/WtV-7qfnCxI/AAAAAAAASZU/52zdLibUiDY05S14ktIhA7R9BmKeeQZWQCLcBGAs/s1600/14_heart.png', 
        '(>o<)'  ,'https://3.bp.blogspot.com/-HIYL6TWwW-o/WtV-7otVWBI/AAAAAAAASZY/M8T2xzCJLWU0mQN22v76HCRIoIQ9HYp5QCLcBGAs/s1600/15_angry.png', 
        ];
   
                           
                                //Config Force tag list, define all in lower case
                                Force_Tag = [
                                    '[pre]','<pre>',
                                    '[/pre]','</pre>',
                                    '<pre class="brush: plain; title: ; notranslate" title="">','&lt;code&gt;',
                                    '</pre>','</code>'
                                ];
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('3 o=\'.1c\';3 1b=$(\'#O-19\').G(\'A\');u 1l(F){3 1j=\' \\n\\r\\t\\f\\1D\\1G\\1F\\1E\\2l\\2k\\2i\\2f\\2c\\26\\25\\23\\1Y\\1S\\1N\\1L\\1H\\2v\\1M\\2p\\24\\22\\1R\';E(3 i=0;i<F.5;i++){9(1j.d(F.1Q(i))!=-1){F=F.b(0,i);11}}z F}$(\'#1P .1i p\').j(u(y,7){9(1J){3 l=\'1v://13.V.W/1y?v=\';3 8=7.d(l);D(8!=-1){1d=7.b(8);J=1l(1d);3 X=J.d(\'&\');3 N=\'\';9(X==-1){N=J.b(l.5)}Y{N=J.b(l.5,X)}3 1r=\'<1u B="1T" A="1v://13.V.W/1U/\'+N+\'?1V=1" 1W="0" 2w></1u>\';7=7.b(0,8)+1r+7.b(8+J.5);8=7.d(l);9(8==-1){l=\'1Z://13.V.W/1y?v=\';8=7.d(l)}}}9(21){3 Z=\'\';3 s=7;E(3 i=0;i<1w.5;i++){3 l=\'.\'+1w[i];3 m=s.C();3 8=m.d(l);D(8!=-1){k=s.b(0,8+l.5);m=k.C();3 q=\'2h://\';3 w=m.d(q);3 I=\'\';D(w!=-1){I=q.M();k=k.b(w+q.5);m=k.C();w=m.d(q)}q=\'2n://\';m=k.C();w=m.d(q);D(w!=-1){I=q.M();k=k.b(w+q.5);m=k.C();w=m.d(q)}9(I==\'\'||k.5<6){11}k=I+k;Z+=s.b(0,8+l.5-k.5)+\'<10 A="\'+k+\'" B="2r"/>\';s=s.b(8+l.5);m=s.C();8=m.d(l)}}7=Z+s}9(1A){3 5=x.5;9(5%2==1){5--}E(3 i=0;i<5;i+=2){3 S=\'<10 A="\'+x[i+1]+\'" B="1B"/>\';8=7.d(x[i]);D(8!=-1){7=7.b(0,8)+S+7.b(8+x[i].5);8=7.d(x[i])}}}9(1I){3 5=R.5;9(5%2==1){5--}E(3 i=0;i<5;i+=2){D(1){3 s=7.M();8=s.d(R[i]);9(8!=-1){7=7.b(0,8)+R[i+1]+7.b(8+R[i].5)}Y{11}}}}z 7});$(\'.1K\').j(u(y,7){9(1A){3 5=x.5;9(5%2==1){5--}3 12=\'\';E(3 i=0;i<5;i+=2){3 1e=\'<1f>\'+x[i]+\'</1f>\';3 S=\'<10 A="\'+x[i+1]+\'" B="1B"/>\';12+=\'<Q B="1O">\'+S+1e+\'</Q>\'}z 12}});$(\'.1g .1i p\').j(u(i,h){T=h.M();y=T.d(\'@<a U="#c\');9(y!=-1){14=T.d(\'</a>\',y);9(14!=-1){h=h.b(0,y)+h.b(14+4)}}z h});u 1k(g){r=g.d(\'c\');9(r!=-1)g=g.b(r+1);z g}u 1m(g){g=\'&1X=\'+g+\'#%1n\';1o=1b.20(/#%1n/,g);z 1o}u 1p(){j=$(o).j();$(o).j(\'\');o=\'.1c\';$(o).j(j);$(\'#O-19\').G(\'A\',1b)}u 1q(e){g=$(e).G(\'15\');g=1k(g);j=$(o).j();9(o==\'.1c\'){1s=\'<a U="#1t" 27="1p()">\'+28.29+\'</a><a 2a="1t"/>\';$(o).j(1s)}Y{$(o).j(\'\')}o=\'#2b\'+g;$(o).j(j);$(\'#O-19\').G(\'A\',1m(g))}16=2d.2e.U;17=\'#O-2g\';18=16.d(17);9(18!=-1){1x=16.b(18+17.5);1q(\'#2j\'+1x)}E(3 i=0;i<P.5;i++){9(\'1z\'2m P[i]){3 g=P[i].1z;3 1a=2o($(\'#c\'+g+\':L\').G(\'1C\'));$(\'#c\'+g+\' .2q:L\').j(u(y,7){3 H=P[i].15;9(1a>=2s.2t){$(\'#c\'+H+\':L .2u\').1h()}3 K=$(\'#c\'+H+\':L\').j();K=\'<Q B="1g" 15="c\'+H+\'" 1C="\'+(1a+1)+\'">\'+K+\'</Q>\';$(\'#c\'+H).1h();z(7+K)})}}',62,157,'|||var||length||oldhtml|check_index|if||substring||indexOf|||par_id|||html|img_src|search_key|upper_html||Cur_Cform_Hdr||http_search||temp_html||function||find_http|Emo_List|index|return|src|class|toUpperCase|while|for|str|attr|child_id|save_http|yt_link|child_html|first|toLowerCase|yt_code|comment|Items|div|Force_Tag|img_html|temp|href|youtube|com|yt_code_index|else|save_html|img|break|newhtml|www|index_tail|id|cur_url|search_formid|search_index|editor|par_level|Cur_Cform_Url|comment_form|ht|img_code|span|comment_wrap|remove|comment_body|whitespace|Valid_Par_Id|trim|Cform_Ins_ParID|7B|n_cform_url|Reset_Comment_Form|Display_Reply_Form|yt_video|reset_html|origin_cform|iframe|http|Replace_Image_Ext|ret_id|watch|parentId|Display_Emo|comment_emo|level|x5b|x7d|x7c|x5d|u2008|Replace_Force_Tag|Replace_Youtube_Link|comment_emo_list|u2007|u200a|u2006|item|comment_block|charAt|u3000|u2005|comment_youtube|embed|autohide|frameborder|parentID|u2004|https|replace|Replace_Image_Link|u2029|u2003|u2028|u2002|u2001|onclick|Msgs|addComment|name|r_f_c|u2000|window|location|xa0|form_|HTTP|x0b|rc|x3e|x3c|in|HTTPS|parseInt|u200b|comment_child|comment_img|Config|maxThreadDepth|comment_reply|u2009|allowfullscreen'.split('|'),0,{}))
var avatar=$("#comments");
avatar.find('.comment_avatar img').each(function() {
        var ava = $(this).attr('src');
        $(this).show().attr('src', ava.replace(/\/s[0-9]+(\-c)?\//,"/s100-c/"));
});   
    //]]>
</script>

Langkah 2
Langkah selanjutnya cari kode </body> atau &lt;!--</body>--&gt;&lt;/body&gt;

Tambahkan kode berikut ini di atas kode tadi:
<b:if cond='data:view.isSingleItem'>
<script type='text/javascript'>
//<![CDATA[
emoList = document.getElementById('comments');
if (emoList) {
    zx = emoList.getElementsByTagName("p");
    for (i = 0; i < zx.length; i++) {
        if (zx.item(i).getAttribute('CLASS') == "comment-content", "emotlist") {
          emoThemeindie = zx.item(i).innerHTML.replace(':)', "<img src='https://twemoji.maxcdn.com/2/72x72/1f600.png' alt=':)' title=':)' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace(':(', "<img src='https://twemoji.maxcdn.com/2/72x72/1f615.png' alt=':(' title=':(' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('hihi', "<img src='https://twemoji.maxcdn.com/2/72x72/1f601.png' alt='hihi' title='hihi' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace(':-)', "<img src='https://twemoji.maxcdn.com/2/72x72/1f60f.png' alt=':-)' title=':-)' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace(':D', "<img src='https://twemoji.maxcdn.com/2/72x72/1f603.png' alt=':D' title=':D' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('=D', "<img src='https://twemoji.maxcdn.com/2/72x72/1f62c.png' alt='=D' title='=D' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace(':-d', "<img src='https://twemoji.maxcdn.com/2/72x72/1f604.png' alt=':-d' title=':-d' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace(';(', "<img src='https://twemoji.maxcdn.com/2/72x72/1f61e.png' alt=';(' title=';(' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace(';-d', "<img src='https://twemoji.maxcdn.com/2/72x72/1f62d.png' alt=';-d' title=';-d' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('@-)', "<img src='https://twemoji.maxcdn.com/2/72x72/1f616.png' alt='@-)' title='@-)' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace(':P', "<img src='https://twemoji.maxcdn.com/2/72x72/1f61c.png' alt=':P' title=':P' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace(':o', "<img src='https://twemoji.maxcdn.com/2/72x72/1f62e.png' alt=':o' title=':o' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace('-_-', "<img src='https://twemoji.maxcdn.com/2/72x72/1f611.png' alt='-_-' title='-_-' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('(o)', "<img src='https://twemoji.maxcdn.com/2/72x72/1f609.png' alt='(o)' title='(o)' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace(':p', "<img src='https://twemoji.maxcdn.com/2/72x72/1f614.png' alt=':p' title=':p' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace(':-?', "<img src='https://twemoji.maxcdn.com/2/72x72/2753.png' alt=':-?' title=':-?' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('(p)', "<img src='https://twemoji.maxcdn.com/2/72x72/1f619.png' alt='(p)' title='(p)' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace(':-s', "<img src='https://twemoji.maxcdn.com/2/72x72/1f625.png' alt=':-s' title=':-s' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('(m)', "<img src='https://twemoji.maxcdn.com/2/72x72/1f620.png' alt='(m)' title='(m)' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('8-)', "<img src='https://twemoji.maxcdn.com/2/72x72/1f60e.png' alt='8-)' title='8-)' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace(':-t', "<img src='https://twemoji.maxcdn.com/2/72x72/1f624.png' alt=':-t' title=':-t' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace(':-b', "<img src='https://twemoji.maxcdn.com/2/72x72/1f634.png' alt=':-b' title=':-b' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('b-(', "<img src='https://twemoji.maxcdn.com/2/72x72/1f635.png' alt='b-(' title='b-(' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace(':-#', "<img src='https://twemoji.maxcdn.com/2/72x72/1f637.png' alt=':-#' title=':-#' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('=p~', "<img src='https://twemoji.maxcdn.com/2/72x72/1f35c.png' alt='=p~' title='=p~' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('$-)', "<img src='https://twemoji.maxcdn.com/2/72x72/1f4b5.png' alt='$-)' title='$-)' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('(y)', "<img src='https://twemoji.maxcdn.com/2/72x72/1f44d.png' alt='(y)' title='(y)' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('(f)', "<img src='https://twemoji.maxcdn.com/2/72x72/1f33a.png' alt='(f)' title='(f)' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('x-)', "<img src='https://twemoji.maxcdn.com/2/72x72/1f60d.png' alt='x-)' title='x-)' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('(k)', "<img src='https://twemoji.maxcdn.com/2/72x72/1f496.png' alt='(k)' title='(k)' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('(h)', "<img src='https://twemoji.maxcdn.com/2/72x72/1f44f.png' alt='(h)' title='(h)' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('cheer', "<img src='https://twemoji.maxcdn.com/2/72x72/1f378.png' alt='cheer' title='cheer' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace(';-(', "<img src='https://twemoji.maxcdn.com/2/72x72/1f62d.png' alt=';-(' title=';-(' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('lol', "<img src='https://twemoji.maxcdn.com/2/72x72/1f602.png' alt='lol' title='lol' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('|o|', "<img src='https://twemoji.maxcdn.com/2/72x72/1f602.png' alt='|o|' title='|o|' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('rock', "<img src='https://twemoji.maxcdn.com/2/72x72/1f918.png' alt='rock' title='rock' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('angry', "<img src='https://twemoji.maxcdn.com/2/72x72/1f92c.png' alt='angry' title='angry' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('(>o<)', "<img src='https://twemoji.maxcdn.com/2/72x72/1f92c.png' alt='(>o<)' title='(>o<)' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('@@', "<img src='https://twemoji.maxcdn.com/2/72x72/1f92a.png' alt='@@' title='@@' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace(':ng', "<img src='https://twemoji.maxcdn.com/2/72x72/2764.png' alt=':ng' title=':ng' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace('<3', "<img src='https://twemoji.maxcdn.com/2/72x72/2764.png' alt='<3' title='<3' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('pin', "<img src='https://twemoji.maxcdn.com/2/72x72/1f4cc.png' alt='pin' title='pin' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('poop', "<img src='https://twemoji.maxcdn.com/2/72x72/1f4a9.png' alt='poop' title='poop' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace(':*', "<img src='https://twemoji.maxcdn.com/2/72x72/1f618.png' alt=':*' title=':*' class='comment_emo'/>");
          emoThemeindie = emoThemeindie.replace(':v', "<img src='https://twemoji.maxcdn.com/2/72x72/1f606.png' alt=':v' title=':v' class='comment_emo'/>");
            emoThemeindie = emoThemeindie.replace('100', "<img src='https://twemoji.maxcdn.com/2/72x72/1f4af.png' alt='100' title='100' class='comment_emo'/>");
            zx.item(i).innerHTML = emoThemeindie;
        }
    }
}
$(document.body).on("click",function(){$(".commentWithEmot").remove()}),$(".comment_emo").css("cursor","pointer").on("click",function(t){$(".commentWithEmot").remove(),$(this).after('<input class="commentWithEmot" type="text" size="6" value=" '+this.alt+'" />'),$(".commentWithEmot").trigger("select"),t.stopPropagation()});
//]]>
</script>
</b:if>

Catatan:
Kode di atas memerlukan jQuery Library, contohnya seperti ini:
<script src='//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>

Langkah 3
Cari kode berikut:
<b:includable id='threaded-comment-form' var='post'>

Scroll kursor ke bawah, lalu temukan kode yang ini:
<p><data:blogCommentMessage/></p>

Ganti kode tersebut dengan ini:
  <p><data:blogCommentMessage/><br/> <span class='emotlist' id='emotlist'>:) :( hihi :-) :D =D :-d ;( ;-( @-) :P :o -_- (o) :p :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (y) (f) x-) (k) (h) cheer lol rock angry @@ :ng pin poop :* :v 100</span></p>

Jika menemukan kode seperti ini:
  <p><data:blogCommentMessage/><br/>
<span class='small-button1'>
<span id='show-emo'><a class='emo-button' href='javascript:void(0)' onclick='document.getElementById(&apos;emo-box&apos;).style.display=&apos;inline-block&apos;;document.getElementById(&apos;hide-emo&apos;).style.display=&apos;inline-block&apos;;document.getElementById(&apos;show-emo&apos;).style.display=&apos;none&apos;' title='Show Emoticon'>Emoticon</a></span><span id='hide-emo'><a class='emo-button' href='javascript:void(0)' onclick='document.getElementById(&apos;emo-box&apos;).style.display=&apos;none&apos;;document.getElementById(&apos;hide-emo&apos;).style.display=&apos;none&apos;;document.getElementById(&apos;show-emo&apos;).style.display=&apos;inline-block&apos;' title='Hide Emoticon'>Emoticon</a></span>
</span>
  </p>
<div id='emo-box'>
  <div class='comment_emo_list'/>
</div>

Ganti juga kode tersebut dengan kode tadi.

Langkah 4
Saatnya memperbaiki tampilan/ukuran emoji/emoticonnya, dengan cara tambahkan CSS berikut ini di atas kode </style>
/* Emoticon for Comments */
img.comment_emo {vertical-align: middle !important;border: 0px !important;height: 20px !important;width: 20px !important;display: inline-block;cursor: text;margin:5px auto 0;text-align:center;padding:0;}
.commentWithEmot {border-radius: 3px;position: relative;text-align: center;}

Untuk hasilnya silahkan lihat Demo template RisenMagz pada link berikut.


Demikian tutorial kali ini, semoga bermanfaat.
Free and premium blogger templates