To create expandable article summary you will need to copy these code below and paste it to your blog html.
Copy and past this code between <style> and </style>
<style> </style><b:if cond='data:blog.pageType == "item"'>
span.fullpost {display:inline;}
<b:else/>
span.fullpost {display:none;}
</b:if>
span.fullpost {display:inline;}
<b:else/>
span.fullpost {display:none;}
</b:if>
To search <style> and </style> quickly press Ctrl and F at the same time.
If you cannot find <style> and </style>
add <style> to the beginning of the code and </style> at the end of the code.Copy it after <body>
Now find this code <data:post.body/>
Copy this code below the code above
<b:if cond='data:blog.pageType != "item"'><br />
<a expr:href='data:post.url'>Read more</a>
</b:if>
After copying go to your post and add this code <span class="fullpost"></span>
Example:
I love http://easyblogtutorials.blogspot.com/.<span class="fullpost">It helps me a lot.</span>
http://easyblogtutorials.blogspot.com
0 comments:
Post a Comment