Skip to main content
MOM AND BABY

follow us

Gambar Related Posts LinkMagz Blur/Buram? Ini Dia Solusinya

Bagi pengguna tema linkmagz versi terbaru dari mas suggeng pasti mengalami gambar related posts buram atau tidak terlihat jelas. Sebenarnya ada masalah ini bisa diatasi dengan mengganti versi update terbaru yang dapat diunduh di member area. Namun jika anda ingin mengubahnya tanpa harus memasang kembali tema linkmagz, maka tidak ada salahnya untuk menggunakan cara manual seperti yang ada pada postingan ini.

Baik, berikut ini langkah-langkah yang mesti anda lakukan.

  • masuk pada tampilan dasbord blog sobat
  • pilih tema
  • pada bagian sesuaikan, silakan pilih mode edit html

Pada Mode edit HTML TEMA LINKMAGZ. Silakan cari kode: // related post js http://www.dte.web.id, kemudian ganti dengan salah satu kode yang ada di bawah ini sesuai dengan versi tema linkmagz sobat.

Spoiler:

Hint

// related post js http://www.dte.web.id
!function(){var v={relatedTitleOuterOpen:'<div class="related-title"><p class="ms-title">',relatedTitleOuterClose:"</p></div>",relatedTitleText:"Artikel Terkait",thumbWidth:192,thumbHeight:108,imgBlank:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAJCAYAAAA7KqwyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAD6AAAA+gBtXtSawAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAYSURBVCiRY0xISOBgoAAwUaJ51IBhYwAAuQABOsYCprwAAAAASUVORK5CYII=",relatedOuter:"ms-related-post"};for(var e in relatedConfig)"undefined"!=relatedConfig[e]&&(v[e]=relatedConfig[e]);var B={relatedPosts:!0,jumlahRelatedPosts:4,relatedPostsThumb:!0,judulRelatedPosts:v.relatedTitleText,relatedPostsNoThumbImg:"//1.bp.blogspot.com/-sLMytth04W8/XtoBMx9lUjI/AAAAAAAAHmM/zK-toM5XTacePvBHnpIO_tfzjg63BD3ZgCK4BGAsYHg/w192-h108-n-k-no-nu/nomage%2B%25281%2529.png"};optionLinkMagz(B);function a(e){var t=document.createElement("script");t.src=e,document.getElementsByTagName("head")[0].appendChild(t)}function P(e){var t,l,a=e.length;if(0===a)return!1;for(;--a;)t=Math.floor(Math.random()*(a+1)),l=e[a],e[a]=e[t],e[t]=l;return e}if("object"==typeof postLabels&&0<postLabels.length)var s="/-/"+P(postLabels)[0];else s="";msRelatedPosts=function(e){var t,l,a,s,r,d,o,i,n,A=v.relatedTitleOuterOpen+B.judulRelatedPosts+v.relatedTitleOuterClose,m=document.getElementById(v.relatedOuter),u=P(e.feed.entry);A+=1==B.relatedPostsThumb?'<ul class="ms-related-hasthumb">':'<ul class="ms-related-nothumb">';for(var h=0;h<u.length;h++)for(var c=0,g=u[h].link.length;c<g;c++)u[h].link[c].href==v.postUrl&&u.splice(h,1);if(0<u.length){for(var f=0;f<B.jumlahRelatedPosts&&f<u.length;f++){l=u[f].title.$t,void 0!==u[f].content&&(r=(s=u[f].content.$t).indexOf("<img",0));function p(e) { if(e.search("blogger.googleusercontent.com") < 0) { a = e.replace(/.*?:\/\//g, "//").replace(/(\/s[0-9]+(\-c)?|\/w[0-9]+(\-h)[0-9]+()?|\/d)+(\/)/, "/w" + v.thumbWidth + "-h" + v.thumbHeight + "-c/"); }else{ a = e.split("=")[0]+"=w" + v.thumbWidth + "-h" + v.thumbHeight + "-c"; }}"media$thumbnail"in u[f]?p(u[f].media$thumbnail.url):void 0!==r&&-1!==r?(d=s.indexOf("/>",r),i=(o=s.slice(r,d)).indexOf("src=",0)+5,n=o.indexOf('"',i),p(o.slice(i,n))):a=B.relatedPostsNoThumbImg;var b=0;for(g=u[f].link.length;b<g;b++)t="alternate"==u[f].link[b].rel?u[f].link[b].href:"#";A+='<li><a title="'+l+'" href="'+t+'">'+(1==B.relatedPostsThumb?'<div class="related-thumb-outer"><img alt="'+l+'" class="related-thumb" src="'+a+'" width="'+v.thumbWidth+'" height="'+v.thumbHeight+'"></div>':"")+('<div class="related-title-outer">'+l+"</div>")+"</a></li>"}1==B.relatedPosts&&(m.innerHTML=A+="</ul>")}},msRandomIndex=function(e){var t=e.feed.openSearch$totalResults.$t-(B.jumlahRelatedPosts+1),l=1<t?1+Math.floor(Math.random()*t):1;a(v.homePageUrl.replace(/\/$/,"")+"/feeds/posts/default"+s+"?alt=json-in-script&orderby=updated&start-index="+l+"&max-results="+(B.jumlahRelatedPosts+1)+"&callback=msRelatedPosts")},a(v.homePageUrl.replace(/\/$/,"")+"/feeds/posts/summary"+s+"?alt=json-in-script&orderby=updated&max-results=0&callback=msRandomIndex")}();

Jika blog anda menggunakan tema Linkmagz v3.1, silakan gunakan kode di bawah ini.

Spoiler:

Hint

// related post js http://www.dte.web.id
!function(){var e,b={relatedTitleOuterOpen:'<div class="related-title"><p class="ms-title">',relatedTitleOuterClose:"</p></div>",relatedTitleText:"Artikel Terkait",thumbWidth:192,thumbHeight:108,imgBlank:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAJCAYAAAA7KqwyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAD6AAAA+gBtXtSawAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAYSURBVCiRY0xISOBgoAAwUaJ51IBhYwAAuQABOsYCprwAAAAASUVORK5CYII=",relatedOuter:"ms-related-post"};for(e in relatedConfig)"undefined"!=relatedConfig[e]&&(b[e]=relatedConfig[e]);var v={relatedPosts:!0,jumlahRelatedPosts:4,relatedPostsThumb:!0,judulRelatedPosts:b.relatedTitleText,relatedPostsNoThumbImg:"//1.bp.blogspot.com/-sLMytth04W8/XtoBMx9lUjI/AAAAAAAAHmM/zK-toM5XTacePvBHnpIO_tfzjg63BD3ZgCK4BGAsYHg/w192-h108-n-k-no-nu-rw/nomage%2B%25281%2529.png"};optionLinkMagz(v);function t(e){var t=document.createElement("script");t.src=e,document.getElementsByTagName("head")[0].appendChild(t)}function B(e){var t,l,a=e.length;if(0===a)return!1;for(;--a;)t=Math.floor(Math.random()*(a+1)),l=e[a],e[a]=e[t],e[t]=l;return e}var l="object"==typeof postLabels&&0<postLabels.length?"/-/"+B(postLabels)[0]:"";l=l.replace("&amp;","&"),msRelatedPosts=function(e){var t,l,a,s,r,d,o,n,i=b.relatedTitleOuterOpen+v.judulRelatedPosts+b.relatedTitleOuterClose,A=document.getElementById(b.relatedOuter),m=B(e.feed.entry);i+=1==v.relatedPostsThumb?'<ul class="ms-related-hasthumb">':'<ul class="ms-related-nothumb">';for(var u=0;u<m.length;u++)for(var h=0,c=m[u].link.length;h<c;h++)m[u].link[h].href==b.postUrl&&m.splice(u,1);if(0<m.length){for(var g=0;g<v.jumlahRelatedPosts&&g<m.length;g++){l=m[g].title.$t,void 0!==m[g].content&&(r=(s=m[g].content.$t).indexOf("<img",0));function f(e){if (e.search("blogger.googleusercontent.com") < 0) {a=e.replace(/.*?:\/\//g,"//").replace(/s72-(c|.*?-c)/,"w"+b.thumbWidth+"-h"+b.thumbHeight+"-c-rw")}else{a = e.split("=")[0]+"=w" + v.thumbWidth + "-h" + v.thumbHeight + "-c-rw";}}"media$thumbnail"in m[g]?f(m[g].media$thumbnail.url):void 0!==r&&-1!==r?(n=s.indexOf("/>",r),o=(d=s.slice(r,n)).indexOf("src=",0)+5,n=d.indexOf('"',o),f(d.slice(o,n))):a=v.relatedPostsNoThumbImg;for(var p=0,c=m[g].link.length;p<c;p++)t="alternate"==m[g].link[p].rel?m[g].link[p].href:"#";i+='<li><a title="'+l+'" href="'+t+'">'+(1==v.relatedPostsThumb?'<div class="related-thumb-outer"><img alt="'+l+'" class="related-thumb" src="'+a+'" width="'+b.thumbWidth+'" height="'+b.thumbHeight+'"></div>':"")+('<div class="related-title-outer">'+l+"</div>")+"</a></li>"}1==v.relatedPosts&&(A.innerHTML=i+="</ul>")}},msRandomIndex=function(e){e=e.feed.openSearch$totalResults.$t-(v.jumlahRelatedPosts+1),e=1<e?1+Math.floor(Math.random()*e):1;t(b.homePageUrl.replace(/\/$/,"")+"/feeds/posts/default"+l+"?alt=json-in-script&orderby=updated&start-index="+e+"&max-results="+(v.jumlahRelatedPosts+1)+"&callback=msRelatedPosts")},t(b.homePageUrl.replace(/\/$/,"")+"/feeds/posts/summary"+l+"?alt=json-in-script&orderby=updated&max-results=0&callback=msRandomIndex")}();

Nah, demikianlah postingan singkat mengenai bagaimana cara mengatasi gambar related posts tema linkmagz yang blur atau buram. Semoga dapat bermanfaat dan selamat mencoba.

MUNGKIN KAMU SUKA ARTIKEL INI

Comment Policy: Silahkan tulis komentar Anda yang sesuai dengan topik postingan halaman ini. Komentar yang berisi tautan tidak akan ditampilkan sebelum disetujui. Untuk komentar out of topics silahkan masuk ke Forum
Buka Komentar