Read More Script

Diposting oleh Buku Jagoan

This code is used to cut our posting, and appear fully when we click Read More or More Link. This script will automatically cut our post and make a thumbnail when we insert image.
Follow this step :
1. Go to "Layout" click "Edit HTML"
2. Click box "Expand Widget Templates"
3. Press Ctrl + F (I used Firefox) and then type  <data:post.body>
4. If  found replace with this code :

<script type="text/javascript">

          summary_noimg = 430;
          summary_img = 340;
          img_thumb_height = 100;
          img_thumb_width = 120;
          <script src="" type="text/javascript">
          <b:if cond='data:blog.pageType != &quot;item&quot;'>
          <div expr:id='&quot;summary&quot; +'>

          <script type='text/javascript'>createSummaryAndThumb(&quot;summary<>&quot;);
          <span style="float: right;"><a expr:href="data:post.url" href="">Read more</a></span>
          <b:if cond="data:blog.pageType == &quot;item&quot;"><data:post.body></data:post.body>

5. Save

Source :

{ 1 komentar... read them below or add one }

warung ilmu mengatakan...

maybe this is would help to complete it

Posting Komentar

Related Posts with Thumbnails