Skip to content

Instantly share code, notes, and snippets.

@georgeolaru
Last active August 29, 2015 14:06
Show Gist options
  • Save georgeolaru/b76857ba1db4106f43fb to your computer and use it in GitHub Desktop.
Save georgeolaru/b76857ba1db4106f43fb to your computer and use it in GitHub Desktop.
Rosa - Slider Shortcode Autoplay
<?php
$return_string = '<div class="pixcode-slider pixslider js-pixslider" ' . $navigation_style . ' data-slidertransition="' . $custom_slider_transition . '" data-sliderautoplay="true" data-sliderdelay="1500">';
$return_string .= do_shortcode( $content );
$return_string .= '</div>';
echo $return_string;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment