<?php

add_shortcode('one_half', 'jaw_column');
add_shortcode('one_third', 'jaw_column');
add_shortcode('one_fourth', 'jaw_column');
add_shortcode('one_fifth', 'jaw_column');
add_shortcode('one_sixth', 'jaw_column');
add_shortcode('two_third', 'jaw_column');
add_shortcode('three_fourth', 'jaw_column');
add_shortcode('two_fifth', 'jaw_column');
add_shortcode('three_fifth', 'jaw_column');
add_shortcode('four_fifth', 'jaw_column');
add_shortcode('five_sixth', 'jaw_column');
add_shortcode('one_half_last', 'jaw_column');
add_shortcode('one_third_last', 'jaw_column');
add_shortcode('one_fourth_last', 'jaw_column');
add_shortcode('one_fifth_last', 'jaw_column');
add_shortcode('one_sixth_last', 'jaw_column');
add_shortcode('two_third_last', 'jaw_column');
add_shortcode('three_fourth_last', 'jaw_column');
add_shortcode('two_fifth_last', 'jaw_column');
add_shortcode('three_fifth_last', 'jaw_column');
add_shortcode('four_fifth_last', 'jaw_column');
add_shortcode('five_sixth_last', 'jaw_column');


function jaw_column($atts, $content = null, $code) {

    return '<div class="' . $code . '">' . do_shortcode(trim($content)) . '</div>';
}

?>