Pages

05/07/2012

Add Related Post with Thumbnails on Blogger


ပံုေလးကိုျမင္တာနဲ ့သိနိုင္မွာပါ.မိမိတို ့ဘေလာ့ရဲ ့ပို ့ေအာက္မွာ Related Posts Widget thumbnails ပံုစံေလးထည့္ခ်င္တဲ့မိတ္ေဆြမ်ားအတြက္ တင္ေပးလိုက္ပါတယ္။
ကဲစပါမယ္...

1.ေအာက္ကပံုေလးအတိုင္ဝင္လိုက္ပါ။

2.ျပီးရင္ေအာက္ကကုဒ္ေလးကိုရွာပါ။

</head>

3.ေတြ ့ျပီဆိုရင္ သူ ့ကိုဖ်က္ျပီးေအာက္ကုဒ္ေလးနဲ့အစားထိုးလိုက္ပါ။

<!--Related Posts with thumbnails Scripts and Styles Start-->
<!-- 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: 1.6em;
font-weight: bold;
color: black;
font-family: Georgia, "Times New Roman", Times, serif;
margin-bottom: 0.75em;
margin-top: 0em;
padding-top: 0em;
}
#related-posts a{
color:black;
}
#related-posts a:hover{
color:black;
}
#related-posts a:hover {
background-color:#d4eaf2;
}
</style>
<script type='text/javascript'>
var defaultnoimage="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGO9qFju-O8tb3jl0oQ5Ko12FWI2cmYvExQS6CbqIa-ORZxNFjPi4Jl_CGmJqEsrniBo_J8aog0-mX_VvpoA0Il7P2_FSMuln6Rm8_TdTlTVW41ti0mz2YoJIy3M-B-golIoBN54kdlBE/s400/noimage.png";
var maxresults=5;
var splittercolor="#d4eaf2";
var relatedpoststitle="Related Posts";
</script>
<script src='http://blogergadgets.googlecode.com/files/related-posts-with-thumbnails-for-blogger-pro.js' type='text/javascript'/>
<!-- remove --></b:if>
<!--Related Posts with thumbnails Scripts and Styles End-->
</head>

4.ေအာက္ကကုဒ္ေလးကိုထပ္ရွာပါ.

<div class='post-footer-line post-footer-line-1'>

( သို ့မဟုတ္ )

<p class='post-footer-line post-footer-line-1'>

5.ေတြ ့ျပီဆိုရင္ သူ ့ေအာက္မွာ ေအာက္ကကုဒ္ေလးကိုထည့္ေပးလိုက္ပါ။

<!-- Related Posts with Thumbnails Code Start-->
<!-- 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=6&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://www.bloggerplugins.org/2009/08/related-posts-thumbnails-blogger-widget.html'><img style="border: 0" alt="Related Posts Widget For Blogger with Thumbnails" src="http://image.bloggerplugins.org/blogger-widgets.png" /></a><a href='http://bloggertemplates.bloggerplugins.org/' ><img style="border: 0" alt="Blogger Templates" src="http://image.bloggerplugins.org/blogger-templates.png" /></a>
</b:if></b:if>
<!-- Related Posts with Thumbnails Code End-->

6. save template ကို click ေပးလိုက္ပါ။ျပီးပါျပီ။

မွတ္ခ်က္

1.မိမိ post body အက်ယ္အဝန္းအလိုက္ အေရအတြက္ခ်ိန္းေပးပါ
( var maxresults=5; )

2.ပံုတစ္ပံုနဲ ့တစ္ပံုၾကားမွာျခားေပးတဲ့မ်ဥ္းအေရာင္
( var splittercolor="#d4eaf2"; )

3.Related Posts ေခါင္းစဥ္အေရာင္ေျပာင္းရန္
( #related-posts a:hover{
color:black; )

4.Related Posts ပံုေတြေအာက္ကစာသားေခါင္းစဥ္အေရာင္
( #related-posts a{
color:black; )

ကဲစမ္းၾကည္လိုက္ၾကပါ.အဆင္ေျပမယ္လို ့ေမ်ွာ္လင့္ပါတယ္.

ေက်းဇူးတင္ပါတယ္

No comments: