EXPANDABLE POST SUMMARIES
Expandable Post Summaries is a method by which each blog post consists of a short paragraph of introduction followed by a 'Read More' link. This enables the reader to get a small introduction to each post on the main page. He can then click the Read More link if he interested.
3 Steps To Implement Expandable Post Sumarries (New Layouts Template)
The First Step to do is by Login To Dashboard and Click Layout for your blog. Then Click Edit HTML. Before you start editing your Layout HTML, make sure you've BACKUP YOUR TEMPLATE by using The Download Full Template Link. Then Check The Expandable Widget Template Button. and Don't Forget To Save Template Often
1. Conditional CSS
The first step on The Edit HTML Tab is to Find The </head> Tag, and then Add Following Code just Before The Tag.
The First Step to do is by Login To Dashboard and Click Layout for your blog. Then Click Edit HTML. Before you start editing your Layout HTML, make sure you've BACKUP YOUR TEMPLATE by using The Download Full Template Link. Then Check The Expandable Widget Template Button. and Don't Forget To Save Template Often
1. Conditional CSS
The first step on The Edit HTML Tab is to Find The </head> Tag, and then Add Following Code just Before The Tag.
span.fullpost {display:inline;}
span.fullpost {display:none;}
span.fullpost {display:inline;}
span.fullpost {display:none;}
span.fullpost {display:inline;}
span.fullpost {display:none;}
<style><b:if cond='data:blog.pageType == "item"'>
span.fullpost {display:inline;}
<b:else/>
span.fullpost {display:none;}
</b:if></style>
Don't forget to Save The Template. What we did here was to define a class called "fullpost" that will appear only on post pages (permalinks).
2. "Read More" Links
The Second Step is to Add The Read More Links which will appear after the paragraph summaries. On The Edit HTML Tab, just Scroll Down till you came to Blog Post Widget Code, which's usually located Around The Middle Of The Page :
<b:if cond='data:blog.pageType != "item"'>
<a expr:href='data:post.url' target='_blank'>Read more!</a>
</b:if>
3. Posting Modification - Modify Your Blog
Replace The Line "Here is the beginning of my post." with your Summary Paragraph. Then Replace The Line "And here is the rest of it." with The Rest of Your Post. Don't delete the other lines and don't add your summary paragraph above both the lines and your rest of the post between the lines. Then click Publish to publish post.
*. THE ADVANTAGES OF THIS METHOD
No comments:
Post a Comment