Friday, March 13, 2009

Make "Readmore" in Your Blog

Typically posting will be showing the latest posted on the main blog. However, if you post too long, then it will make a full front page. If you want to post that you posted on the main display only some of the stories,course then there is a link Read More / Read More to see more then follow the following steps:

1. Open the Layout menu and then select Edit HTML.
2. CheckList expand widget template
3. Find the following code in your blog template (place approximately on 1 / 4 the lower part of the code hmtl):

<p><data:post.body/></p>


4. If you found it, change the code with

<b:if cond='data:blog.pageType == "item"'>
<style>.fullpost{display:inline;}</style>
<p><data:post.body/></p>
<b:else/>
<style>.fullpost{display:none;}</style>

<p><data:post.body/></p>

<a expr:href='data:post.url'>Read More......</a>
</b:if>


5. Save the results.
6. Then select the Settings menu and select Formatting
7. In the Post Template box fill in the following code:

<span class="fullpost">


</span>


8. Then Save.
9. When you want to make a post, there are 2 choices "Compose" and "Edit Html", select the "Edit HTML", then automatically the code will look like the following:

<span class="fullpost">


</span>


10. Put the article that will be displayed in main page (before any posts "Redmore") above this code: <span class="fullpost"> while the rest of the post in place between the code and <span class="fullpost"> </ span >

No comments:

Post a Comment