Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Phoenix responsive tabs wrapper

// Add Shortcode
function tabs_shortcode( $atts , $content = null ) {

	// Attributes
	extract( shortcode_atts(
		array(
			'orientation' => 'horizontal',
		), $atts )
	);

	// Code
	if ($a['orientation'] == "horizontal") {$orientation = 'horizontal';} else {$orientation = 'vertical';}

	$output = '';
	$output = '<div class="responsive-tabs-wrapper">';
	$output .= '<div class="responsive-tabs responsive-tabs-' . $orientation . ' responsive-tabs--enabled">';
	$output .= do_shortcode($content);
	$output .= '</div></div>';

	return $output;
}
add_shortcode( 'tabs', 'tabs_shortcode' );