Hide Full Posts, Create Post Summaries - Expandable
When I started blogging I found out that full posts are visible on first page. Now that does not looked good on my first page. How am I gonna hide full posts, create posts summaries and add a "Read more..." option in my blog?
Well by default, blogger doesn't provide one. So you have to make it yourself. So lets have a tutorial on it.
1. Go to Layout>Edit HTML and backup your template and expand it.
2. Find </head> and just bellow it add the following codes
3. Find <data:post.body/>
and just bellow it add the following;
4. Preview your template for errors and save it.
5. Go to Settings>Formatting and add the following codes
Write the first paragraph in "Begin your post" and the rest in "And here is the rest of it".
Note: There is a limitation to this Even if you want a "full view" for a particular post, the "Read more..." option will be still be there. It's upto you how to use it...
Try it! Working? Then Subscribe to Simple Blogger Tutorials.
Also see Adding Custom Favicon to Blogger.
Well by default, blogger doesn't provide one. So you have to make it yourself. So lets have a tutorial on it.
1. Go to Layout>Edit HTML and backup your template and expand it.
2. Find </head> and just bellow it add the following codes
<style>the style tags are necessary cause without these tags it will not work.
<b:if cond='data:blog.pageType == "item"'>
span.fullpost {display:inline;}
<b:else/>
span.fullpost {display:none;}
</b:if>
</style>
3. Find <data:post.body/>
and just bellow it add the following;
<b:if cond='data:blog.pageType != "item"'>You can change "Read more..." to your liking.
<a expr:href='data:post.url'>Read more...</a>
</b:if>
4. Preview your template for errors and save it.
5. Go to Settings>Formatting and add the following codes
Begin your postin "post template" and save it.
<span class="fullpost">And here is the rest of it.
</span>
Write the first paragraph in "Begin your post" and the rest in "And here is the rest of it".
Note: There is a limitation to this Even if you want a "full view" for a particular post, the "Read more..." option will be still be there. It's upto you how to use it...
Try it! Working? Then Subscribe to Simple Blogger Tutorials.
Also see Adding Custom Favicon to Blogger.