Magic-Slider

Speedup WordPressMagic-SliderDonateGitHub

Responsive slider.

Magic-Slider features:

  • Responsive slider based on bxslider jQuery plugin
  • Plugin has basic settings which can be overwritten via params
  • [magic_slider] shortcode with params
  • magic_slider_output() php function with params

Shortcode usage:

[magic_slider height="400" category="24" mode="fade" speed="500" auto="1" pause="4000" pager="1"]

PHP usage:

<?php
$magic_slider_settings = array(
    'height' => 400,
    'category' => 24,
    'mode' => 'fade',
    'speed' => 500,
    'auto' => 1,
    'pause' => 4000,
    'pager' => 1
);
if (function_exists('magic_slider_output')) {
    echo magic_slider_output( $magic_slider_settings );
}
?>

Leave a Comment