There is a reader of this blog who asked Kang Rohman on how to make a Related Post Widget in blogger. Well…can we make it? Don't worry because I can make it for you and it is easy.
There are some advantages by adding related post widget in our blog; the readers will be able to find the articles that relate to the article they reading and it also gives an advantage for the blow owner because the readers can stay in the blog longer. If you are interested in adding that widget, just read the guide below;
- Log in into blogger with your ID
- Click Layout
- Click EDIT HTML tab
- Click Download Full template. Please back up your template first
- Please download the script first
- Give a mark next to Expand Widget Templates and wait for a few seconds until the process is over.
- Find the code below (focus on red code):
<div class='post-body entry-content'>
<data:post.body/>
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>
- Copy and paste the script you have downloaded right under the code <data:post.body/>
- Click SAVE TEMPLATE
- Finish and check the result
- Log in into blogger with your ID
- Click Layout
- Click EDIT HTML tab
- Click Download Full template. Please back up your template first
- Please download the script first
- Give a mark next to Expand Widget Templates and wait for a few seconds until the process is over.
- Find the code below (focus on red code): :
<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>
- Copy the script you have downloaded, then paste you see below :
<b:if cond='data:blog.pageType == "item"'>
<style>.fullpost{display:inline;}</style>
<p><data:post.body/></p>
Paste Your Script here!
<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>
- Click SAVE TEMPLATE
- Finish and check the result
Tidak ada komentar:
Posting Komentar