col
// Add Shortcode
function col_1_3_shortcode( $atts ) {
// Attributes
extract( shortcode_atts(
array(
'xs' => '4',
'sm' => '6',
'md' => '12',
), $atts )
);
// Code
return '
<div class="col-xs-"'.$xs .'"></div>';
}
add_shortcode( '33 % | 33% | 33%', 'col_1_3_shortcode' );