} ?> <div id="tmm_shortcode_template" class="tmm_shortcode_template clearfix"> <div class="one-half"> <?php TMM_Ext_Shortcodes::draw_shortcode_option(array('type' => 'select', 'title' => __('Category', 'tmm_shortcodes'), 'shortcode_field' => 'category', 'id' => 'category', 'options' => TMM_Helper::get_post_categories(), 'default_value' => TMM_Ext_Shortcodes::set_default_value('category', ''), 'description' => '')); ?> </div><!--/ .ona-half--> <div class="one-half"> <?php TMM_Ext_Shortcodes::draw_shortcode_option(array('type' => 'select', 'title' => __('Order By', 'tmm_shortcodes'), 'shortcode_field' => 'orderby', 'id' => 'orderby', 'options' => TMM_Helper::get_post_sort_array(), 'default_value' => TMM_Ext_Shortcodes::set_default_value('orderby', ''), 'description' => '')); ?> </div><!--/ .ona-half--> <div class="one-half"> <?php TMM_Ext_Shortcodes::draw_shortcode_option(array('type' => 'checkbox', 'title' => __('Meta Data', 'tmm_shortcodes'), 'shortcode_field' => 'show_metadata', 'id' => 'show_metadata', 'is_checked' => TMM_Ext_Shortcodes::set_default_value('show_metadata', 1), 'description' => __('Show/Hide Meta Info', 'tmm_shortcodes'))); ?> </div> <div class="one-half"> <?php TMM_Ext_Shortcodes::draw_shortcode_option(array('type' => 'select', 'title' => __('Order', 'tmm_shortcodes'), 'shortcode_field' => 'order', 'id' => 'order', 'options' => array('DESC' => __('DESC', 'tmm_shortcodes'), 'ASC' => __('ASC', 'tmm_shortcodes')), 'default_value' => TMM_Ext_Shortcodes::set_default_value('order', 'DESC'), 'description' => ''));