How To Add A Related Post Widget in BLOGGER

ဘလော့တွေကို လိုက်ကြည့်ရင်းနဲ့ Related Post ဆိုတာလေးကိုတွေ့ပါတယ်။ ကိုယ့်ဘလော့လေးမှာလည်း လုပ်ချင်လာတာနဲ့ ရှာကြည့်လိုက်တာ အောက်က ကုတ်လေးကိုတွေ့တာပါပဲ။ ဒီကုတ်လေးက လက်ရှိဖွင့်လိုက်တဲ့ post ရဲ့ post label ကို ကြည့်ပြီး သူနဲ့ တူတဲ့ တခြား post တွေကို အောက်မှာ ဖော်ပြပေးတာပါပဲ။ ကုတ်ကတော့ ကျွန်တော်ရေးထားတာ မဟုတ်ပါ။ :P အောက်မှာ မူရင်းပို့စ် ကိုပေးထားပါတယ်။ လုပ်နည်းကတော့ ..

၁။http://smartboy.googlecode.com/files/related-post.htm မှာကုတ်လေးကို ဒေါင်းပါ။
၂။Layout ကနေ Edit HTML ကို ၀င်ပါ။
၃။Download Full Template လုပ်ပြီး အဟောင်းကို backup အရင်လုပ်ပါ။
၄။ပြီးရင် Expand Widget Templates ကို အမှတ်ခြစ်ပေးပါ။
၅။အောက်က ကုတ်ကိုရှာပါ။


< div class='post-body entry-content'>
< data:post.body/ >
< div style='clear: both;'/> <!-- clear for photos floats -- >
< /div >

၆။လက်ရှိ ဒေါင်းထားတဲ့ ကုတ်တွေကို < data:post.body/ > ရဲ့ အောက်မှာ ကပ်ထည့်ပေးပါ။ ဒါဆိုရင်ပြီးပါပြီ။
အကယ်လို့ အရင်ကတည်းက blog မှာ Read More function ကို ထည့်ပြီးသားဆိုရင်တော့ အောက်ပါအတိုင်း ကုတ်ကို ထည့်ပေးပါ။
MORE INFO ==> http://www.blogspottutorial.com/2008/11/how-to-add-related-post-widget.html

< b:if cond='data:blog.pageType == "item"'>
< style > .fullpost{display:inline;} < /style >
< p > < data:post.body/ > < /p >

< b:else/ >
< style > .fullpost{display:none;} < /style >
< p > < data:post.body/ >
< a expr:href='data:post.url'> < strong > Read more...< /strong > < /a > < /p >
< /b:if >

No Response to "How To Add A Related Post Widget in BLOGGER"

Post a Comment

powered by Blogger