Skip to content

contensio/plugin-slider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slider

Image and content sliders for Contensio.

Features

  • Create multiple named sliders, each with its own settings
  • Unlimited slides per slider: title, subtitle, description, image, CTA button
  • Per-slide overlay color/opacity and text position (left/center/right)
  • Per-slider options: autoplay, autoplay delay, transition (slide/fade), show arrows, show dots, height
  • Embed on any page via a block type (registered automatically on install)
  • Shortcode-style helper view for themes: @include('contensio-slider::partials.slider', ['slug' => 'hero'])
  • Pure-CSS + vanilla JS, no heavy dependencies, works on every browser
  • Touch/swipe support on mobile
  • Keyboard accessible (arrow keys move slides when focused)

Requirements

  • Contensio CMS ^2.0

Installation

composer require contensio/plugin-slider

Enable the plugin from the admin Plugins page. The CMS runs the migrations and registers the slider block type automatically.

Usage

  1. Go to Tools -> Sliders and create a slider.
  2. Open the slider and add slides with images, titles, CTAs.
  3. In the page editor, add a slider block and pick the slider you created.

Or embed directly in a theme:

@include('contensio-slider::partials.slider', ['slug' => 'hero'])

Publishing CSS / JS

The plugin ships minimal CSS and JS. They are auto-injected on any page that renders a slider. To override:

php artisan vendor:publish --tag=contensio-slider-assets

License

AGPL-3.0-or-later. See the LICENSE file.

About

Image and content sliders for Contensio - multiple slides per slider, autoplay, arrows, dots, embed via block type.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors