ဒီေန႔ထပ္တင္ေပးလုိက္တဲ့ ပုိ႔(စ္)ေလးကေတာ့ Thumbnail Related Posts Widget ေလးပါ။ Simple Related Posts Widget လည္းတင္ေပးလုိက္ပါၿပီးဆုိေတာ့ ပုံေလးေတြနဲ႔ ေပၚေနတဲ့ ဟာလည္း ႀကဳိက္ရင္အလြယ္တကူ ယူလုိ႔ရေအာင္ ထပ္ေ၀မွ်ေပးခ်င္ပါတယ္။ သိၿပီးၾကေသာ မိတ္ေဆြေတြလည္းမ်ာေတာ့မွာပါ ၊ ဒါေပမယ့္ မသိေသးတဲ့ မိတ္ေဆြေတြအတြက္ အခက္အခဲျဖစ္နုိင္ပါတယ္။ ဒါေၾကာင့္ရွိတာထက္ ပုိတင္ေပးရျခင္ျဖစ္ပါတယ္။
၁။Sign In Blogger
Modified Image
၂။ Template
၃။ Edit HTMl
၄။ Proceed
Expand Widget Templates ကုိအမွန္ျခစ္ေပးလုိက္ပါ
၅။ ေအာက္က Cond ေလးကုိရွာပါ။Ctrl + F ကုိတြဲနုိပ္၍ရွာပါ ၊ ရွာရလြယ္ပါတယ္။
</head>
ေတြ႕ၿပီးဆုိရင္ </head> ရဲ႕ေအာက္မွာ ေအာက္က Cond ကုိ ထပ္ထည့္ေပးလုိက္ပါ။
<!--Related Posts with thumbnails Scripts and Styles Start--> <!-- remove --><b:if cond='data:blog.pageType == "item"'> <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="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVXJ4mBATjH4fFwlJr75aroVrZxh21hkP_QMXTvE7be-4PD-dtBMKFtxDSzJGCFCcYZnwZFSGRji_4jBoP42csvxSvU8rrco4MjZ_dLJQ6uIcazSE8Ntb5qBJY_wBQ0LBdhm4N5RsW4D5M/s1600/no_image.jpg"; var maxresults=5; var splittercolor="#DDDDDD"; var relatedpoststitle="Related Posts"; </script> <script src='http://mrthangming.googlecode.com/files/related%20posts.js' type='text/javascript'/> <!-- remove --></b:if> <!--Related Posts with thumbnails Scripts and Styles End-->
မွတ္ခ်က္။ ။ var maxresults=5 ကုိ မိမိႀကဳိက္ရာ နံပါတ္ေျပာင္းေပးနုိင္ပါတယ္။
ေအာက္က Cond ကုိ ထပ္ရွာပါ။
<div class='post-footer'>
ေတြ႕ၿပီးဆုိရင္ <pre class="cpp" name="code"> ရဲ႕ေအာက္မွာ ေအာက္က Cond ကုိ ထပ္ထည့္ေပးလုိက္ပါ။
<!-- Related Posts with Thumbnails Code Start--> <!-- remove --><b:if cond='data:blog.pageType == "item"'> <div id='related-posts'> <b:loop values='data:post.labels' var='label'> <b:if cond='data:label.isLast != "true"'> </b:if> <script expr:src='"/feeds/posts/default/-/" + data:label.name + "?alt=json-in-script&callback=related_results_labels_thumbs&max-results=5"' type='text/javascript'/></b:loop> <script type='text/javascript'> removeRelatedDuplicates_thumbs(); printRelatedLabels_thumbs("<data:post.url/>"); </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://mrthangming.blogspot.com'><img alt='Blogger Tricks' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc6On4KjtNsJ16HedxxiTAHnkC_bGa8tVAaqZof_zXt32gqNyxW72cwZLPGJ2tQUJQGDJysNfo3LSBviV_6DHfE5UBRJYlXMKgdIs3HGCcu2WhegBGMoT2VNVEeuOIQI0oK0_4VD8Gq3Qy/s1600/best+blogger+tips.png'/></a> </b:if></b:if> <!-- Related Posts with Thumbnails Code End-->
ထည့္ၿပီးရင္ Save Template ကုိနုိပ္လုိက္ပါ။
မွတ္ခ်က္။ ။ max-results=5 ကုိ မိမိႀကဳိက္ရာ နံပါတ္ ေျပာင္းနုိင္ပါတယ္။
Post a Comment Blogger Facebook
အခုစာဖတ္သူၾကည့္ေနတဲ့ ပုိ့(စ္) ေလးမွာ ဘယ္လုိထင္ျမင္ခ်က္ရွိလဲ? စာဖတ္သူရဲ့ထင္ျမင္ခ်က္ကုိ ဤေနရာေလးမွာ ေရးခ်ၾကည့္ပါလား။..~!!!