How To Setup LinkWithin On Individual Post Only

credit
When I tried to change my template, one biggest problem appears. The LinkWithin widget shows on my homepage and it destroyed the looks!

I figured it out that I must remove it from my homepage and setting it just on my individual posts. Here is the instruction for Blogger:

  1. Copy the LinkWithin code to Notepad and Remove your LinkWithin at Page Element Blogger
  2. Go to Template > Edit HTML
  3. Find </body> and put this code below before </body> tag. Change YOUR linkwithin ID from ID in your notepad (step 1)




  1. <b:if cond='data:blog.pageType == "item"'>  
  2. <script>  
  3. var linkwithin_site_id = YOUR linkwithin ID;  
  4. </script>  
  5. <script src="http://www.linkwithin.com/widget.js"></script>  
  6. <a href="http://www.linkwithin.com/"><img src="http://www.linkwithin.com/pixel.png" alt="Related Posts Plugin for WordPress, Blogger..." style="border: 0" /></a>  
  7. </b:if>  




Hope this usefull for you! Tell me if something not working!

post signature

Komentar

Postingan Populer