To make the function of Read More is not too difficult, you only need to add a few code at read more code that you have ever made before in your template. Here are the steps, in my previous tutorial; Kang Rohman gave a code 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/>
<a expr:href='data:post.url'><strong>Read more...</strong></a></p>
</b:if>
Erase the code above and change with the code below:
<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>
<strong><a expr:href='data:post.url'>Continue reading “<data:post.title/>”  »» </a></strong>
</b:if>
Don’t forget to click SAVE TEMPLATES.
Now, see the result! The function of Read More will always have the title of your article, too.
Good Luck!
No comments:
Post a Comment