How to add Read More on Blogger

This is a step by step tutorial on how to add "Read More" on your blog with blogger.

First, go to your Layout > Edit HTML here you can edit your HTML of your blog. Make sure to check the box on Expand Widgets Templates

Second, find this following code on your HTML do a seach ( CTRL+F ) post-header-line-1 if you cant find this try looking for <data:post.body>


Add the following code below the <div class=’post-header-line-1′/> and <div class=’post-header-line’> tags if you’ve got both.

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


Third, now let's add one more bit of code which will actually create the “read more” link in your post. This code will go below the <data:post.body/> tag so copy the following and paste it in. Feel free to change the “Read more…” text to whatever you want the link to look like. Be careful not to delete any other code during this process.

<b:if cond='data:blog.pageType != "item"'><br />
<a expr:href='data:post.url'>Read more...</a>
</b:if>
</b:if>


Finally, for this step, you need to navigate in your Blogger account to “Settings” => “Formatting” and scroll all the way down to the bottom. It’s the last option called “Post Template”. You’re going to paste in the following code:

<span class="fullpost">

</span>


Now, creat a new post when you click on the “Posting” tab, you’ll notice that the post text area is now pre-populated with the <span class=”fullpost”> and </span> tags.

0 comments


Mothers Rings for Valentine's Day

Nifty Widgets

Nifty Widgets

Blogs/Websites