Jumat, 22 April 2011

how to create read more in blog

Usually the most recent postings will be displayed on the main blog. But if you post too long then it will make a full main page. If you wish to post your main page is displayed just the main course then there is a Read More link to see the whole so follow these steps:
1. Go to the Layout menu and then select Edit HTML
2. check the "expand widget templates"
3. Find the following code in your blog template (for easier use ctrl + f)

<p><data:post.body/></p>
4. If you have found, Replace the code that code be like this:
<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 edit.
6. Then select the Settings and select the Formatting
7. In the Post Template box enter the following code:
<span class="fullpost">


</span>

8. Then Save.
9. When you post, there are 2 tab option "Compose" and "Edit Html", select the "Edit HTML", then the code will automatically appear as follows:
<span class="fullpost">


</span>

10. Place posts that will be shown the main page (before writing "Redmore") above this code: <span class="fullpost"> remainder of posts put in between the code <span class="fullpost"> and </span>
good luck....!!!!!!!!!

related articles



0 komentar:

Posting Komentar

pine2.blogspot.com