Join Our Telegram Channel Contact Us Join Now!

ব্লগারে কিভাবে সংশ্লিষ্ট পোস্ট উইজেট (Related Post Widget) যোগ করবেন ?

Related Post

ব্লগারে সংশ্লিষ্ট পোস্ট উইজেট (Related Post Widget) যোগ করার পদ্ধতিঃ


ধাপ-১ঃ প্রথমে ব্লগারড্যাশবোর্ডে যান। টেম্পলেট (Template) থেকে এডিট এইচটিএমএলে (Edit Html)  ক্লিক করুন।

Template Box   Edit Box

ধাপ-২ঃ নিচের কোডটি (Code) খুঁজে বের করুন।
</head>
ধাপ-৩ঃ এবার নিচের কোডগুলো কপি (Copy) করে উপরের কোডটার আগে বসিয়ে দিন।
<!--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:left;width:auto;}
#related-posts a{border-right: 1px dotted #eaeaea;}
#related-posts a:hover{background: #f2f2f2;}
#related-posts h2{margin-top: 10px;background:none;font:18px Oswald;padding:3px;color:#999999; text-transform:uppercase;}
#related-posts .related_img {margin:5px;border:4px solid #f2f2f2;width:100px;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;}
#related-title {color:#222;text-align:center;padding: 0 10px;font-size:14px Oswald; line-height:16px;text-shadow:0 2px 2px #fff;height:28px;width:100px;}
#related-posts .related_img:hover{border:4px solid #E8E8E8;opacity:.7;filter:alpha(opacity=70);-moz-opacity:.7;-khtml-opacity:.7}</style>
<script type='text/javascript' src='http://makingdifferent.github.io/blogger-widgets/related_posts_widget.js' />
<!-- remove --></b:if>
<!--Related Posts with thumbnails Scripts and Styles End-->
 (লক্ষ্য করুনঃ ১।এই উইজেটের উচ্চতা (Hight) এবং প্রস্থ (Width) এডিট (Edit) করতে লাল রঙের মান (Value) পরিবর্তন (Change) করতে হবে।
২। সংশ্লিষ্ট পোস্ট এর শিরোনামের (Title) রঙ ও সাইজ (Size) পরিবর্তন করতে নীল রঙের মান (Value) পরিবর্তন করতে হবে।
৩। যদি সংশ্লিষ্ট পোস্ট উইজেটটি আপনি হোম পেজেও দেখাতে চান তাহলে সবুজ রঙের লাইন গুলো কেটে (Remove) দিন।
)
ধাপ-৪ঃ এবার নিচের কোডটি খুঁজে বের করুন। কোড টি দুবার পাবেন দ্বিতীয় বার থামতে হবে।
<div class='post-footer'>
ধাপ-৫ঃ এবার নিচের কোডগুলো কপি করে উপরের কোডটার আগে বসিয়ে দিন।
<!-- Related Posts with Thumbnails Code Start-->
<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>
<b:if cond='data:blog.pageType == &quot;item&quot;'>

<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=5&quot;' type='text/javascript'/></b:if></b:loop>
<script type='text/javascript'>
var currentposturl=&quot;<data:post.url/>&quot;;
var maxresults=5;
var relatedpoststitle=&quot;<b>Related Posts:</b>&quot;;
removeRelatedDuplicates_thumbs();
printRelatedLabels_thumbs();
</script>
</div><div class='clear'/>
</b:if>
<b:if cond='data:blog.url == data:blog.homepageUrl'><b:if cond='data:post.isFirstPost'>
<a href='http://www.bloggerwidgetgenerators.com'><img alt='Blogger Widgets' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIR3ocEY9rB07r0FyxBFbSXMihugA7dNnwwTlWVgWm-3q4pubfQLIT-I_LCtI40WY3A1ge6v4zBqpCo4ANX-R0wdBim3c25sU2La5M9jzBOf9jjePzxStxiwQWxCccda198CsX8iDBNzMn/s1600/best+blogger+tips.png'/></a>
</b:if>
</b:if>
<!-- Related Posts with Thumbnails Code End-->
 (লক্ষ্য করুনঃ সংশ্লিষ্ট পোস্ট উইজেটে পোস্ট সংখ্যা বারাতে (To Increase The Num Of Post) "maxresults=5" এর মান (Value) পরিবর্তন করতে পারেন। যদি সংশ্লিষ্ট পোস্ট উইজেটটি আপনি হোম পেজেও দেখাতে চান তাহলে সবুজ রঙের লাইন গুলো কেতে দিন।)

Rate this article

Loading...

Post a Comment

Cookies Consent

This website uses cookies to ensure you get the best experience on our website.

Cookies Policy

We employ the use of cookies. By accessing Lantro UI, you agreed to use cookies in agreement with the Lantro UI's Privacy Policy.

Most interactive websites use cookies to let us retrieve the user’s details for each visit. Cookies are used by our website to enable the functionality of certain areas to make it easier for people visiting our website. Some of our affiliate/advertising partners may also use cookies.