How To Add Releated Post Widget to Blog | Blogger | Softwares | Androids

8/09/2015

How To Add Releated Post Widget to Blog



Someone visit to your blog/site.He/She open a post.So for users you should add a widget which shows releated data to that post.It is a way to get more visitors or get more traffic or most pageviews.How? Lets someone visit your site,after reading a article(e.g) may be he/she  also visit releated posts.So you will get more and more page views.







Now it is very easy method to add it in your site. 



------------------------------------------------------------------------------------------------------------
How To Add Releated Post Widget to Blog:
------------------------------------------------------------------------------------------------------------

  • Go to Blogger.Login you account.
  • In DashBoard section go to Template>>Edit HTML.
  • Now find below code by CTRL+F.
</head>

  • After finding this code Paste below code above it. 
<!-- remove --><b:if cond='data:blog.pageType == &quot;item&quot;'> <style type='text/css'> #related-posts { float:center; text-transform:none; height:100%; min-height:100%; padding-top:5px; padding-left:5px; } #related-posts h2{ font-size: 18px; letter-spacing: 2px; font-weight: bold; text-transform: none; color: #5D5D5D; font-family: Arial Narrow; margin-bottom: 0.75em; margin-top: 0em; padding-top: 0em; } #related-posts a{ border-right: 1px dotted #DDDDDD; color:#5D5D5D; } #related-posts a:hover{ color:black; background-color:#EDEDEF; } </style> <script type='text/javascript'> var defaultnoimage=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHI7gkJWgfLDrDWUOp11fKNrB8OAhy3hNJKuqJz0C4d-PCa0oe8cCKxFEysb8lAV5MPr10zDFwHVrzuXAPlmvwKY34ZIazrJnVcDhK_8L0G20rEI-fkdTG_HKMvxXDXhIibIaIY_s6iASP/s1600/no_image.jpg&quot;; var maxresults=4; var splittercolor=&quot;#DDDDDD&quot;; var relatedpoststitle=&quot;Related Posts&quot;; </script> <script src='http://helplogger.googlecode.com/svn/trunk/related-posts-with-big-thumbnails.js' type='text/javascript'/> <!-- remove --></b:if> 
  • Note:  If you want to show more than 4 posts Replace it with your ownone.
  •  Now find below code.


<div class='post-footer'> 

  • After finding this paste below code above it. 
<!-- remove --><b:if cond='data:blog.pageType == &quot;item&quot;'> <div id='related-posts'> <b:loop values='data:post.labels' var='label'> <b:if cond='data:label.isLast != &quot;true&quot;'> </b:if> <script expr:src='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels_thumbs&amp;max-results=4&quot;' type='text/javascript'/></b:loop> <script type='text/javascript'> removeRelatedDuplicates_thumbs(); printRelatedLabels_thumbs(&quot;<data:post.url/>&quot;); </script> </div><div style='clear:both'/> <!-- remove --></b:if> <b:if cond='data:blog.url == data:blog.homepageUrl'><b:if cond='data:post.isFirstPost'> <a href='http://bloggerauthority.blogspot.com'><img alt='Blogger Tips | Tricks | Tutorials' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrebpJ3SSPmRiW2vDjBAutlMN9DydK9DOqbB1YcEZ7vTg6kHDH_06X7d-meflcNtIySKCz2hR-hgjLWHBC1TcvvQonM_x53S-ZtunC1XHtBh2uEtMiLyY3SrxicylsGaR7e0wir9G8kViU/s1600/best+blogger+tips.png'/></a> </b:if></b:if>



  • Now you have done it.
  • Save template.
------------------------------------------------------------------------------------------------------------
Conclusion:
------------------------------------------------------------------------------------------------------------

By adding this visitors will be able to know more and more articals of you.

If you stuck Feel free to Ask!! 

Follow us on:
Facebook
Twitter

If you want to ask some question feel free to ask!! Just comment Below!

Unknown

I am a Electronic Engineer from Pakistan. Mostly i love to play tricks with HTML ,JavaScript and Android Developnment. Moreover i run 2 blogs from 2012-still.Blogging is my passion and i believe i am doing very good in this field.Follow me at Facebook and at twitter
Choose Commenting Sytem..

No comments :

 

Copyright @ 2012-2015 Blogger | Softwares | Androids | Privacy Policy | SiteMap |

Designed by Nomi-King & Sponsored By Blogger-Authority