Add Blogger Recent Post Widget By Label With Multi Thumbnails...!! | Largest Technology Website

Add Blogger Recent Post Widget By Label With Multi Thumbnails...!!

This type of widget can be easily enhanced by displaying the important Label posts of the blog in front of the visitors using the main page of the blog. Moreover, those who are using magazine type blogs have to add such widgets to their blogs. We'll show you how to add two widgets together. However, if you wish, you can use it as much as you want. Also, JavaScript has many options, so you can easily control it. I don't want to say too much about the widget.

Add Blogger Recent Post Widget By Label With Multi Thumbnails...!!


Hello Friends Today we are going to share an interesting recent Recent Post widget. Typically, such widgets can be used in premium Blogger templates.


This type of widget can be easily enhanced by displaying the important Label posts of the blog in front of the visitors using the main page of the blog. Moreover, those who are using magazine type blogs have to add such widgets to their blogs.


We'll show you how to add two widgets together. However, if you wish, you can use it as much as you want. Also, JavaScript has many options, so you can easily control it. I don't want to say too much about the widget.


How to add ??
First login to the blog.

Then from the Blogger Dashboard, click on Template> Edit Html.

Search by pressing Ctrl + F from the keyboard]]> </b> skin> section.

Now paste the following Css codes above the]]> </b> skin> tag.



/* Recent Posts by Label

——————————————————- */

#pro-label-wrapper,#pro-labels-wrapper{margin-bottom:20px}
.pro-label ul,.pro-labels ul{list-style:none;margin:0;padding:0}
.pro-label li,.pro-labels li{margin:0;padding:0;}
.pro-label .widget,.pro-labels .widget{margin:0;padding:0}
.pro-label .widget-content,.pro-labels .widget-content{border:1px solid #CCC;padding:0px;margin:0;word-wrap:break-word;overflow:hidden;border-bottom-left-radius:2px;border-bottom-right-radius:2px}
.pro-label h2,.pro-labels h2{position:relative;margin:0;padding:10px;font-size:16px;font-weight:700;color:#333;border:1px solid #CCC;border-bottom:0px;border-top-left-radius:2px;border-top-right-radius:2px}
.pro-labels h2{margin:20px 0 0 0;}
.pro-label h2:before,.pro-labels h2:before{content:’\f155′;right:10px;bottom:0;font-family:FontAwesome;font-style:normal;font-weight:normal;margin:0 10px 0 0;color:#F00}
.pro-labels h2:before{content:’\f06d’;}
.pro-label .index,.pro-labels .index{font-size:10px;float:right;font-weight:400;}
.pro-label .index a,.pro-labels .index a{display:flex;color:#039be5;padding:3px 8px;border-radius:2px;font-weight:400;border:1px solid #29b6f6;text-decoration:none}
.pro-labels .index a{color:#ff675c;border-color:#ff675c}
.pro-label .index a:hover{background:#039be5;color:#fff;border-color:transparent}
.pro-labels .index a:hover{background:#ff675c;color:#fff;border-color:transparent}
.pro-label .index a:after,.pro-labels .index a:after{content:”\f105″;font-family:FontAwesome;font-style:normal;font-weight:normal;text-decoration:inherit;padding-left:5px}
.pro-labels span.pro-meta-comment a:hover{color:#FF675C!important}
.pro-labels ul.pro-thumb li a:hover,.pro-labels ul.pro-rthumb li a:hover{color:#ff675c;text-decoration:none}
.pro-left{width:45.7%;float:left;margin:0;padding:10px 10px 0px 10px;border-right:1px solid #e9e9e9}
.pro-right{width:51%;float:right;margin:0;padding:0}
ul.pro-thumb{margin:0;padding:0}
ul.pro-thumb li,ul.pro-rthumb{margin:0;padding:0}
ul.pro-thumb .sub-thumb{position:relative;margin:0 0 10px;padding:0;width:298px;height:160px}
ul.pro-thumb .sub-thumb img{background: url(“https://2.bp.blogspot.com/-2YD_jDcfdYI/VofcyRxiE5I/AAAAAAAAGao/_pyh6hjKuqk/s1600/thumbnail-bg.png”) repeat scroll 0px 0px transparent;height:150px;width:95%;padding:7px;transition:all 0.2s}
ul.pro-thumb .sub-thumb img:hover{opacity:.9;}
ul.pro-rthumb li{margin:0px;padding:12px 12px 12px;border-bottom:1px dotted #CCC}
ul.pro-rthumb li:last-child{border-bottom:none}
ul.pro-rthumb .sub-rthumb{float:left;margin:10px 10px 0 5px;width:60px;height:60px;overflow:hidden}
ul.pro-rthumb .sub-rthumb img{border-radius:5px;transition:all .2s}
ul.pro-rthumb .sub-rthumb img:hover{opacity:.9;}
span.pro-title{font-family:’Roboto Condensed’,sans-serif;font-size:20px;font-weight:700;display:block;margin:0 0 10px;line-height:normal;text-transform:none}
span.pro-rtitle{font-size:16px;line-height:1.4em;margin:0px}
span.pro-title a{color:#333;text-decoration:none}
span.pro-title a:hover{color:#ff675c;text-decoration:none;font-family:”Oswald”,sans-serif}
span.pro-summary{display:block;line-height:1.6em;font-size:13px;text-align:justify;text-overflow:ellipsis;margin:10px 0 0 0}
span.pro-meta{display:block;font-family:’Roboto Condensed’,sans-serif;font-size:11px;font-weight:400;color:#aaa}
span.pro-meta a{color:#aaa;text-decoration:none;display:inline-block}
span.pro-meta-date,span.pro-meta-comment,span.pro-meta-more{display:inline-block;margin-right:10px}
span.pro-meta-more a:before{content:”\f178″;font-family:FontAwesome;font-style:normal;font-weight:normal;text-decoration:inherit;padding-right:5px}
span.pro-meta-comment a:before{content:”\f086″;font-family:FontAwesome;font-style:normal;font-weight:normal;text-decoration:inherit;padding-right:5px}
span.pro-meta-comment a:hover{color:#ff675c!important}
span.pro-meta-date:before{content:”\f133″;font-family:FontAwesome;font-style:normal;font-weight:normal;text-decoration:inherit;padding-right:5px}
ul.pro-rthumb li a:hover,ul.pro-thumb li a:hover{color:#ff675c;text-decoration:none}

Download


From the keyboard again press Ctrl + F </head> to search the section.


Now paste the scripts below just above the </head> tag.


<script type=’text/javascript’>
//<![CDATA[
function labelthumbs(t){for(var e=0;e<numposts;e++){var n,r=t.feed.entry[e],m=r.title.$t;if(e==t.feed.entry.length)break;for(var i=0;i<r.link.length;i++){if(“replies”==r.link[i].rel&&”text/html”==r.link[i].type)var l=r.link[i].title,o=r.link[i].href;if(“alternate”==r.link[i].rel){n=r.link[i].href;break}}var u;try{u=r.media$thumbnail.url,u=u.replace(“/s72-c/”,”/w”+thumb_width+”-h”+thumb_height+”-c/”)}catch(h){s=r.content.$t,a=s.indexOf(“<img”),b=s.indexOf(‘src=”‘,a),c=s.indexOf(‘”‘,b+5),d=s.substr(b+5,c-b-5),u=-1!=a&&-1!=b&&-1!=c&&””!=d?d:no_thumb}var p=r.published.$t,w=p.substring(0,4),_=p.substring(5,7),f=p.substring(8,10),g=new Array;g[1]=”January”,g[2]=”February”,g[3]=”March”,g[4]=”April”,g[5]=”May”,g[6]=”June”,g[7]=”July”,g[8]=”August”,g[9]=”September”,g[10]=”October”,g[11]=”November”,g[12]=”December”,document.write(‘<span class=”pro-left”>’),document.write(‘<ul class=”pro-thumb”>’),document.write(“<li>”),1==showpostthumbnails&&document.write(‘<a href=”‘+n+'”><div class=”sub-thumb”><span class=”rollover”></span><img width=”‘+thumb_width+'” height=”‘+thumb_height+'” alt=”‘+m+'” src=”‘+u+'”/></div></a>’),document.write(‘<span class=”pro-title”><a href=”‘+n+'” target =”_top”>’+m+”</a></span>”);var v=””;if(document.write(‘<span class=”pro-meta”>’),1==showpostdate&&(v=v+'<span class=”pro-meta-date”>’+g[parseInt(_)]+” “+f+”, “+w+”</span>”),1==showcommentnum&&(“1 Comments”==l&&(l=”1 Comments”),”0 Comments”==l&&(l=”0 Comments”),showcomment='<span class=”pro-meta-comment”><a href=”‘+o+'”>’+l+”</a></span>”,v+=showcomment),1==displaymore&&(v=v+'<span class=”pro-meta-more”><a href=”‘+n+'” class=”url” target =”_top”>Read More…</a></span>’),document.write(v),document.write(“</span>”),document.write(‘<span class=”pro-summary”>’),”content”in r)var y=r.content.$t;else if(“summary”in r)var y=r.summary.$t;else var y=””;var k=/<\S[^>]*>/g;if(y=y.replace(k,””),1==showpostsummary)if(y.length<numchars)document.write(“”),document.write(y),document.write(“”);else{document.write(“”),y=y.substring(0,numchars);var $=y.lastIndexOf(” “);y=y.substring(0,$),document.write(y+”…”),document.write(“”)}document.write(“</span>”),document.write(“</li>”),document.write(“</ul>”),document.write(“</span>”)}document.write(‘<span class=”pro-right”>’),document.write(‘<ul class=”pro-rthumb”>’);for(var e=1;e<rnumposts;e++){var n,r=t.feed.entry[e],m=r.title.$t;if(e==t.feed.entry.length)break;for(var i=1;i<r.link.length;i++){if(“replies”==r.link[i].rel&&”text/html”==r.link[i].type)var l=r.link[i].title,o=r.link[i].href;if(“alternate”==r.link[i].rel){n=r.link[i].href;break}}var x;try{x=r.media$thumbnail.url.replace(“/s72-c/”,”/w”+thumb_width2+”-h”+thumb_rheight+”-c/”)}catch(h){s=r.content.$t,a=s.indexOf(“<img”),b=s.indexOf(‘src=”‘,a),c=s.indexOf(‘”‘,b+5),d=s.substr(b+5,c-b-5),x=-1!=a&&-1!=b&&-1!=c&&””!=d?d:no_rthumb}var p=r.published.$t,w=p.substring(0,4),_=p.substring(5,7),f=p.substring(8,10);1==rshowpostthumbnails&&document.write(‘<a href=”‘+n+'”><div class=”sub-rthumb”><img width=”‘+thumb_rwidth+'” height=”‘+thumb_rheight+'” alt=”‘+m+'” src=”‘+x+'”/></div></a>’),document.write(“<li>”),document.write(‘<span class=”pro-title pro-rtitle”><a href=”‘+n+'” target =”_top”>’+m+”</a></span>”);var v=””;document.write(‘<span class=”pro-meta pro-meta2″>’),1==rshowpostdate&&(v=v+'<span class=”pro-meta-date”>’+g[parseInt(_)]+” “+f+”, “+w+”</span>”),1==rshowcommentnum&&(“1 Comment”==l&&(l=”1 Comments”),”0 Comment”==l&&(l=”0 Comments”),showcomment='<span class=”pro-meta-comment pro-meta-comment2″><a href=”‘+o+'”>’+l+”</a></span>”,v+=showcomment),1==rdisplaymore&&(v=v+'<span class=”pro-meta-more pro-meta-more2″><a href=”‘+n+'” class=”url” target =”_top”>Read More…</a></span>’),document.write(v),document.write(“</span>”),document.write(“</li>”)}document.write(“</ul>”),document.write(“</span>”)}
//]]>
</script>
<script type=’text/javascript’>
var numposts=1,
rnumposts=5,
showpostthumbnails=true,
rshowpostthumbnails=true,
displaymore=true,
rdisplaymore=false,
showcommentnum=true,
rshowcommentnum=true,
showpostdate=!0,
rshowpostdate=!0,
showpostsummary=!0,
numchars=150,
thumb_width=298,
thumb_height=160,
thumb_rwidth=60,
thumb_rheight=60,
no_thumb=&quot;https://4.bp.blogspot.com/-tSBppe-1hD8/Vuv8oc5dbcI/AAAAAAAAHLs/bv50w5sT8mw2HgdrdnVUEQsxR0LZ7z-4Q/s1600/thumb-large.png&quot;,
no_rthumb=&quot;https://4.bp.blogspot.com/-uhrgZOa0aPU/Vuv8oXQjxyI/AAAAAAAAHLo/wZDGMEPB68sZjA7quh7GZ60bAA2hZJ3NQ/s1600/thumb-small.png&quot;;
</script>


Download

Now click your keyboard  Ctrl+F  To <b:section class=’main’ id=’main’ search this option..

Now copy the code <b:section class=’main’ id=’main’ submit upto this tag..

<b:if cond=’data:blog.url == data:blog.homepageUrl’>
<div id=’pro-label-wrapper’>
<b:section class=’pro-label’ id=’pro-label’ maxwidgets=’1′ showaddelement=’yes’>
<b:widget id=’HTML80′ locked=’false’ title=’Pro Blogger’ type=’HTML’>
<b:includable id=’main’>
<h2><span class=’index’>&lt;a href='/search/label/<data:content/>?&amp;max-results=5'&gt;View All&lt;/a&gt;</span><data:content/></h2>
<div class=’widget-content’>
<script>
document.write(&quot;&lt;script src=\&quot;/feeds/posts/default/-/<data:content/>?orderby=published&amp;alt=json-in-script&amp;callback=labelthumbs\&quot;&gt;&lt;\/script&gt;&quot;);
</script>
</div>
</b:includable>
</b:widget>
</b:section>
</div>
</b:if>


Download

If you want to add multiple widgets, just paste the following codes instead of the ones above.

<b:if cond=’data:blog.url == data:blog.homepageUrl’>

<div id=’pro-label-wrapper’>
<b:section class=’pro-label’ id=’pro-label’ maxwidgets=’1′ showaddelement=’yes’><b:widget id=’HTML80′ locked=’false’ title=’Pro Blogger’ type=’HTML’><b:includable id=’main’><h2><span class=’index’>&lt;a href='/search/label/<data:content/>?&amp;max-results=5'&gt;View All&lt;/a&gt;</span><data:content/></h2><div class=’widget-content’><script>document.write(&quot;&lt;script src=\&quot;/feeds/posts/default/-/<data:content/>?orderby=published&amp;alt=json-in-script&amp;callback=labelthumbs\&quot;&gt;&lt;\/script&gt;&quot;);</script></div></b:includable></b:widget></b:section></div><div id=’pro-labels-wrapper’><b:section class=’pro-labels’ id=’pro-labels’ maxwidgets=’1′ showaddelement=’yes’><b:widget id=’HTML90′ locked=’false’ title=’Pro Blogger-2′ type=’HTML’><b:includable id=’main’><h2><span class=’index’>&lt;a href='/search/label/<data:content/>?&amp;max-results=5'&gt;View All&lt;/a&gt;</span><data:content/></h2><div class=’widget-content’><script>document.write(&quot;&lt;script src=\&quot;/feeds/posts/default/-/<data:content/>?orderby=published&amp;alt=json-in-script&amp;callback=labelthumbs\&quot;&gt;&lt;\/script&gt;&quot;);</script></div></b:includable></b:widget></b:section></div></b:if>

Download

Finally Save the Template and get out.

Now when you go to the Layout option of Blogger template, you will see two new widgets. Click on the Edit button and you will have to enter your desired Label Name in the empty cell only.


Customization:-
If you do not want to show the small Image Thumbnails on the right side of the widget, then type rshowpostthumbnails = true from the JavaScript above.


To exclude the Read More option, type displaymore = true.


There are several more options that you can understand yourself.


Note: If you do not have Jquery and Font Awesome added to your template, you must add them



Thanks For Reading The Post


COMMENTS

Name

Android,37,Apps Review,57,Blogger,39,C Programing,3,Facebook,23,Game Review,14,Hacking,43,JavaScript,4,LifeStyle,9,Online Earning,63,Pdf Books,4,Tech News,22,Technology Update,18,Tools,12,Web Development,25,Windows (PC),46,Wordpress,30,Youtube,39,
ltr
item
Largest Technology Website : Add Blogger Recent Post Widget By Label With Multi Thumbnails...!!
Add Blogger Recent Post Widget By Label With Multi Thumbnails...!!
This type of widget can be easily enhanced by displaying the important Label posts of the blog in front of the visitors using the main page of the blog. Moreover, those who are using magazine type blogs have to add such widgets to their blogs. We'll show you how to add two widgets together. However, if you wish, you can use it as much as you want. Also, JavaScript has many options, so you can easily control it. I don't want to say too much about the widget.
https://1.bp.blogspot.com/-o9BidhDL-oA/Xag0L6Rs9_I/AAAAAAAADnA/3Heq5es2KYoXHvqTz7Ss72EM8zaOvDF4ACNcBGAsYHQ/s400/Post%2BNo%2B_%2B%2B1_2019-10-17_101329%257E2.jpg
https://1.bp.blogspot.com/-o9BidhDL-oA/Xag0L6Rs9_I/AAAAAAAADnA/3Heq5es2KYoXHvqTz7Ss72EM8zaOvDF4ACNcBGAsYHQ/s72-c/Post%2BNo%2B_%2B%2B1_2019-10-17_101329%257E2.jpg
Largest Technology Website
https://www.flagbd.com/2019/10/add-blogger-recent-post-widget.html
https://www.flagbd.com/
https://www.flagbd.com/
https://www.flagbd.com/2019/10/add-blogger-recent-post-widget.html
true
2875505316624058831
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy