<!-- Default site post template -->
<?php 
echo td_panel_generator::box_start('Default post template (site wide)', false);
?>

<!-- Default post template -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title">DEFAULT SITE POST TEMPLATE</span>
        <p>Setting this option will make all post pages, that don't have a post template set, to be displayed using this template. You can overwrite this setting on a per post basis.</p>
    </div>
    <div class="td-box-control-full">
        <?php 
echo td_panel_generator::visual_select_o(array('ds' => 'td_option', 'option_id' => 'td_default_site_post_template', 'values' => td_api_single_template::_helper_td_global_list_to_panel_values()));
?>
    </div>
</div>

<?php 
echo td_panel_generator::box_end();
?>







<!-- featured images -->
            <span class="td-page-o-custom-label">
                Post template:
                <?php 
td_util::tooltip_html('
                        <h3>Post templates:</h3>
                        <p>Testing this When the default post template is set, the theme wiWhen the default post template is set, the theme wi</p>
                        <ul>
                            <li><strong>This setting overrides</strong> the Theme panel setting from <i>Post settings > Default post template</i></li>
                            <li><strong>On default</strong> - the post will load the template that is set in the Theme panel: <i>Post settings > Default post template</i></li>
                        </ul>
                    ', 'right');
?>
            </span>
            <div class="td-inline-block-wrap">
                <?php 
echo td_panel_generator::visual_select_o(array('ds' => 'td_post_theme_settings', 'item_id' => '', 'option_id' => 'td_post_template', 'values' => td_api_single_template::_helper_td_global_list_to_panel_values(), 'selected_value' => $mb->get_the_value('td_post_template')));
?>
            </div>
        </div>


        <!-- primary category -->
        <div class="td-meta-box-row">
            <span class="td-page-o-custom-label">
                Primary category:
                <?php 
td_util::tooltip_html('
                        <h3>Primary category explained:</h3>
                        <p>In ' . TD_THEME_NAME . ' theme each post has a <i>Primary category</i> and all the settings from that category will be trasfered to the post. The Primary category will
                        also be used as a category label that appears on the thumbs and the category breadcrumb</p>