Skip to content

@bryceadams /gist:3962418
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
function wptuts_slider_shortcode( $atts, $content = null ) {
extract( shortcode_atts( array(
'id' => ''
), $atts ) );
ob_start();
wptuts_slider_template( $id );
$output = ob_get_clean();
return $output;
}
add_shortcode( 'slider', 'wptuts_slider_shortcode' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.