You like that "auto Read more" , but you don't like the thumbnails shown at each post, oh it makes you dizzy.
Now you don't need to worry , because you will get the new Read more with the similar features that you don't have any thing else.The only difference is no thumbnail.
Log in your blogger account , go to Edit HTML ( should back up your template) > choose Expand Widget Tempate , then look for the code <data:post.body/> ( press Ctrl F or find it each line , up to you)
Replace it by this whole code :
<b:if cond='data:blog.pageType != "item"'>
<div expr:id='"summary" + data:post.id'/>
<script type='text/javascript'>
var blogID = "937920098338306331";
function retriveSummaryPost<data:post.id/>(json){document.getElementById("summary<data:post.id/>").innerHTML
= json.entry.summary.$t + "..."}
function createSummaryPost<data:post.id/>(POSTID){ var script =
document.createElement("script");
script.src = "http://www.blogger.com/feeds/"+blogID+"/posts/summary/"+POSTID+"?alt=json-in-script&callback=retriveSummaryPost<data:post.id/>";
script.type = "text/javascript"; document.getElementsByTagName('head')[0].appendChild(script);
}
</script>
<script type='text/javascript'>
createSummaryPost<data:post.id/>("<data:post.id/>");
</script>
<span class='rmlink' style='float:right'><a expr:href='data:post.url'>-->Read more...</a></span>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<div id='post_body'><data:post.body/></div>
</b:if>
Look for the red code, that is the number of your blogID, if you don't know how to get your blogID , click here to view the instruction.
Note: If you can not find the code <data:post.body> because you have changed your template source many times, so try with the last <data:post.body> as you see.
If you have any problem please leave me a comment below , I will help you.
Follow me on Twitter now or subscribe me now to get the great tips for blogger everyday , don't leave them.
Thanks very much.
Zen
9 comments:
thanks thanks thanks . . the best post about read more hack on blogger..
can i modified that?
@Belajar SEO Para Pemula
Of course you can.
"If you can not find the code because you have changed your template source many times, so try with the last as you see"
Hello..
Hi..Zen..I'm Ieda..
I really like ur tutorial
about auto read more button..
I've tried for a few time to
apply it into my blog but the problem here,i cant find the data:post.body html code in my 'edit html' templates..
Maybe I did too many changes for my templates
so i cant find the data:post:body
code there..Could u plz teach me how to
put a read more button into my blog..
I hope U can help me to solve the problem..
Thanks a lot..
♥ ieda ♥
Every template has at least 1 "data:post:body", if you cannot find them,i assure you have modified uncountable times and they were deleted:),perhaps your template does not have that code because that template is not designed completely.
So the solution is :
-Try to work with the similar code to <data:post.body> as I wrote above such as data:post.body,<data:post.body/>..
i found two(2) in my html. which 1 should i replace with the code?
how to setting height of post ?
Ane pake cara yang satu ini gan, makasih..
Hello,
I would like to ask why all my pages have buttons of read more. Like my "About page" "Contact us". I only wanted to have a readmore on the articles
Post a Comment
Thanks for reading , if you have any problem please leave me a comment here I will help you by my best.Please note that you put the friendly words tohelp each other to improving and developing these tips to be better,or the best way for you to track my blog is subscribing my Feed.You are always welcome on Zenplate.
Best regard
Zen