The Only Also Read Guide You’ll Ever Need In Blogger


The Only Also Read Guide You’ll Ever Need In Blogger

Here we are going to add also read in the middle of the post

So, in this blog post, we are going to discuss about – user also read this so what will be the advantages of this one

it will show the relevant articles to the users in the middle of the post which will increase pageviews session and also results in the increase of audience reaction which will google consider a healthy website so here it was the not website but a blog can be also recognized as a website by the google and moreover blogger was the google product and also here is one of the different advantages we can all thematically increase our ad revenue by the AdSense which may result in the fulfilling our pockets

and moreover, the important thing is this feature will work based on the labels so I want to share and another important video for you in the last of this blog post


In this first step, we are going to add the head tag

Search for </head> and Paste the Below code on top of

<b:if cond=’data:blog.pageType != &quot;index&quot;’>

<script type=’text/javascript’>


// Related Post Inline

var relatedSimply = new Array(); var relatedSimplyNum = 0; var relatedUrls = new Array(); function related_results_labels(json) { for (var i = 0; i < json.feed.entry.length; i++) { var entry = json.feed.entry[i]; relatedSimply[relatedSimplyNum] = entry.title.$t; for (var k = 0; k <; k++) { if ([k].rel == ‘alternate’) {relatedUrls[relatedSimplyNum] =[k].href; relatedSimplyNum++; break;}}}} function removeRelatedDuplicates() { var tmp = new Array(0); var tmp2 = new Array(0); for(var i = 0; i < relatedUrls.length; i++) { if(!contains(tmp, relatedUrls[i])) { tmp.length += 1; tmp[tmp.length – 1] = relatedUrls[i]; tmp2.length += 1; tmp2[tmp2.length – 1] = relatedSimply[i];}} relatedSimply = tmp2; relatedUrls = tmp;} function contains(a, e) { for(var j = 0; j < a.length; j++) if (a[j]==e) return true; return false;} function printRelatedLabels() { var r = Math.floor((relatedSimply.length – 1) * Math.random()); var i = 0; document.write(‘<ul>’); while (i < relatedSimply.length && i < 20) { document.write(‘<li><a href=”‘ + relatedUrls[r] + ‘”>’ + relatedSimply[r] + ‘</a></li>’); if (r < relatedSimply.length – 1) { r++; } else { r = 0;} i++;} document.write(‘</ul>’);}





Replacing text

We have to search <data:post.body/> for And Replace it with the Below code.

<div expr:id=’&quot;post1&quot; +’/>

      <div class=’related-simplify’>

         <b:if cond=’data:post.labels’>

         <b:loop values=’data:post.labels’ var=’label’>

         <b:if cond=’data:blog.pageType == &quot;item&quot;’>

            <script expr:src=’&quot;/feeds/posts/default/-/&quot; + + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5&quot;’ type=’text/javascript’/>





               <h4>Also Read</h4>

               <script type=’text/javascript’>






      <div expr:id=’&quot;post2&quot; +’><p><data:post.body/></p></div>

      <script type=’text/javascript’>

         var obj0=document.getElementById(&quot;post1<>&quot;);

         var obj1=document.getElementById(&quot;post2<>&quot;);

         var s=obj1.innerHTML;

         var t=s.substr(0,s.length/2);

         var r=t.lastIndexOf(&quot;&lt;br&gt;&quot;);

         if(r&gt;0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+4);}


That’s It We Have Done And You Can Check The Post In Your Blogger Blog And There You Go And Last But Not Least Subscribe To My 3 Channels In YouTube For More Updates Here Is The Link PRAWINTECH RMPCREATIONS And Also ALLTROTV

Leave a comment