Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Reference slider shortcode

// Add Shortcode
function refslider_wrapper_shortcode( $atts ) {

	// Attributes
	extract( shortcode_atts(
		array(
			'positon' => 'before',
		), $atts )
	);

	// Code
abc
}
add_shortcode( 'refslider-wrapper', 'refslider_wrapper_shortcode' );