This plugin creates a jQuery accordion slider from the images you upload displayed in your theme via php code or a shortcode.
The WP Accordion Slider plugin allows you to upload images from your computer, which will then be used to generate a jQuery Accordion of the images. Custom titles and content from various sources can be shown. Content, excerpt, and content limits can all be used for posts and pages.
Each image can also be given a URL which, when the image is active in the slideshow, will be used as an anchor wrapper around the image, turning the image into a link to the URL you specified. Images can also be deleted via the plugins Administration page.
IMPORTANT: You must have ‘post-thumbnails’ enabled to use this plugin.
- Set Auto Play (and thus, slide delay, whether to pause on hover, and auto restart delay)
- Create custom titles
- Set caption height, delay, and easing
- Create custom content for captions or capture content from the post’s or page’s content, content limit or excerpt.
- Set accordion navigation key. If set to true, users can use right/left arrows to navigate through the accordion slider.
- Custom set the div/ul ids as well as set the image/div sizes.
- Ability to Deactivate/Reactivate images/slides without deleting them
- Set Caption Background (white/black) transparency
- Cross browser tested (IE7+, FF 3.6+, Chrome 10+)
- Upload the entire
wp-accordionfolder to the `/wp-content/plugins/` directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Configure the plugin, and upload/edit/delete images via the “WP-Cycle” menu within the “Media” tab
wp_accordion();in your theme where you want the slideshow to appear
- Alternatively, you can use the shortcode
[wp_accordion]in a post or page to display the slideshow.
Frequently Asked Questions
My accordion is not appearing?
- Check with your host to ensure that $_GET is enabled.
- Check your CSS.
My images won’t upload. What should I do?
The plugin uses built in WordPress functions to handle image uploading. Therefore, you need to have [correct permissions](http://codex.wordpress.org/Changing_File_Permissions “Changing File Permissions”) set for your uploads directory.
Also, a file that is not an image, or an image that does not meet the minimum height/width requirements, will not upload. Images larger than the dimensions set in the Settings of this plugin will be scaled down to fit, but images smaller than the dimensions set in the Settings will NOT be scaled up. The upload will fail and you will be asked to try again with another image.
Finally, you need to verify that your upload directory is properly set. Some hosts screw this up, so you’ll need to check. Go to “Settings” -> “Miscellaneous” and find the input box labeled “Store uploads in this folder”. Unless you are absolutely sure this needs to be something else, this value should be exactly this (without the quotes) “wp-content/uploads”. If it says “/wp-content/uploads” then the plugin will not function correctly. No matter what, the value of this field should never start with a slash “/”. It expects a path relative to the root of the WordPress installation.
I’m getting an error message that I don’t understand. What should I do?
Please use my support form. This plugin is now relatively stable, so if you are experiencing problems that you would like me to diagnose and fix, please use my support form.
As much as I would like to, in most cases, I cannot provide free support.
How can I style the slideshow further?
In the settings of the plugin, you’re able to set a custom DIV/UL ID for the slideshow. Use that DIV/UL ID to style the slideshow however you want using CSS.
In what order are the images shown during the slideshow?
Chronologically, from the time of upload. For instance, the first image you upload will be the first image in the slideshow. The last image will be the last, etc.
Can I reorder the images?
Why won’t my images reorder?
The images do reorder. You may need to clear your cache or your site’s cache.
Can I create anything other than images with this plugin?
Yes, feel free to explore what the custom content can do. However, out of the box, the custom content will serve as a caption. There are plans to incorporate the ability to have custom content for the entire area.
Do you have future plans for this plugin?
Yes. Here are some things that I want to eventually include:
- Add ability to reorder the images
- Add the ability to override settings by using function/shortcode arguments: “
- Add more custom post type support that reflect pages/posts under hyperlink/page ID/post ID
- Add tooltip functionality
- Add different types of accordions
- Add ability to have multiple accordions
- Initial Public Beta
I owe a huge debt of gratitude to all the folks at StudioPress, their themes make life easier. This plugin is built on top of Nathan Rice’s WP-Cycle with some enhancements and customizations designed towards an accordion slider.
And thanks to the various individuals who helped me through the beta testing. If you are interested in beta testing this plugin, please contact me.
Download at the WordPress Plugin Directory.