ValentinGenev / sand-carousel-wp

A WordPress Plugin for carousels :newspaper: :vhs:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sand Carousel WP

This plugin creates custom post type named Slide that's displayed in the Sand Carousel. WARNING the project is still in development.

About

The carousels created with this plugin can be placed everywhere with the use of the plugin's shortcode:

[sand_carousel group='slides-group-slug' duration=5000 transition=500 resizable=0 autoplay=1 arrows=1 image_size='large' id='my_carousel' className='my-carousel']

The slides of the carousel are stored in the custom post type Slide. The plugin also creates a custom taxonomy called Slides Groups to handle the packaging of the slides into carousels.

Shortcode options

  • group controls which group of slides should be shown in the carousel; if no group was specified, the carousel will show all slides.
  • duration sets the duration of the slides in ms. The default is 5000.
  • transition sets the duration of the transition animation in ms. The default is 500.
  • resizable controls whether or not the carousel should be resizable; if resizable is set to 1 the autoplay will be set to 0 automatically. The default is 0.
  • autoplay controls whether or not the carousel should autoplay. The default is 1.
  • arrows determines the controls of the carousel. The default is 1 for arrow controls; 0 is for dots.
  • image_size determines the size of the attached image. The default is 'full'.
  • id adds id to the carousel's containing element.
  • className adds class to the carousel's containing element.

About

A WordPress Plugin for carousels :newspaper: :vhs:

License:GNU General Public License v3.0


Languages

Language:PHP 95.7%Language:JavaScript 2.2%Language:CSS 2.2%