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' );