This Domain is available for sale contact pakdevelopers.com.pk@gmail.com

Automatic Related Post in Blogger

Automatic Related Post in Blogger


How To Add Auto Related Post Widget In Blogger Blog

Relevant publishing means automatic related posts in blogger helps to increase the number of views on our blog and also improves the SEO on the page. Now you don't even have to read the article manually if you use any blog on Blogger. Here we share a simple code that will automatically create a relevant link to a blog post with a stylish design. So let's start to do this woth simple steps

  • Open Blogger Dashboard
  • Now Go To The Theme Section
  • Open The HTML Editor Of Your Current Template
  • Press CTR + F Or Ctrl + F (In Mac OS) And A Search Bar Will Appear
  • Search For <Data:post.Body/>
  • Simply Copy Below Codes And Paste It Just Below Of <Data:post.Body/>
  • Save the template

<b:if cond='data:view.ispost'>
  <script> //<![cdata[
  // multiple related posts by P4Pakao.com
  (function() {
    var jumlah = 4;
    eval(function(p,a,c,k,e,d){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--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[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}('z i=["\\j\\v\\l\\s\\j\\e\\t\\l\\q\\x\\w\\t\\n\\14\\w\\j\\v\\l\\s\\j\\e\\t\\l\\q\\x\\w\\v","\\x\\f\\h\\n\\x\\d\\h\\k\\h\\a\\j\\l\\n\\t\\k\\k","\\k\\h\\m\\b\\j\\u","\\g\\n\\l\\u","\\q\\o\\l","\\a\\n\\h\\r\\j\\h\\k\\k\\h\\u\\h\\m\\j","\\a\\k\\r\\s\\s\\z\\r\\u\\h","\\o\\b\\m\\o\\h\\k\\m\\f\\k\\j\\o\\o\\h\\k\\r\\j\\h\\q","\\m\\l\\q\\h\\z\\r\\u\\h","\\p","\\o\\m\\s\\h\\n\\j\\r\\h\\g\\l\\n\\h","\\v\\r\\n\\h\\m\\j\\z\\l\\q\\h","\\m\\h\\n\\j\\d\\o\\t\\k\\o\\m\\b"];y p=i[i[1]](i[0]),a=c+1,b=p[i[2]]/a;c=v[i[3]]({w:c},(15,h)=>h+1);y(y d=0;d<c[i[2]];d++){y e=c[d],f=13((b*e)),g=i[i[5]](i[4]);g[i[6]]=i[7];s(p[f][i[8]]==i[9]){p[f][i[11]][i[10]](g,p[f])}q{p[f][i[11]][i[10]](g,p[f][i[12]])}}',62,68,'|||||||||||||||||x65|_0xe7e5|x74|x6c|x6f|x6e|x72|x69|post|x64|x61|x73|x62|x6d|x70|x20|x79|let|x4e|x63|x67|jumlah|x53|x2d|x75|x66|_0x67aex5|document|x2e|x45|x76|x4d|x78|x52|x50|else|x42|if|x41|x68|array|length|x71|for|var||||parseint|x2c|_0x67aex4'.split('|'),0,{}));
  })();
  eval(function(p,a,c,k,e,d){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--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[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}('a 9=["\\i\\c\\l\\l\\d\\c","\\c\\l\\d\\k\\h","\\x\\c\\c\\k","\\f\\d","\\d\\w\\d\\i\\c","\\i\\w\\l\\m","\\k\\c\\i","\\z\\i\\d\\c\\k\\l\\z\\d\\c","\\c\\k\\c\\x"];a n=o p();a m=0;a f=o p();t e(u){r(a b=0;b<u[9[2]][9[1]][9[0]];b++){a j=u[9[2]][9[1]][b];n[m]=j[9[4]][9[3]];r(a h=0;h<j[9[5]][9[0]];h++){s(j[9[5]][h][9[6]]==9[7]){f[m]=j[9[5]][h][9[8]];m++;i}}}}t g(){a e=o p(0);a g=o p(0);r(a b=0;b<f[9[0]];b++){s(!b(e,f[b])){e[9[0]]+=1;e[e[9[0]]-1]=f[b];g[9[0]]+=1;g[g[9[0]]-1]=n[b]}};n=g;f=e}t b(v,y){r(a q=0;q<v[9[0]];q++){s(v[q]==y){a d}};a j}',49,49,'|||||||||_0x6cd8|var|_0x941ax6|x65|x74|_0x941axa|relatedurls|_0x941axb|_0x941ax8|x6c|_0x941ax7|x72|x6e|relatedtitlesnum|relatedtitles|new|array|_0x941axf|for|if|function|_0x941ax5|_0x941axd|x69|x66|_0x941axe|x61|return|contains|x68|true|related_results_labels|x24|removerelatedduplicates|x79|break|false|x64|x67|x6b'.split('|'),0,{}));
  //]]> </script>
  <b:if cond='data:post.labels'>
    <b:loop values='data:post.labels' var='label'>
      <b:if cond='data:view.ispost'>
        <script expr:src='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=100&quot;'/>
      </b:if>
    </b:loop>
  </b:if>
  <script> //<![cdata[
    // multiple related posts by P4Pakao.com
    (function ignielmultirelated() {
      var text = 'also, read:';
      eval(function(p,a,c,k,e,d){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--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[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}('p b=["\\e\\f\\c\\b\\h\\e","\\o\\d\\c\\z\\q\\n","\\a\\e\\q\\q\\o","\\s\\n\\b\\c\\n\\f\\e\\c\\y\\e\\h\\n\\t\\f\\e\\d\\h\\f\\z","\\m\\y\\f\\o\\g\\h\\f\\e\\f\\p\\h\\q\\o\\l\\e\\e","\\n\\c\\c\\f\\o\\f\\v\\c\\i","\\k\\g\\m\\d\\c\\s\\p\\e\\d\\g\\g\\u\\j\\p\\q\\c\\h\\f\\c\\h\\j\\l\\k\\g\\m\\d\\c\\s\\p\\e\\d\\g\\g\\u\\j\\h\\f\\k\\h\\j\\l","\\k\\w\\g\\m\\d\\c\\l\\k\\d\\s\\e\\o\\f\\a\\u\\j","\\j\\s\\h\\n\\h\\e\\f\\u\\j","\\j\\l","\\k\\w\\d\\l\\k\\w\\g\\m\\d\\c\\l\\k\\g\\m\\d\\c\\s\\p\\e\\d\\g\\g\\u\\j\\n\\p\\q\\c\\j\\l\\k\\w\\g\\m\\d\\c\\l"];v r=d[b[2]]((t[b[0]]-1)*d[b[1]]());v i=0;v x=o[b[4]](b[3]);q(i<t[b[0]]&&i<x[b[0]]){r(v a=0;a<x[b[0]];a++){x[a][b[5]]=b[6]+w+b[7]+y[r]+b[8]+t[r]+b[9]+t[r]+b[u];j(r<t[b[0]]-1){r++}x{r=0};i++}}',61,61,'|||||||||||_0x2867|x6e|x61|x6c|x65|x73|x74||x22|x3c|x3e|x70|x69|x72|x63|x6f||x20|relatedtitles|x3d|let|x2f|jumlah|x75|x64|x66|x67|x4d|math|x68|x48|x79|x53|x4c|if|x78|x41|x71|x6d|document|var|while|for|x2e|x52|10|x54|text|else|relatedurls'.split('|'),0,{}));
    })();
  //]]> </script>
</b:if>

© P4Pakao. All rights reserved. Distributed by ASThemesWorld