Hi friends create Create Expandable Post Summaries for your blog. This trick is very easy to adding on your blogger template , how we can add to our blog follow below simple step to adding on your blog today.
* First Go to your blogger dashboard .
*Click on Design tab.
* Edit html and expand your blogger template.
* Now find </head> with ctrl+f.
* Copy below code and paste it before </head> Tag.
<script language='javascript' src='http://pwam.googlecode.com/files/jquery-1.2.3.pack.js' type='text/javascript'/> <script language='javascript' src='http://pwam.googlecode.com/files/jquery.expander.js' type='text/javascript'/> <script type='text/javascript'> $(document).ready(function() { $('.excerpt').expander({ slicePoint: 280, // default is 100 expandText: '[...]', // default is 'read more...' }); }); </script>
* Again find with ctrl+f below code.
<div class='post-body entry-content'> <data:post.body/> <div style='clear: both;'/> <!-- clear for photos floats --> </div>
* Replace above code with below code......
<b:if cond='data:blog.pageType != "item"'> <div class='excerpt post-body entry-content'> <data:post.body/> <div style='clear: both;'/> <!-- clear for photos floats --> </div> <b:else/> <div class='post-body entry-content'> <data:post.body/> <div style='clear: both;'/> <!-- clear for photos floats --> </div> </b:if>
* And Save your blogger Temp;ate .
Now you are done refresh your blog.
0 Responses So Far: