SHARE
TWEET

related-post-blogspot

a guest Dec 29th, 2018 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 3. Tekan CTRL+F dan cari kode </head>
  2.  
  3.  
  4.  
  5. Copy-paste script dibawah ini diatas kode </head>
  6.  
  7.  
  8.  
  9. <!--Related Posts with thumbnails Scripts and Styles Start-->
  10.  
  11. <b:if cond='data:blog.pageType == &quot;item&quot;'>
  12.  
  13. <style type='text/css'>
  14.  
  15. #related-posts{float:left;width:auto;}
  16.  
  17. #related-posts a{border-right: 1px dotted #eaeaea;}
  18.  
  19. #related-posts a:active{background: #EEEEEE;}
  20.  
  21. #related-posts h2{margin-top: 10px;background:none;font:18px Oswald;padding:3px;color:#999999; text-transform:uppercase;}
  22.  
  23. #related-posts .related_img {margin:5px;border:2px solid #f2f2f2;object-fit: cover;width:110px;height:100px;transition:all 300ms ease-in-out;-webkit-transition:all 300ms ease-in-out;-moz-transition:all 300ms ease-in-out;-o-transition:all 300ms ease-in-out;-ms-transition:all 300ms ease-in-out;-webkit-border-radius: 5px;  -moz-border-radius: 5px; border-radius: 5px; }
  24.  
  25. #related-title {color:#666;text-align:center;padding: 0px 5px 10px;font-size:12px;width:110px; height: 40px;}
  26.  
  27. #related-posts .related_img:active{border:2px solid #E8E8E8;opacity:.7;filter:alpha(opacity=70);-moz-opacity:.7;-khtml-opacity:.7}</style>
  28.  
  29. <script type='text/javascript' src='http://helplogger.googlecode.com/svn/trunk/relatedposts.js' />
  30.  
  31. </b:if>
  32.  
  33. <!--Related Posts with thumbnails Scripts and Styles End-->
  34.  
  35.  
  36.  
  37. 5. Tekan CTRL+F dan cari kode <data:post.body/>
  38.  
  39. 6. Copy-paste script dibawah ini dibawah kode <data:post.body/>
  40.  
  41.  
  42.  
  43. <!-- Related Posts with Thumbnails Code Start-->
  44.  
  45. <b:if cond='data:blog.pageType == &quot;item&quot;'>
  46.  
  47. <div id='related-posts'>
  48.  
  49. <b:loop values='data:post.labels' var='label'>
  50.  
  51. <b:if cond='data:label.isLast != &quot;true&quot;'>
  52.  
  53. </b:if>
  54.  
  55. <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=6&quot;' type='text/javascript'/></b:loop>
  56.  
  57. <script type='text/javascript'>
  58.  
  59. var currentposturl=&quot;<data:post.url/>&quot;;
  60.  
  61. var maxresults=6;
  62.  
  63. var relatedpoststitle=&quot;<b>Related Posts:</b>&quot;;
  64.  
  65. removeRelatedDuplicates_thumbs();
  66.  
  67. printRelatedLabels_thumbs();
  68.  
  69. </script>
  70.  
  71. </div>
  72.  
  73. </b:if>
  74.  
  75. <!-- Related Posts with Thumbnails Code End-->
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top