Hello blogger friends wherever you are.This time ttcom will make an article about "Making Automatic readmore"
With the automatic readmore, we can determine how the height and width of a fragment of posts and image that will appear on the first page of our blog so it looks neat and attractive.
This trick may have been many who know and some that do not already know. For those of you who do not know how to make automatic readmore, can follow the tutorial below.
This trick may have been many who know and some that do not already know. For those of you who do not know how to make automatic readmore, can follow the tutorial below.
- Please log into your blogger acount and then select the Edit Html, do not forget to tick marks on the reading "Expand Widget Templates"
- Then find the code </head> then enter the following script right under the code.
<script type='text/javascript'> var thumbnail_mode = &quot;no-float&quot; ; summary_noimg = 430; summary_img = 340; img_thumb_height = 100; img_thumb_width = 120; </script> <script src='http://rizqi.moehamed.googlepages.com/read-moreotomatis.js' type='text/javascript'/>
- Find the following html code:
<data:post.body/> atau <p><data:post.body/></p>
- Replace the code with the code below:
<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>
<span class='rmlink' style='float:right;padding-top:20px;'>
<a expr:href='data:post.url'>&#187;&#187;&#160;&#160;READMORE...</a></span>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if>- # Description: The red writing is that you can change.
==> 430 = high noimg Summary severed articles without image
==> 430 = high img Summar severed article with image
==> Readmore can you replace with Read More, a full read etc ...
- THIRD, click save template
Next, you can make postings and see the results, or read more Readmore will automatically installed after you publish news.