• ABOUT
  • CONTACT
  • PRIVACY
  • SITEMAP
  • OTHER

MARISHA

Menu
  • HOME
  • BLOGING
  • WIDGETS
  • ANDROID
    • Sub-Menu 1
    • Sub-Menu 2
      • Sub Sub-Menu 1
      • Sub Sub-Menu 2
      • Sub Sub-Menu 3
      • Sub Sub-Menu 4
      • Sub Sub-Menu 5
    • Sub-Menu 3
      • Sub Sub-Menu 1
      • Sub Sub-Menu 2
      • Sub Sub-Menu 3
      • Sub Sub-Menu 4
      • Sub Sub-Menu 5
  • EARNING
  • CATEGORIES
    • Sub-Menu 1
    • Sub-Menu 2
      • Sub Sub-Menu 1
      • Sub Sub-Menu 2
      • Sub Sub-Menu 3
      • Sub Sub-Menu 4
      • Sub Sub-Menu 5
    • Sub-Menu 3
      • Sub Sub-Menu 1
      • Sub Sub-Menu 2
      • Sub Sub-Menu 3
      • Sub Sub-Menu 4
      • Sub Sub-Menu 5
  • TOOLS

01 February 2015

আপনার ব্লগার ব্লগে বিভিন্ন স্টাইলে Most Commented ওয়েডগেট যুক্ত করবেন (সিএসএস স্টাইলসহ)

  চাঁদপুর প্রতিদিন     01 February 2015     ওয়েডগেট , ব্লগার টিপস , সিএসএস      No comments   
আসসালামালাইকুম, বন্ধুরা কেমন আছেন। নিশ্চয় ভাল। আর আপনাদের সকলের ভালকে কেন্দ্র করে আমার আজকের লেখা। আজ আমি আপনাদের সাখে Most Commented  নিয়ে আলোচনা করবো। আর ব্লগে ভিজিটর বাড়ানো সম্ভব হবে। কেননা ব্লগে অনেক মন্তব্য পাওয়ার জন্য বিভিন্ন সময় বিভিন্ন ধরনের পোষ্ট ব্যবহার করে থাকি। কিন্তু কিভাবে পোষ্টটিতে সর্বাধিক মন্তব্য পাওয়া যায় সেটা মুল লক্ষ্য। তাই আর বিস্তারিত না মুল কথা ফিরে আসি তো দেখুন তাহলে


উপরের ছবি টি একটি ইংরেজি ব্লগ সাইট হতে সংগ্রহ করা। তাই নিরদিধায় নিচের কোডগুলো ব্যবহার করতে পারে কেমন। তো কোডগুলো নিচে শেয়ার করা হলো।



  • প্রথমে আপনার ব্লগের ড্যাশবোর্ডে প্রবেশ করবেন। 
  • তার পরে ড্রাপ ডাউন মেনু হতে লেআউট মেনুটি নির্বাচন কবরেন। 
  • এবং তার পর আপনারা একটি পেজ দেখতে পাবেন। 
  • সেখান থেকে Add widget টি নির্বাচন করার পরে নতুন উইডোজ দেথতে পাবেন। 
  • সেখান থেকে HTML/JavaScript widget টি নির্বাচন করবেন। 
  • সর্বশেষ নিচে কোডগুলো ধাপে ধাপে ব্যবাহার করবেন।





  1. প্রথম ডেমো কোড হলো।
<style>
.comment-count {
padding: 3px 10px;
background: #000000;
color: #ffffff;
font-family: 'Oswald', sans-serif;
font-size: 80%;
float: right;
}
.odhik-montobbo ul {
padding: 0px !important;
list-style:none;
font-family: 'Oswald', sans-serif;
}
.odhik-montobbo ul li {
list-style: none;
padding: 10px;
color: #000000;
margin-top: -10px;
background:none;
}
.odhik-montobbo ul li a {
color: #000000;
list-style: none;
text-decoration: none;
font-size: 90%;
}
.odhik-montobbo:nth-child(3n+0) {
background: #E21323;
width: 100%;
margin-top:10px;
}
.odhik-montobbo:nth-child(4n+0) {
background: #E5FF99;
width: 100%;
}
.odhik-montobbo:nth-child(5n+0) {
background: #00E5FF;
width: 100%;
}
.odhik-montobbo:nth-child(6n+0) {
background: #09BCF7;
width: 100%;
padding-top:-15px;
}
.odhik-montobbo:nth-child(7n+0) {
background: #09F746;
width: 100%;
}
</style>
<script type="text/javascript">
function stripTags(s,n)
    {
    return s.replace(/<.*?>/ig,"").split(/\s+/).slice(0,n-1).join(" ")
}
function mostcommented(feed) {
 var i;
 for (i = 0; i < feed.count ; i++)
 {
var postURL = "'" + feed.value.items[i].link + "'";
var postTitle = feed.value.items[i].title;
var postComments = feed.value.items[i].commentcount;
var postList = '<div class="odhik-montobbo"><ul><li style="margin-bottom: 10px"><div class="comment-count">' + postComments + "</div>" + "<a href="+ postURL + '">' + postTitle + "</a>"  + '</li></ul></div>';
 document.write(postList);
 }
 }
 </script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?
 AddUrlHere=http://bloggingjogot.blogspot.com&amp;NumberofPosts=7&amp;_id=2cb5eb603ed55a6264ee1484e5fdd45c
&amp;_callback=mostcommented
&amp;_render=json" type="text/javascript"></script>




  1. 2 ২য় ডেমো হলো।
<style>
.comment-count {
padding: 3px 10px;
background: #000000;
color: #ffffff;
font-family: 'Oswald', sans-serif;
font-size: 80%;
float: right;
}
.odhik-montobbo ul {
padding: 0px !important;
list-style:none;
font-family: 'Oswald', sans-serif;
}
.odhik-montobbo ul li {
list-style: none;
padding: 10px;
color: #000000;
margin-top: -10px;
background:none;
}
.odhik-montobbo ul li a {
color: #000000;
list-style: none;
text-decoration: none;
font-size: 90%;
}
.odhik-montobbo:nth-child(3n+0) {
background: #E21323;
width: 100%;
margin-top:10px;
border-bottom-right-radius: 30px;
border-top-left-radius: 30px;
}
.odhik-montobbo:nth-child(4n+0) {
background: #E5FF99;
width: 100%;
border-bottom-right-radius: 30px;
border-top-left-radius: 30px;
}
.odhik-montobbo:nth-child(5n+0) {
background: #00E5FF;
width: 100%;
border-bottom-right-radius: 30px;
border-top-left-radius: 30px;
}
.odhik-montobbo:nth-child(6n+0) {
background: #09BCF7;
width: 100%;
padding-top:-15px;
border-bottom-right-radius: 30px;
border-top-left-radius: 30px;
}
.odhik-montobbo:nth-child(7n+0) {
background: #09F746;
width: 100%;
border-bottom-right-radius: 30px;
border-top-left-radius: 30px;
}
</style>
<script type="text/javascript">
function stripTags(s,n)
    {
    return s.replace(/<.*?>/ig,"").split(/\s+/).slice(0,n-1).join(" ")
}
function mostcommented(feed) {
 var i;
 for (i = 0; i < feed.count ; i++)
 {
var postURL = "'" + feed.value.items[i].link + "'";
var postTitle = feed.value.items[i].title;
var postComments = feed.value.items[i].commentcount;
var postList = '<div class="odhik-montobbo"><ul><li style="margin-bottom: 10px"><div class="comment-count">' + postComments + "</div>" + "<a href="+ postURL + '">' + postTitle + "</a>"  + '</li></ul></div>';
 document.write(postList);
 }
 }
 </script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?
 AddUrlHere=http://bloggingjogot.blogspot.com
&amp;NumberofPosts=7
&amp;_id=2cb5eb603ed55a6264ee1484e5fdd45c
&amp;_callback=mostcommented
&amp;_render=json" type="text/javascript"></script>


  1. 3 ৩য় ডেমো দেখুন।
<style>
.comment-count {
border-radius: 30px;
padding: 3px 10px;
background: #000000;
color: #ffffff;
font-family: 'Oswald', sans-serif;
font-size: 80%;
float: right;
}
.odhik-montobbo ul {
padding: 0px !important;
list-style:none;
font-family: 'Oswald', sans-serif;
}
.odhik-montobbo ul li {
list-style: none;
padding: 10px;
color: #000000;
margin-top: -10px;
background:none;
}
.odhik-montobbo ul li a {
color: #000000;
list-style: none;
text-decoration: none;
font-size: 90%;
}
.odhik-montobbo:nth-child(3n+0) {
background: #E21323;
width: 100%;
margin-top:10px;
border-radius: 30px;
}
.odhik-montobbo:nth-child(4n+0) {
background: #E5FF99;
width: 100%;
border-radius: 30px;
}
.odhik-montobbo:nth-child(5n+0) {
background: #00E5FF;
width: 100%;
border-radius: 30px;
}
.odhik-montobbo:nth-child(6n+0) {
background: #09BCF7;
width: 100%;
padding-top:-15px;
border-radius: 30px;
}
.odhik-montobbo:nth-child(7n+0) {
background: #09F746;
width: 100%;
border-radius: 30px;
}
</style>
<script type="text/javascript">
function stripTags(s,n)
    {
    return s.replace(/<.*?>/ig,"").split(/\s+/).slice(0,n-1).join(" ")
}
function mostcommented(feed) {
 var i;
 for (i = 0; i < feed.count ; i++)
 {
var postURL = "'" + feed.value.items[i].link + "'";
var postTitle = feed.value.items[i].title;
var postComments = feed.value.items[i].commentcount;
var postList = '<div class="odhik-montobbo"><ul><li style="margin-bottom: 10px"><div class="comment-count">' + postComments + "</div>" + "<a href="+ postURL + '">' + postTitle + "</a>"  + '</li></ul></div>';
 document.write(postList);
 }
 }
 </script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?
 AddUrlHere=http://bloggingjogot.blogspot.com
&amp;NumberofPosts=7
&amp;_id=2cb5eb603ed55a6264ee1484e5fdd45c
&amp;_callback=mostcommented
&amp;_render=json" type="text/javascript"></script>



  1. 4 চার নং ডেমো দেখুন।
<style>
.comment-count {
border: 8px inset #0572F8;
padding: 3px 10px;
background: #000000;
color: #ffffff;
font-family: 'Oswald', sans-serif;
font-size: 80%;
float: right;
}
.odhik-montobbo ul {
padding: 0px !important;
list-style:none;
font-family: 'Oswald', sans-serif;
}
.odhik-montobbo ul li {
list-style: none;
padding: 10px;
color: #000000;
background:none;
}
.odhik-montobbo ul li a {
color: #000000;
list-style: none;
text-decoration: none;
font-size: 90%;
}
.odhik-montobbo:nth-child(3n+0) {
background: #E21323;
width: 100%;
border: 8px inset #0572F8;
}
.odhik-montobbo:nth-child(4n+0) {
background: #E5FF99;
width: 100%;
border: 8px inset #0572F8;
}
.odhik-montobbo:nth-child(5n+0) {
background: #00E5FF;
width: 100%;
border: 8px inset #0572F8;
}
.odhik-montobbo:nth-child(6n+0) {
background: #09BCF7;
width: 100%;
border: 8px inset #0572F8;
}
.odhik-montobbo:nth-child(7n+0) {
background: #09F746;
width: 100%;
border: 8px inset #0572F8;
}
</style>
<script type="text/javascript">
function stripTags(s,n)
    {
    return s.replace(/<.*?>/ig,"").split(/\s+/).slice(0,n-1).join(" ")
}
function mostcommented(feed) {
 var i;
 for (i = 0; i < feed.count ; i++)
 {
var postURL = "'" + feed.value.items[i].link + "'";
var postTitle = feed.value.items[i].title;
var postComments = feed.value.items[i].commentcount;
var postList = '<div class="odhik-montobbo"><ul><li style="margin-bottom: 10px"><div class="comment-count">' + postComments + "</div>" + "<a href="+ postURL + '">' + postTitle + "</a>"  + '</li></ul></div>';
 document.write(postList);
 }
 }
 </script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?
 AddUrlHere=http://bloggingjogot.blogspot.com
&amp;NumberofPosts=7
&amp;_id=2cb5eb603ed55a6264ee1484e5fdd45c
&amp;_callback=mostcommented
&amp;_render=json" type="text/javascript"></script>

কাষ্টমাইজ করবেন কিভাবে দেখে নিন?

  • বোল্ড কালার কৃত লেখাটি পরিবর্তন করবেন। আপনার ব্লগ সাইট লিংক এবং পোস্ট সংখ্যা আপনার মনের মত করে পরিবর্তন করে নিবেন।


তো বন্ধুরা আজ এই পর্যন্ত আগামীতে আরো সুন্দর কিছু নিয়ে আপনাদের মাঝে ফিরে আসবো ততক্ষণ পর্যন্ত আপনারা আমাদের সাথে থাকুন। আল্লাহ হাফেজ।
পোষ্টটি শেয়ার করুন :
Tweet Share Share Share Share Share

Related Posts

← Newer Post Older Post → Home
View mobile version

0 comments:

Post a Comment

Tuner Tunes- এর সকল সোস্যাল মিডিয়া সমুহ

সরাসরি ই-মেইলে আপডেট পোষ্ট পেতে চাইলে!

  • Popular
  • Comments
  • Archive

Popular Posts

  • দেবের হিট মুভি যোদ্ধা (Yoddha) ফুল HD মুভি ডাউনলোড করেনিন আজই !!
    বন্ধুরা আপনারা সকলে কেমন আছেন। আমি আশা করি নিশ্চয় আপনারা সকলে ভাল আছেন। বেশ কিছু দিন আগে আমি দেবের যোদ্ধা ছবি নিয়ে আপনাদের সাথে শেয়ার করছিলা...
  • আপনার ফেসবুক একাউন্টটি সুরক্ষার রাখতে কি করবেন?
    আসসালামমাইকুস, বন্ধুরা আপনারা সকলে কেমন আছেন। নিশ্চয় ভাল। আর আপনাদের ভাল লাগাকে কেন্দ্র করে আমার নতুন পোষ্টটি। আপনারা হয়তো বা এতক্ষনে বুঝতে ...
  • ফেসবুকে ফেক আইডি থাকলেই শাস্তি !
    ফেসবুক ছাড়া সামাজিক যোগাযোগের কথা মানুষ এখন ভাবতেই পারে না। এক একজনের কত বিচিত্র নামের একাউন্ট আছে তার কোনও ইয়ত্তা নেই। এ সব ফেক আইডি দিয়ে ...
  • ভাইরাস আছে কিনা জেনে ওয়েব সাইট ভিজিট করুন!!!
    বন্ধুরা আমার সালাম নিবেন। আশা নয় আমি একান্ত বিশ্বাস করি আপনারা যারা কোন না কোন সময় নতুন কিছু জানার আগ্রহ নিয়ে ব্লগ সাইট বা নিউজ সাইট ভিজিট ক...
  • পারবো না আমি ছাড়তে তোকে " Parbona Ami Chartey Tokey " অডিও ভিডিও কলকাতা গান !
    পারবো না আমি ছাড়তে তোকে   " Parbona Ami Chartey Tokey " অডিও ভিডিও নতুন কলকাতা মুভি গান ডাউনলোড করেনিন।  পারবো না আমি ছাড়তে তোকে ...
  • AdSense অনুমোদন না হওয়ার প্রধান ১০ টি কারন!
    Google Adsense সর্বপ্রথম ২০০৩ সালের জুন মাসে অফিসিয়ালভাবে চালু করার পর হতে প্রথম ৩-৪ বৎসর যদিও অনুমোদন করা খুব সহজ একটা ব্যাপার ছিল কিন্তু ...
  • ব্লগার দিয়ে আপনি কি নিউজ সাইট তৈরি করতে চান? তাহলে এই থীমটি আপনার জন্য।
    বন্ধুরা বর্তমান সময়ে একটি আলোচিত বিষয় হলো নিউজ সাইটগুলো। কিন্তু আপনি নিজেও চান যে আমার একটা নিউজ সাইট থাক। কারন সেই অনুপাতে আপনারা নিউজ সাইট...

Comments

Coming Soon.....

Blog Archive

  • January (1)
  • March (9)
  • February (1)
  • January (1)
  • December (3)
  • November (2)
  • October (5)
  • September (6)
  • August (30)
  • July (30)
  • June (17)
  • May (3)
  • April (10)
  • March (14)
  • February (18)
  • January (15)
  • December (2)
  • November (1)
  • October (9)
  • September (16)
  • August (11)
  • July (8)
  • June (33)
  • May (3)

বিজ্ঞাপন দিন

বিজ্ঞাপনের জন্য নির্ধারিত স্থান!

আমাদের সম্পর্কে কিছু তথ্য জানুন!

আমাদের সম্পর্কে কিছু তথ্য জানুন!

আমাদের সম্পর্কে কিছু তথ্য জানুন!

আমাদের সম্পর্কে কিছু তথ্য জানুন!

আমাদের সম্পর্কে কিছু তথ্য জানুন!

আমাদের সম্পর্কে কিছু তথ্য জানুন!
Copyright © MARISHA™ All Rights Reserved |