Recent posts slider is a best way to show of you blog's recent posts as a slide show.You may see the slider such slider in many wordpress blogs but when coming to blogger it is certainly not much seen.This widget is shared by Abu-Farhan and using my own tricks further I customized this plugin to works perfect with your blog.If you are thinking that customization's will be hard then you are wrong,this gadget is very easy to customize and very easy to add.You don't need to add images,text or any links like other sliders all is Automatic :D. Here I am giving a tutorial about adding recent post slider to blogger.First take a preview on slider.
Live Demo ▼
How To Add This Slider To Blogger?
Step 1 - Applying Styles
- Go to Blogger Dashboard > Design > Edit HTML. (In new User Interface It Is - Dashboard > Template)
- As always download a copy of your template first.
- Now find for ]]></b:skin>
- Add below code just before ]]></b:skin>
/* START EasySlider By helperblogger.com */
#slide-container {
height: 360px;
position: relative;
width: 480px;
}
#slider {
height: 360px;
left: 25px;
overflow-x: hidden;
overflow-y: hidden;
position: relative;
width: 480px;
font-family: calibri;
}
.slide-desc {
background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6swhPusG6tXCCd1q6DznsMWOvyw3J_ba3JtW40hu616LjB0TNShpDIBQf1v6Heg9fEHYr4mU9mBcM4Zww5MaGLpXkwBhxoBDNbFsCtO7kiPzBt1pS-XDc0iQAJKR_D1v-Yiy_Osm92fA/s1600/darkbg.png) repeat scroll 0 0;
color: #FFFFFF;
padding: 10px;
position: absolute;
right: 0px;
text-align: left;
top: 0;
width: 200px;
z-index: 99999;
}
.slide-desc h2 {
display: block;
}
.crosscol .widget-content {
position: relative;
}
#slider ul, #slider li,
#slider2 ul, #slider2 li {
margin: 0;
padding: 0;
list-style: none;
}
#slider2 {
margin-top: 1em;
}
#slider li, #slider2 li {
/*
define width and height of list item (slide)
entire slider area will adjust according to the parameters provided here
*/
width: 480px;
height: 360px;
overflow: hidden;
}
#prevBtn, #nextBtn,
#slider1next, #slider1prev {
display: block;
width: 30px;
height: 77px;
position: absolute;
left: -30px;
text-indent: -9999px;
top: 71px;
z-index: 1000;
}
#nextBtn, #slider1next {
left: 520px !important;
}
#prevBtn, #nextBtn, #slider1next, #slider1prev {
display: block;
height: 77px;
left: 0;
position: absolute;
top: 132px;
width: 30px;
z-index: 1000;
}
#prevBtn a, #nextBtn a,
#slider1next a, #slider1prev a {
display: block;
position: relative;
width: 30px;
height: 77px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8yMK_UcgUYEciSx_A6DgaQ1gfjQo7qHFZirpOUD_tblbDEIn5I3TTeNFa9DdARgq85Blg3Cfo0A4UN4F9IXO8POJ_9hRn3lyALbJrH_l3GbWti2GLqdH_8VU-BmMff9Aw1suSDVe0Uc8/s1600/prev.png) no-repeat 0 0;
}
#nextBtn a, #slider1next a {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkE4xGoO0Jtr1y_Ls-TYgZ1_23FKEhumtnmekA4VqrUlhYcdJDf5sR7LAYbFG3QqAC1T4ooADZ0kIysfap8WN-31z979VbD2sa7Jv5qlDqA7z51h3qSOIa3nK5iSqUDqe6SsPjdMVvdgw/s1600/next.png) no-repeat 0 0;
}
/* numeric controls */
ol#controls {
margin: 1em 0;
padding: 0;
height: 28px;
}
ol#controls li {
margin: 0 10px 0 0;
padding: 0;
float: left;
list-style: none;
height: 28px;
line-height: 28px;
}
ol#controls li a {
float: left;
height: 28px;
line-height: 28px;
border: 1px solid #ccc;
background: #DAF3F8;
color: #555;
padding: 0 10px;
text-decoration: none;
}
ol#controls li.current a {
background: #5DC9E1;
color: #fff;
}
ol#controls li a:focus, #prevBtn a:focus, #nextBtn a:focus {
outline: none;
}
/* END EasySlider By helperblogger.com */
You can edit above CSS values as you wish.You may use our HTML Editor to see a live preview of your changes.(Note - If you are editing this gadget in HTML Editor then you have to add all three codes simultaneously in editor)
Step 2 - Adding JavaScript
- Now find for </body> tag
- Add below code just after/below </body> tag.
<!-- Start easy content slider by helperblogger.com -->
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js' type='text/javascript'></script>
<script src='http://helperblogger.ucoz.com/code/easySlider1.7.js' type='text/javascript'></script>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function(){
$("#slider").easySlider({
auto: true,
continuous: true
});
});
//]]>
</script>
<!-- End easy content slider by helperblogger.com -->
Now save your template.
Adding The Gadget
- Now go to Page Layout
- Add a Gadget > HTML/JavaScript
- Paste below piece of code and save it.
<div id="slider">
<script style="text/javascript" src="http://helperblogger.ucoz.com/code/easySlider.min.js"></script>
<script style="text/javascript">
var numposts_gal = 6;
var numchars_gal = 150;
var random_posts = false; // random posts
</script>
<!-- replace with your web address (marked with red color) -->
<script src="http://yourblog.blogspot.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=showgalleryposts&max-results=999999"></script>
</div>
- Now replace
yourblog.blogspot.com
with your own blog url.[Code Line - 10] (Only change blog URL don't change any other things.
- To change number of post find this
var numposts_gal = 6;
line in above code. (Code Line - 4)
- If you want to change number of characters to show in description find this piece of code
var numchars_gal = 150;
(Code Line - 5)
Now save your all the changes and you are done.Visit your blog to see this beautiful slide.
Follow this tutorial to show this gadget only on specific page or only in homepage.
Your questions,queries and feedback are always welcome.Also if you need any help about customizing this gadget then feel free to ask me.I'll glad to help you.
Good day....
Hi, nice post! The widget is awesome! I didn't know you could do automatic slider for blogger :).. I have 2 problems if you could help:
ReplyDelete1) I edited the numbers a little and now the arrows are in different locations in different browsers. How do I fix that?
My test blog: http://testingrevolution.blogspot.ca/
2) Also, I have I have 3 tabbed widget that has jquery too and they cannot both work at the same time, do you know a fix?
Thanks,
David and
i have the same problem
Deleteme too
DeleteHey, I like how you modified your widget. Can you please share the codes. thank you
Deletehello my friend, how are you?
ReplyDeletegreat post- but the slider dont seem to work.. can you please help?
www.archeb.com
10x
hello my friend, how are you?
ReplyDeletegreat post- but the slider dont seem to work.. can you please help?
www.archeb.com
10x
What is the problem ?
ReplyDeletethe slider doesnt move.. it only shows one post. :(
DeleteI have checked my code and it is working... Please apply the codes carefully.If you can't fix this problem then please send me your template in .xml format using our contact form.
DeleteHi I have a problem, the widget works but I noticed that my title doesn't show. i don't know what's wrong. :((
DeleteDear Rahul,
ReplyDeleteI'm trying to send you the xml file.. where can i send it.. i looked at your contact form and there is no way to attach a file..
thanks for your help!
yaniv
Here is the link for contact form.
Deletehttp://www.helperblogger.com/p/contact-us_22.html
thanks for your patience...
Hi, great widget!
ReplyDeleteInstalled it and works like a charm, only one question:
How you can set the rolling speed and how can I adjust the dimensions to fit my blog (I would like to put it beneath the page title and make it as wide - possibly with more than one post at a time)?
@Παιδί και Εργοθεραπεία - To adjust the speed you have to edit the script present in 2nd code line number 33. To adjust dimensions find these lines (4,6,10 and 15) in 1st CSS code
DeleteIs it also possible to make it wider so that it contains more than one slide at a time?
DeleteHi Rahul, thanks so much. I also want to adjust the timing of the slider, but I don't understand your response 17 April. the 2nd code doesn't have 33 lines. I appreciate your help.
ReplyDeleteok, figured it out. http://wordpress.org/support/topic/change-sliders-speed
ReplyDeleteHi,
ReplyDeletei did all of steps and It's not working. If you can, please help me :)
hey thank you so much for grabbing my attention on this widget,there was little error in the script of the slider and I have fixed it now.If you have already added this slider then kindly re-install the third code.If you not then follow above steps.
DeleteThe slider is really good. but I found it's a bit truoblesome since the prev & next buttons were not on their correct positions. It would be more convenient if you can fix that problem.
ReplyDeleteThanx!
SEMINAKEDGIRLS team
Ótimo slide vou adicionar ao meu blogger vai ser de grande utilidade!
ReplyDeleteObrigado!
Gostaria muito que você postasse esse design de comentário muito lindo ele :D
ReplyDeleteHay Mr.Rahul....
ReplyDelete. i have a problem ....
the size of my images on this "recent post with slider" so big. how to resize a images ???
you can see that on my blog [ http://gapteka-z.blogspot.com/ ]
please help me ... ^_^
adjust the width and height of the slider,images will automatically resized.
DeleteImages are Ok, Titles are Ok, Arrow Buttons are Ok but my description snippet is showing errors like that "Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4"
ReplyDeletePlease help me...
facebook and email subscriber is not working pls help
ReplyDeletehttp://ravikkumar569.blogspot.in/p/downloads.html
i am using ur 2nd option code i,e HTML/Javascript widget.
the following detials is used
Your Facebook Fan Page Username-- ravikumar569
Your Feedburner ID-- ravikkumar569@gmail.com
Your Twitter Username-- manjeetkumar567
facebook and email subscriber is not working pls help
ReplyDeletehttp://ravikkumar569.blogspot.in/
i am using ur 2nd option code i,e HTML/Javascript widget.
the following detials is used
Your Facebook Fan Page Username-- ravikumar569
Your Feedburner ID-- ravikkumar569@gmail.com
Your Twitter Username-- manjeetkumar567
Arrow of the slider has been dis positioned.Please Fix this ASAP!
ReplyDeletehttp://nepalnews-12.blogspot.com/
And How do you control the timing of each slide here ?????? Please specify
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteI would also like to take the controls out, both arrow images I do not want, how can I take them out, I've tried many things and nothing works
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteHello, It's perfect one. but i got a little problem with it,
ReplyDeleteWhen i open post page it show up above the post image or some words of the article and hide it, I just want this slideshow to appear only in the main page......??? Could you please, tell me how can i do it ?????
Waiting you answer!!!
Thanks for the script. I'm also having a problem with the positioning of the arrows. They appear too high and too far to the left on all browsers. Any thoughts on what I might have done wrong or how to fix?
ReplyDeleteThanks,
Dave
My site is at http://advodna.com
Deletethank you so much..i love it..
ReplyDeleteragav... its my site.. www.viswaroobam.com..do a visit for fun
Hi, i am usgin this in my blog but i can´t center the slider, i have tried everything and still cand do it, is it possible to help me? if we could chat via msn would be great.
ReplyDeleteBest Regards.
I am using your code but i am facing big prob , plz help me
ReplyDeleteBy any chance do you know why the buttons are off centered?
ReplyDeleteI have it here www.mateogodlike.com
Hi,
ReplyDeleteI cannot find where it says "Page Layout > Add a Gadget > HTML/JavaScript. Can you please help??
Thank you,
Mark
that`s my problem too!
Deletethis is it, follow this link, but first you have to change (your blogger ID here) in the link below.
Deletehttp://www.blogger.com/rearrange?blogID=(your blogger ID here)sectionId=crosscol&action=editWidget&widgetType=HTML&referrer=directory
Thanks so much!!
ReplyDeleteI searched long and hard for a dynamic slider and I'm glad I finally found it!
Hello. Anyone knows how to remove the title and the description, leaving only pictures sliding? Thanks
ReplyDeleteno image available :(
ReplyDeletewhat's wrong with mine? :(
hi. how to make it larger? i tried but background pictures are still the same size. help :)
ReplyDeletecheck our cool blog
ReplyDeletehttp://easy2earnquick.blogspot.in/
the blog http://techcorporate.blogspot.in/ has fantatsic content all about tech you can view it by the link provide and offcourse the blog is using most of the widgets and tricks from this site
ReplyDeletereally this is very good
you can view it at http://techcorporate.blogspot.in/
This is absolutely awesome! Thank you for sharing.
ReplyDeleteThanks For This Great Post...
ReplyDeleteVisit My Blog Now
Is there a way to make the slides to stay longer until they go to the next one?
ReplyDeletehow to change the speed of slide?, thanx
ReplyDeletespeed: looking for this tag: continuous: true,
ReplyDeletereplace this: continuous: true,
controlsShow: false,
speed: 4000,
pause: 4000
why i don't see the next of the Pre Button on the slide?
ReplyDeleteHi, how can I modify the plugin so I can use it in a template with another jquery plugin but of version 1.4.8.?
ReplyDeleteHi,
ReplyDeleteI tried to include this widget in my blog but nothing shows up (only "prev" and "next" buttons)
error message javascript:void(0) when trying to activate "next" and "prev" buttons
It seems not to find the recent posts...
my blog is here :
http://parentscherelles.blogspot.fr
can you help ?
how to see video also but now picture only
ReplyDeleteYou`ve made a good job :) works really fine. thx!
ReplyDeletehttp://www.hotnewsblog.net
when you post this onto your blogger the text font corresponds to your own blogs text style
ReplyDeleteso every time i post this code onto my blog, the slider post titles come out black color, which is not visible
how do i change the color of the text?
changing the given code does not work.
through trial and error i have come to release something in my blog html has to change, any idea ?
Thanks Rahul, The widget is working on my blog but I want to know how to use it for "announcements" or "events" instead of recent posts?
ReplyDeleteAgain Rahul, I want to know why my sliders (arrows) are above the main slider (in the main menu). How do I bring them near the slider?
ReplyDeleteThis is my blog: ghanacampuses.blogspot.com or campuzfilla.com. Thanks and hope to hear from you!
ReplyDeletefor people who have problem with arrows and want to delete them just do this: find in the first HTML code the code:
#nextBtn, #slider1next {
left: 520px !important;
and just delete it.
This comment has been removed by the author.
ReplyDeleteTo change the speed:
ReplyDeleteLook for this section:
$(document).ready(function(){
$("#slider").easySlider({
auto: true,
continuous: true
});
the auto and continous are variables. you can add the following 2:
$("#slider").easySlider({
auto: true,
continuous: true,
pause: 4000,
speed: 800
});
pause 4000 means "Wait 4 seconds before switching post"
speed 800 means "take .8 of a second to scroll in new image"
Hi
ReplyDeletethis is really interesting i will try in my website
www.umdeema.com
thanks a lot. permit me to share. bravo and nice share
ReplyDeleteHey,
ReplyDeleteI want to resize this to 930x300. How can i do that? Please answer me, i'm tired to change all the updaate on manual update.
Thx
Really interesting going to try it.Thanks
ReplyDeleteslideful.com
ReplyDeleteHi I am from Manager Review and this is just what we needed to make my posts more appealing to our audience.
ReplyDeletehow can w=i increase the width of the slider to use it as a header?
www.managereview.blogspot.com
Superb man
ReplyDeletehttp://thetrickslab.com
Thank you very much I was struggling with this tricks but now I have added this to my blog...whole credit goes to you...
ReplyDeleteThanks worked fine on http://curioussoft.blogspot.com/
ReplyDeleteMy feed is routed through feedburner ..... I believe that's why images are not showing. Can you please help me out?
ReplyDeleteAnother thing, the prev/next tabs are not showing on slides. when I changed position to relative their position changed but there is big gap under slider. Please help....how to remove it.
my blog....
http://muvicut.blogspot.com/
Good Content..Well Programmed..Great think about this program. Congrats for given this post here.
ReplyDeleteBoom Barriers
Boom Barriers
Gate Barriers
Gate Barriers
i am using the same on my blog http://zindagi125.blogspot.in/
ReplyDelete....
awesome programme
well thanx rahul sir
It doesn't work on mine too :(
ReplyDeletehello, pls help me i put the third code on in html section of a static page of my blogspot url and it worked but unfortunately when i tried it on my custom domain its not showing anything please help me fix this, i will be very garteful here is the page http://www.trendynaija.com/p/home-page.html
ReplyDelete
ReplyDeleteGood blog and the contents are really nice, thanks for sharing here with us.
parking management
parking guidance
parking counting
This is a really excellent read for me. Must agree that you are one of the best bloggers I ever saw. Thanks for posting this informative article.
ReplyDeleteCD Manufacturing
I tried a lot of scripts with no results. but these here really works. Now what I want to do is to have slider a little bit wider. Could you tell me what is the number for that or what should I change to make it wider.
ReplyDeleteThanks
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteGenuinely good thanks, I do believe your trusty audience would probably want a great deal more blog posts of this nature maintain the good hard work.
ReplyDeletehttp://www.promodisc.org/glossary/cd-replication
why my blogs it show no image available why its show like an image and doesn't automatic scrolll
ReplyDeleteAt my blog it doent show anything. All codes are correct =/ please help Sanny makeupcouture.de
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteHi Rahul, I have a gaming website called www.irobotgaming.com but I wanted to know if I can automate my existing Slide slide to reflect my latest Posts?
ReplyDeleteCan you please let me know, I would really really appreciate it.
Thank you
craigcreationz@gmail.com
greeeeeeeeeeeeeat
ReplyDeleteIt does not work, only one slide is shown, I've pasted the exact code and it does not work. The buttons are not shown and only the last post is shown but it's a static one
ReplyDeleteYes your are wright and thanks for post a good topic . your post is
ReplyDeletetop most in related post of Automatic Recent Posts Slider With j Query For Blogger.
Yes your are wright and thanks for post a good topic . your post is
ReplyDeletetop most in related post of How To Add This Slider To Blogger?
saya tidak bisa melihat demonya :(
ReplyDeletemy slider is not working, help me please
ReplyDeletehttp://www.hotteg.com
Valuable information and excellent design you got here! I would like to thank you for sharing your thoughts and time into the stuff you post!! Thumbs upNational news in pakistan
ReplyDeletecan i use this method on my php script?
ReplyDeletemy site URL is www.xpennyauctions.com
ReplyDeletei want to add homepage auto post slideshow please help
hey, i'm just trying this code. but i've got this problem --> Invalid widget: "HTML4
ReplyDeleteError 400", when adding the gadget, save... and then appear this problem. thank you
Hi, you could help me? It doesn't appear in my blog
ReplyDeleteit just put a blank white space for slides but slides not appear, help pls
ReplyDeleteIt tried but its not working.. may be there's something i need to change.
ReplyDeleteThanks