An extensible jQuery text and image slider for WordPress posts, pages and widgets
The primary functions of the plugin are handled in the admin dashboard, inside the dashboard there are 3 sub menus which are used to access all the features of this plugin.
Adding a new gallery is easy, Go to the gallery overview page and select "Add New Gallery".
Add the details of your gallery, and select the animation type, then click submit. Simple!
It is simple to add a new slide, Go to the slide addition page and fill in the form making sure to select the Gallery and Slide Type then click submit
The following options are available when adding a new gallery:
The following options are available when adding a new slide:
You can register your own animation type to the plugin by calling the WPTIS::public_register_animation function in the plugin with the following 4 parameters:
In the PHP for your animation, the animation must be inside a function called "output" for it to work. Output also accepts 3 arguments, $ID is the gallery id, $SLIDES is the array of slides, $gallery is the information about the gallery.
To remove your animation from the system, call the function WPTIS::public_unregister_animation with the name of the animation as a parameter. This can be used to remove any animation you no longer need on the system. The core animation types are automatically re-added on plugin activation
You can register your own slide types to the system as well, so where we have already added Image and HTML, you may wish add others, or your own formatting of the image/html types. To add your own type, simply call WPTIS::public_register_slide_type with the following parameters:
The function inside the processing file must be able to accept 2 arguments, $slide is an array of information about the slide and $gallery is an array of information about the gallery.
To remove your slide type from the system, call the function WPTIS::public_unregister_slide_type with the name of the slide type as a parameter. This can be used to remove any slide types you no longer need on the system. The core slide type types are automatically re-added on plugin activation
To add your gallery to a post or page, simply use the shortcode: [WPTIS_gallery id=XX] where XX is the id of your gallery obtained from the plugin gallery view page.