How To Remove Auto Read More Feature

Share this: Twitter Facebook Google+

In this tutorial I am going to explain how to remove "Auto Read More feature with Thumbnail".This method will not work with every blogger template.But this tutorial will help you to remove auto read more feature from many template you can download from here.

Before doing this change,I highly recommend to backup your blogger template first.

Login to your Blogger Dashboard --> Design --> Edit HTML.

Click on "Expand Widget Templates".

Now find below code in your template.(code can be change bit,according to your template.)

<p><script type='text/javascript'>
summary_noimg = 800;
summary_img = 650;
img_thumb_height = 150;
img_thumb_width = 200;
</script>
<script type='text/javascript'>
//<![CDATA[

function removeHtmlTag(strx,chop){
if(strx.indexOf("<")!=-1)
{
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
strx = s.join("");
}
chop = (chop < strx.length-1) ? chop : strx.length-2;
while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
strx = strx.substring(0,chop-1);
return strx+'...';
}

function createSummaryAndThumb(pID){
var div = document.getElementById(pID);
var imgtag = "";
var img = div.getElementsByTagName("img");
var summ = summary_noimg;
if(img.length>=1) {
imgtag = '<span style="float:left; padding:0px 10px 5px 0px;"><img src="'+img[0].src+'" width="'+img_thumb_width+'px" height="'+img_thumb_height+'px"/></span>';
summ = summary_img;
}

var summary = imgtag + '<div>' + removeHtmlTag(div.innerHTML,summ) + '</div>';
div.innerHTML = summary;
}

//]]>
</script>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<div expr:id='&quot;summary&quot; + data:post.id'><data:post.body/></div>
<script type='text/javascript'>createSummaryAndThumb(&quot;summary<data:post.id/>&quot;);</script>
<div><a expr:href='data:post.url'>Read more &#187;</a></div>
</b:if>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if>

<b:if cond='data:blog.pageType == &quot;static_page&quot;'><data:post.body/></b:if></p>

Now replace it with below code:

<p><data:post.body/></p>

Save your template.

Premium Blogger Themes

More Themes...

26 thoughts on “How To Remove Auto Read More Feature

  1. I spent 2 days messing around with other people's instructions but was able to do it within 2 minutes with yours.

    Thank you

  2. This was great! It removed the jump break, but it is still putting the words "Read More" at the bottom of each post. Any thoughts as to how to remove it?

  3. hi i thank you for the help,can you tell me how to keep the style same.. rather than wrapping the entire summary and also how to reduce the summary size?
    Please help me.
    thanks
    srikanth

  4. Lasantha Hello, I'm Spanish and I want to change the word "comments" by "comments" How do you do it? Thank you. Sorry if I write bad English

  5. Can someone please help me remove auto readmore for hubs theme?

    The code mentioned in this article is somewhat different than the one in this article. Please help :(

  6. I'm using this template: http://www.premiumbloggertemplates.com/search?q=rolinex&x=8&y=11

    I can't seem to figure out how to stop the auto read. Can you copy and paste into a comment the exact info I need to delete?

    Thanks!
    Rane

  7. can you help me? i want to make my own template...what must i do?

    if you can, please send your comment about that to my email
    :)
    Thank's B4

  8. I have the opositte problem , mi template use to have the auto read mor feature and somthing happened and it desarticuled, the issue is that i want it back . Somebaody knows how?

  9. OMG Thanks heaps!
    I have literally spent days (if not weeks) Googling this question and testing out different websites, but when I tried other websites, it wouldn't work.
    I am so glad I came across this website!
    IT ACTUALLY WORKS, even though I had to attempt it 2 times to finally find the correct codes.
    THANKS.

Leave a Reply

Your email address will not be published. Required fields are marked *