Discussions

As we know that now Blogger has supported the function to cut off the article or known as Read more function. But recently, the automatic Read more is more popular because the automatic Read more will cut off the posts automatically without doing anything.

If you want your blog has the automatic Read more function, you can follow the easy steps below. Even Kang Rohman has discussed it previously in another blog, at blogtemplate4u.

The following are the steps:



1. Login to blogger with your ID.
2. Click Layout
3. Click Edit HTML
4. Click Download Full Template and backup your template to anticipate if error occurs.
5. Tick the small box beside the words Expand Widget Templates.

expand-widget-templates
6. Copy and paste the JavaScript below exactly above the code

var thumbnail_mode = "no-float" ; summary_noimg = 430; summary_img = 340; img_thumb_height = 100; img_thumb_width = 120;

//=1) {
imgtag = '';
summ = summary_img;
}
var summary = imgtag + '' + removeHtmlTag(div.innerHTML,summ) + '';
div.innerHTML = summary;
}
//]]>





Or you can download this script: download




7. Find the code on your template (tips: press Ctrl + F on your keyboard then write and hit Enter).


8. Remove the code and change with the code below:








createSummaryAndThumb("summary");


»»  read more







9. Click SAVE TEMPLATE.


10. Done



By installing the script, your posts will be cut off automatically by the Read more function. Something interesting from this script is that it will create a thumbnail from the image that you include in your post.


In additional, you can adjust the value of the code below to fit your posts height.


summary noimg= 430 – the height of article’s cutting without image

summary img=340 – the height of article’s cutting with image





Enjoy!


for further tips visit : bloggingtutorial-aio.blogspot.com

Reply

User Comments

  1. fazrul
    Yes,i'm using this script from kang rohman in one of my blog! (news & events)..its really great to cut off some space..and its beautiful as well..thanks to kang rohman!!
  2. rajkg
    thnx for ur comments
  3. BPWebNews
    Although this automatic method sounds great, I like the control of setting the jump where I want. My homepage summary is in one column so there is no need to standardize the excerpt's length.

    As a prompt I have a reminder in the post summary (preformatted text that goes to the end of each new post).

    Does the automatic method work for older posts or do you have to go back and change them?
  4. nirav07
    This One Seems To Be Complicated And Too Ugly
    Check Out Here
    iblogerz.blogspot.com/2009/10/automatic-read-more-hack-with-thumbnail.html

Add Your Comment

Login to leave a message.

  • Recent Readers

    • SoftwareGal
    • rajkrishnaj
    • marxxizm
    • fazrul
    • nirav07
    • BPWebNews
    • RichWealthSecrets
    • rajkg
    • agbc
    • wagerwitch
    • time2getdown
    • polybore
    • brianomaracroft
    • crpitt
    • Fafablog
    • meamwye
    • amybyrd21
  • Discussion Search

  • Subscribe via Email