I’m looking for a plugin that will let me easily place a jQuery based (because I want to avoid the hassle of multiple javascript libraries) slider on my site in various places. I’d like it to be able to handle images as well as html. I’m aware of the Featured Content Gallery plugin, but I would like to find an alternative (partly because of this tweet by Brad Williams, whose opinion I trust).
Ideally, I’d like something that can automatically create a ‘slideshow’ based on categories, tags, recent posts, etc., but that can also let me manually create a ‘slideshow’ with whatever post, image, or other content I want to use.
Edit: I’m looking for a WordPress plugin, not just a jQuery plugin.
I know you said you are looking for a WordPress Plugin but most of the content sliders are very easy to add manually and will be a lot less bloated because you only have to add the features you want to use. I will give a few options:
JQuery Cycle (by far the simplest for images)
I use this for images and wrote a short code for it so it can easily be added to posts, pages or widgets. To use add the div class and shortcodes for the images:
In footer.php just call the cycle.js you download from http://jquery.malsup.com/cycle/download.html
and add this between script tags or to your master js
jQuery(function() {
jQuery(‘.slideshow’).cycle();
});
For Sliders that contain posts, HTML, or pretty much anything I use JQuery Tools Scrollable
http://flowplayer.org/tools/scrollable/index.html
The instructions on the jQuery Tools site are very well written and basically you wrap the slider in a div then the individual posts or items are wrapped in another div inside the main one.
You have to call the plugin js in your footer and add the function to your master js or in script tags:
jQuery(function() {
jQuery(“.scrollable”).scrollable({vertical:true,mousewheel:false});
});
EDIT: Add query post by category to any template file to allow end user to add posts to the slider.
The following code would add any posts in category 8 to the slider:
To make the whole setup more Plugin like, register and enqueue jquery tools in functions.php
Now add another function to add the slider configuration:
I’ve settled on the SlideDeck plugin for WordPress for this project. In short, it’s very well put together, looks great, is very flexible, etc. etc. I’m pretty impressed thus far. The only drawback is that the free version includes a very small attribution image link, but honestly, it’s probably worth the $49 they want for the WP plugin.
I’ve been very happy with jcarousel. It works well, is easy to use and has some nice features.
Full disclosure, I’m about to recommend a jQuery plugin that I developed. – It’s also not a WordPress plugin (I’m working on it though), but can still be used effectively for what you’re suggesting (in fact the use you’re suggesting was my primary motivation for developing it).
I use Basic jQuery Slider (http://www.basic-slider.com) for my clients WordPress sites in combination with the OptionTree plugin (http://wordpress.org/extend/plugins/option-tree/) to create featured posts/content slides.
Basic jQuery Slider allows you to use whatever markup you like in the slides, so is perfect for creating a featured post/content slider with an image, heading, excerpt, etc. To allow the user to manage the content of the slides, I use OptionTree, with a simple select field for each slide which contains all of the pages/posts currently in the site. It’s just up to you to configure the slider in your templates by pulling out the relevant pieces of content from the posts that the user has selected. Alternatively, you could let the user select a category, tag, etc and pull in content for the slider based on that.
It’s also possible using that combination to create and manage multiple sliders on your site.
I’m currently working on turning this in to a full featured (and free) WordPress plugin.
Hope that helps and wasn’t too self-promote-y 🙂