Hiding linked within widget from homepage

Link Within is a free and very useful widget for bloggers.

It displays related posts at the end of every post. It is also advisable to add it your blog as it also creates internal links to posts in your blog.
If you add it as widget from layout option in blogger or directly from linked within site. It will appear in homepage, which is annoying for the homepage.
So lets tweak it so that it displays only when the post is opened up fully by clicking read more.
  • First edit source of your blog.
  • Go to design your dashboard settings of your blog.
  • In template tab click edit html and proceed.
  • Find below code in the source code using CTRL+F (Take a backup of your html template before making any changes)

</body>

  • Right before above code, paste below code

<b:if cond=’data:blog.pageType == “item”‘>
PASTE HERE
</b:if>

  • Now create a new Link Within widget. Go to the site or hereĀ Link Within open it in a new window or tab.
  • Fill out the form. This is Important: on the Platform select Other don’t select blogger even if your blog is in blogger. Then Submit.
  • Copy the script/code.
  • Now go back to your template and paste the code replacing the PASTE HERE. Save your template and your done. Go check your home page.
  • That’s it! now linked within will only appear only when whole post is opened for reading and not in the homepage
This entry was posted in Blogger Guides. Bookmark the permalink.