<!-- smart sidebar support -->
<?php echo td_panel_generator::box_start(__('Smart sidebar', TD_THEME_NAME), false); ?>

<div class="td-box-row">

    <div class="td-box-description td-box-full">
        <?php echo td_api_text::get('text_smart_sidebar_widget_support') ?>
    </div>

    <div class="td-box-row">
        <div class="td-box-description td-box-full">
            <span class="td-box-title"><?php _e('Warning', TD_THEME_NAME); ?></span>
            <p><?php _e('If you plan to use Google AdSense in the sidebar don\'t enable this feature. Google\'s policy doesn\'t allow placing the ad in a "floating box", you can read more about it <a target="_blank" href="https://support.google.com/adsense/answer/1354742?hl=en">here</a>.', TD_THEME_NAME); ?></p>
        </div>
    </div>

    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('Smart sidebar', TD_THEME_NAME); ?></span>
            <p><?php _e('Enable / Disable the smart sidebar on all templates', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::checkbox(array(
                'ds' => 'td_option',
                'option_id' => 'tds_smart_sidebar',
                'true_value' => 'enabled',
                'false_value' => ''
            ));
            ?>
        </div>
    </div>

    <div class="td-box-row-margin-bottom"></div>

</div>

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



<!-- breadcrumbs -->
<?php if( 'Newsmag' == TD_THEME_NAME || ( 'Newspaper' == TD_THEME_NAME && defined('TD_STANDARD_PACK') ) ) {
    echo td_panel_generator::box_start(__('Breadcrumbs', TD_THEME_NAME), false); ?>

    <!-- text -->
    <div class="td-box-row">
        <div class="td-box-description td-box-full">
            <p><?php _e('From here you can customize the breadcrumbs that appear on your site. The breadcrumbs are a very useful
                navigation element that looks like this \'Home > My category > My article title\'
                Since the breadcrumbs are so important for humans and search engines
                crawlers, Newspaper comes with extensive configuration options for them.', TD_THEME_NAME); ?>
            </p>
        </div>
        <div class="td-box-row-margin-bottom"></div>
    </div>

    <div class="td-box-section-separator"></div>

    <!-- Show breadcrumbs on post -->
    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('SHOW BREADCRUMBS', TD_THEME_NAME); ?></span>
            <p>
                <?php _e('Enable or disable the breadcrumbs', TD_THEME_NAME); ?>
                <?php td_util::tooltip_html(__('
                    <h3>Enable / disable breadcrumbs:</h3>
                    <p>From here you can enable and disable the breadcrumbs. This setting affects all the site pages.</p>

            ', TD_THEME_NAME), 'right') ?>
            </p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::checkbox(array(
                'ds' => 'td_option',
                'option_id' => 'tds_breadcrumbs_show',
                'true_value' => '',
                'false_value' => 'hide'
            ));
            ?>
        </div>
    </div>

    <div class="td-box-section-separator"></div>

    <!-- Show breadcrumbs home link -->
    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('SHOW BREADCRUMBS HOME LINK', TD_THEME_NAME); ?></span>
            <p>
                <?php _e('Show or hide the home link in breadcrumbs', TD_THEME_NAME); ?>
                <?php td_util::tooltip_html(__('
                    <h3>Show or hide the home link in breadcrumbs:</h3>
                    <p>We recommend that you leave this setting Enabled for better usability and SEO. The \'home\' link in the breadcrumbs provides an easy access to the homepage of the site.</p>

            ', TD_THEME_NAME), 'right') ?>
            </p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::checkbox(array(
                'ds' => 'td_option',
                'option_id' => 'tds_breadcrumbs_show_home',
                'true_value' => '',
                'false_value' => 'hide'
            ));
            ?>
        </div>
    </div>

    <!-- Show breadcrumbs parent category -->
    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('SHOW PARENT CATEGORY', TD_THEME_NAME); ?></span>
            <p>
                <?php _e('Show or hide the parent category link ex: Home > parent category > category', TD_THEME_NAME); ?>
                <?php td_util::tooltip_html(__('
                    <h3>Show parent category:</h3>
                    <p>If the \'primary category\' of the post has a parent category, it will show up in the breadcrumb only if this setting is enabled</p>
            ', TD_THEME_NAME), 'right') ?>
            </p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::checkbox(array(
                'ds' => 'td_option',
                'option_id' => 'tds_breadcrumbs_show_parent',
                'true_value' => '',
                'false_value' => 'hide'
            ));
            ?>
        </div>
    </div>

    <!-- show Breadcrumbs article title -->
    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('SHOW ARTICLE TITLE', TD_THEME_NAME); ?></span>
            <p>
                <?php _e('Show or hide the article title on post pages', TD_THEME_NAME); ?>
                <?php td_util::tooltip_html(__('
                    <h3>Show article title in breadcrumbs:</h3>
                    <p>If you do not require this for specific reasons, it can be disabled. This setting only affects the breadcrumbs. Not the article title of the post!</p>
            ', TD_THEME_NAME), 'right') ?>
            </p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::checkbox(array(
                'ds' => 'td_option',
                'option_id' => 'tds_breadcrumbs_show_article',
                'true_value' => '',
                'false_value' => 'hide'
            ));
            ?>
        </div>
    </div>

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



<!-- Lazy loading animation -->
<?php echo td_panel_generator::box_start(__('Image loading - animations (LazyLoad)', TD_THEME_NAME), false); ?>

<!-- text -->
<div class="td-box-row">
    <div class="td-box-description td-box-full">
        <p><?php _e('The effect animation allows you to animate your theme images as you scroll, from top to the bottom.
            It applies even on the next and prev operations creating an effect of loading images to the right or to the left.', TD_THEME_NAME); ?></p>
        <p><?php _e('The animation effect is canceled if all the required images are not loaded in <b>2 seconds</b>. This rule is also available at block\s loading content using ajax, if the animation is enabled.', TD_THEME_NAME); ?></p>
    </div>
    <div class="td-box-row-margin-bottom"></div>
</div>

<!-- use lazy loading animation -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title"><?php _e('Use loading animation image', TD_THEME_NAME); ?></span>
        <p><?php _e('Disable or enable loading animation effect.', TD_THEME_NAME); ?></p>
    </div>
    <div class="td-box-control-full">
        <?php
        echo td_panel_generator::checkbox(array(
            'ds' => 'td_option',
            'option_id' => 'tds_animation_stack',
            'true_value' => '',
            'false_value' => 'no'
        ));
        ?>
    </div>
</div>

<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title"><?php _e('Loading effect', TD_THEME_NAME); ?></span>
        <p><?php _e('You can choose one of the following effects which will be used at the first images loading.', TD_THEME_NAME); ?></p>
    </div>
    <div class="td-box-control-full">
        <?php
        echo td_panel_generator::radio_button_control(array(
            'ds' => 'td_option',
            'option_id' => 'tds_animation_stack_effect',
            'values' => td_global::$td_animation_stack_effects
        ));
        ?>
    </div>
</div>

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



<?php if ( 'Newspaper' == TD_THEME_NAME && defined('TD_STANDARD_PACK')  ) { ?>

    <!-- Force full width -->
    <?php echo td_panel_generator::box_start(__('Force full width', TD_THEME_NAME), false); ?>
    <!-- text -->
    <div class="td-box-row">
        <div class="td-box-description td-box-full">
            <p><?php _e('From here you can stretch the container or the content for different sections like header, menu or footer.', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-row-margin-bottom"></div>
    </div>

    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('Header ⇢ Top bar', TD_THEME_NAME); ?></span>
            <p></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::dropdown(array(
                'ds' => 'td_option',
                'option_id' => 'td_full_top_bar',
                'values' => array(
                    array('text' => 'No stretch' , 'val' => ''),
                    array('text' => 'Stretch container' , 'val' => 'td_stretch_container'), // .td_stretch_container
                    array('text' => 'Stretch container and 1200px content' , 'val' => 'td_stretch_container td_stretch_content_1200'),
                    array('text' => 'Stretch container and 1400px content' , 'val' => 'td_stretch_container td_stretch_content_1400'),
                    array('text' => 'Stretch container and 1600px content' , 'val' => 'td_stretch_container td_stretch_content_1600'),
                    array('text' => 'Stretch container and 1800px content' , 'val' => 'td_stretch_container td_stretch_content_1800'),
                    array('text' => 'Stretch container and content' , 'val' => 'td_stretch_content') // .td_stretch_content
                )
            ));
            ?>
        </div>

        <div class="td-box-description">
            <span class="td-box-title"><?php _e('Header ⇢ Logo and ad space', TD_THEME_NAME); ?></span>
            <p></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::dropdown(array(
                'ds' => 'td_option',
                'option_id' => 'td_full_header',
                'values' => array(
                    array('text' => 'No stretch' , 'val' => ''),
                    array('text' => 'Stretch container' , 'val' => 'td_stretch_container'), // stretch_container
                    array('text' => 'Stretch container and 1200px content' , 'val' => 'td_stretch_container td_stretch_content_1200'),
                    array('text' => 'Stretch container and 1400px content' , 'val' => 'td_stretch_container td_stretch_content_1400'),
                    array('text' => 'Stretch container and 1600px content' , 'val' => 'td_stretch_container td_stretch_content_1600'),
                    array('text' => 'Stretch container and 1800px content' , 'val' => 'td_stretch_container td_stretch_content_1800'),
                    array('text' => 'Stretch container and content' , 'val' => 'td_stretch_content') // stretch_content
                )
            ));
            ?>
        </div>

        <div class="td-box-description">
            <span class="td-box-title"><?php _e('Header ⇢ Menu', TD_THEME_NAME); ?></span>
            <p></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::dropdown(array(
                'ds' => 'td_option',
                'option_id' => 'td_full_menu',
                'values' => array(
                    array('text' => 'No stretch' , 'val' => ''),
                    array('text' => 'Stretch container' , 'val' => 'td_stretch_container'), // stretch_container
                    array('text' => 'Stretch container and 1200px content' , 'val' => 'td_stretch_container td_stretch_content_1200'),
                    array('text' => 'Stretch container and 1400px content' , 'val' => 'td_stretch_container td_stretch_content_1400'),
                    array('text' => 'Stretch container and 1600px content' , 'val' => 'td_stretch_container td_stretch_content_1600'),
                    array('text' => 'Stretch container and 1800px content' , 'val' => 'td_stretch_container td_stretch_content_1800'),
                    array('text' => 'Stretch container and content' , 'val' => 'td_stretch_content') // stretch_content
                )
            ));
            ?>
        </div>

        <div class="td-box-description">
            <span class="td-box-title"><?php _e('Header ⇢ Background', TD_THEME_NAME); ?></span>
            <p></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::dropdown(array(
                'ds' => 'td_option',
                'option_id' => 'td_full_header_background',
                'values' => array(
                    array('text' => 'No stretch' , 'val' => ''),
                    array('text' => 'Stretch container' , 'val' => 'td_stretch_container'), // stretch_container
                )
            ));
            ?>
        </div>

        <div class="td-box-description">
            <span class="td-box-title"><?php _e('Footer ⇢ Instagram', TD_THEME_NAME); ?></span>
            <p></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::dropdown(array(
                'ds' => 'td_option',
                'option_id' => 'td_full_footer_instagram',
                'values' => array(
                    array('text' => 'No stretch' , 'val' => ''),
                    array('text' => 'Stretch container and 1200px content' , 'val' => 'td_stretch_container td_stretch_content_1200'),
                    array('text' => 'Stretch container and 1400px content' , 'val' => 'td_stretch_container td_stretch_content_1400'),
                    array('text' => 'Stretch container and 1600px content' , 'val' => 'td_stretch_container td_stretch_content_1600'),
                    array('text' => 'Stretch container and 1800px content' , 'val' => 'td_stretch_container td_stretch_content_1800'),
                    array('text' => 'Stretch container and content' , 'val' => 'td_stretch_content') // stretch_content
                )
            ));
            ?>
        </div>

        <div class="td-box-description">
            <span class="td-box-title"><?php _e('Footer', TD_THEME_NAME); ?></span>
            <p></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::dropdown(array(
                'ds' => 'td_option',
                'option_id' => 'td_full_footer',
                'values' => array(
                    array('text' => 'No stretch' , 'val' => ''),
                    array('text' => 'Stretch container' , 'val' => 'td_stretch_container'), // stretch_container
                    array('text' => 'Stretch container and 1200px content' , 'val' => 'td_stretch_container td_stretch_content_1200'),
                    array('text' => 'Stretch container and 1400px content' , 'val' => 'td_stretch_container td_stretch_content_1400'),
                    array('text' => 'Stretch container and 1600px content' , 'val' => 'td_stretch_container td_stretch_content_1600'),
                    array('text' => 'Stretch container and 1800px content' , 'val' => 'td_stretch_container td_stretch_content_1800'),
                    array('text' => 'Stretch container and content' , 'val' => 'td_stretch_content') // stretch_content
                )
            ));
            ?>
        </div>
    </div>

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

<?php } ?>



<hr>
<div class="td-section-separator"><?php _e('WordPress Templates', TD_THEME_NAME); ?></div>



<!-- Theme information -->
<?php echo td_panel_generator::box_start(__('More information', TD_THEME_NAME)); ?>

<!-- text -->
<div class="td-box-row">
    <div class="td-box-description td-box-full">
        <p><?php _e('In this section you can configure the <a href="http://codex.wordpress.org/Template_Hierarchy" target="_blank">default WordPress Templates</a>. Most of the templates support the following configurations:', TD_THEME_NAME); ?></p>
        <ul>
            <li><?php _e('How to display posts in the default WordPress loops', TD_THEME_NAME); ?></li>
            <li><?php _e('Sidebar position', TD_THEME_NAME); ?></li>
            <li><?php _e('What sidebar to show', TD_THEME_NAME); ?></li>
        </ul>
    </div>

    <div class="td-box-row-margin-bottom"></div>
</div>

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



<!-- 404 template -->
<?php if( 'Newsmag' == TD_THEME_NAME || ( 'Newspaper' == TD_THEME_NAME && ( defined('TD_STANDARD_PACK') || td_global::is_tdb_registered() ) ) ) {
    echo td_panel_generator::box_start(__('404 template', TD_THEME_NAME), false, 'td-wait-for-ajax');
    ?>


    <div class="td-box-description td-box-full tdb-hide tdsp-hide">
        <p><?php _e('When a user requests a page or post that doesn\t exists, WordPress will use this template.', TD_THEME_NAME); ?></p>
        <ul>
            <li><?php _e('This template is located in <strong>404.php</strong> file.', TD_THEME_NAME); ?></li>
            <li><?php _e('Shows the latest 6 posts from your site and "Ooops... Error 404, Sorry, but the page you are looking for
                doesn\t exist." message', TD_THEME_NAME); ?>
            </li>
            <li>See here a <a href="<?php echo get_home_url() ?>/?p=9999999" target="_blank">sample 404 error</a> from
                your site
            </li>
            <li><?php _e('Read more: <a href="http://codex.wordpress.org/Creating_an_Error_404_Page" target="_blank">WordPress 404
                    error</a>, <a target="_blank" href="http://en.wikipedia.org/wiki/HTTP_404">HTTP 404</a>', TD_THEME_NAME); ?></li>
        </ul>
    </div>

    <!-- Custom Sidebar + position -->
    <div class="td-box-row tdb-hide tdsp-hide">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('ARTICLE DISPLAY VIEW', TD_THEME_NAME); ?></span>
            <p><?php _e('Select a module type, this is how your article list will be displayed', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full td-panel-module">
            <?php
            echo td_panel_generator::visual_select_o(array(
                'ds' => 'td_option',
                'option_id' => 'tds_404_page_layout',
                'values' => td_panel_generator::helper_display_modules('enabled_on_loops')
            ));
            ?>
        </div>
    </div>

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



<!-- Archive page -->
<?php if( 'Newsmag' == TD_THEME_NAME || ( 'Newspaper' == TD_THEME_NAME && ( defined('TD_STANDARD_PACK') || td_global::is_tdb_registered() ) ) ) {
    echo td_panel_generator::box_start(__('Archive template', TD_THEME_NAME), false, 'td-wait-for-ajax'); ?>

    <?php
    // prepare the archive links
    $cur_archive_year = date('Y');
    $cur_archive_month = date('n');
    $cur_archive_day = date('j');
    ?>

    <div class="td-box-description td-box-full tdb-hide tdsp-hide">
        <p><?php _e('This template is used by WordPress to generate the archives. By default WordPress generates daily, monthly
            and yearly archives', TD_THEME_NAME); ?></p>
        <ul>
            <li><?php _e('This template is located in <strong>archive.php</strong> file.', TD_THEME_NAME); ?></li>
            <li>
                <?php _e('Shows the latest posts by day, month or year. You can link to any year or month or day, not just the
                current one.
                <a href="http://codex.wordpress.org/Creating_an_Archive_Index">Read more</a>', TD_THEME_NAME); ?>
            </li>
            <li><?php _e('WordPress will emit a 404 error if there are no posts published in the selected period. This is good for
                SEO', TD_THEME_NAME); ?>
            </li>
            <li>
                <?php _e('Sample archives from your blog:', TD_THEME_NAME); ?>
                <a href="<?php echo get_year_link($cur_archive_year) ?>" target="_blank"><?php _e('current year', TD_THEME_NAME); ?></a>,
                <a href="<?php echo get_month_link($cur_archive_year, $cur_archive_month) ?>" target="_blank"><?php _e('current
                    month', TD_THEME_NAME); ?></a>,
                <a href="<?php echo get_day_link($cur_archive_year, $cur_archive_month, $cur_archive_day) ?>"
                   target="_blank"><?php _e('today', TD_THEME_NAME); ?></a>
            </li>
        </ul>
    </div>

    <!-- DISPLAY VIEW -->
    <div class="td-box-row tdb-hide tdsp-hide">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('ARTICLE DISPLAY VIEW', TD_THEME_NAME); ?></span>
            <p><?php _e('Select a module type, this is how your article list will be displayed', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full td-panel-module">
            <?php
            echo td_panel_generator::visual_select_o(array(
                'ds' => 'td_option',
                'option_id' => 'tds_archive_page_layout',
                'values' => td_panel_generator::helper_display_modules('enabled_on_loops')
            ));
            ?>
        </div>
    </div>

    <!-- Custom Sidebar + position -->
    <div class="td-box-row tdb-hide tdsp-hide">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('CUSTOM SIDEBAR + POSITION', TD_THEME_NAME); ?></span>
            <p><?php _e('Sidebar position and custom sidebars', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full td-panel-sidebar-pos">
            <div class="td-display-inline-block">
                <?php
                echo td_panel_generator::visual_select_o(array(
                    'ds' => 'td_option',
                    'option_id' => 'tds_archive_sidebar_pos',
                    'values' => array(
                        array('text' => '', 'title' => 'Sidebar Left', 'val' => 'sidebar_left', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-left.png'),
                        array('text' => '', 'title' => 'No Sidebar', 'val' => 'no_sidebar', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-full.png'),
                        array('text' => '', 'title' => 'Sidebar Right', 'val' => '', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-right.png')
                    )
                ));
                ?>
                <div class="td-panel-control-comment td-text-align-right"><?php _e('Select sidebar position', TD_THEME_NAME); ?></div>
            </div>
            <div class="td-display-inline-block td_sidebars_pulldown_align">
                <?php
                echo td_panel_generator::sidebar_pulldown(array(
                    'ds' => 'td_option',
                    'option_id' => 'tds_archive_sidebar'
                ));
                ?>
                <div class="td-panel-control-comment td-text-align-right"><?php _e('Create or select an existing sidebar', TD_THEME_NAME); ?></div>
            </div>
        </div>
    </div>

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



<!-- Attachment template -->
<?php if( 'Newsmag' == TD_THEME_NAME || ( 'Newspaper' == TD_THEME_NAME && ( defined('TD_STANDARD_PACK') || td_global::is_tdb_registered() ) ) ) {
    echo td_panel_generator::box_start(__('Attachment template', TD_THEME_NAME), false, 'td-wait-for-ajax'); ?>

    <div class="td-box-description td-box-full tdb-hide tdsp-hide">
        <p><?php _e('This template is used to show an attachment (usually an image). Usually is not used by WordPress on the front
            end only by the default gallery.', TD_THEME_NAME); ?></p>
        <ul>
            <li><?php _e('This template is located in <strong>attachment.php</strong> file.', TD_THEME_NAME); ?></li>
            <li><?php _e('To view this template go to Media ⇢ Library ⇢ open an image ⇢ click View attachement page', TD_THEME_NAME); ?></li>
        </ul>
    </div>

    <!-- Custom Sidebar + position -->
    <div class="td-box-row tdb-hide tdsp-hide">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('CUSTOM SIDEBAR + POSITION', TD_THEME_NAME); ?></span>
            <p><?php _e('Sidebar position and custom sidebars', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full td-panel-sidebar-pos">
            <div class="td-display-inline-block">
                <?php
                echo td_panel_generator::visual_select_o(array(
                    'ds' => 'td_option',
                    'option_id' => 'tds_attachment_sidebar_pos',
                    'values' => array(
                        array('text' => '', 'title' => 'Sidebar Left', 'val' => 'sidebar_left', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-left.png'),
                        array('text' => '', 'title' => 'No Sidebar', 'val' => 'no_sidebar', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-full.png'),
                        array('text' => '', 'title' => 'Sidebar Right', 'val' => '', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-right.png')
                    )
                ));
                ?>
                <div class="td-panel-control-comment td-text-align-right"><?php _e('Select sidebar position', TD_THEME_NAME); ?></div>
            </div>
            <div class="td-display-inline-block td_sidebars_pulldown_align">
                <?php
                echo td_panel_generator::sidebar_pulldown(array(
                    'ds' => 'td_option',
                    'option_id' => 'tds_attachment_sidebar'
                ));
                ?>
                <div class="td-panel-control-comment td-text-align-right"><?php _e('Create or select an existing sidebar', TD_THEME_NAME); ?></div>
            </div>
        </div>
    </div>

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



<!-- AUTHOR page -->
<?php if( 'Newsmag' == TD_THEME_NAME || ( 'Newspaper' == TD_THEME_NAME && ( defined('TD_STANDARD_PACK') || td_global::is_tdb_registered() ) ) ) {
    echo td_panel_generator::box_start(__('Author template', TD_THEME_NAME), false, 'td-wait-for-ajax'); ?>

    <div class="td-box-description td-box-full tdb-hide tdsp-hide">
        <p><?php _e('The author template is shown when a user clicks on the author in the front end of the site.', TD_THEME_NAME); ?></p>
        <ul>
            <li><?php _e('The default theme template is located in <strong>author.php</strong> file.', TD_THEME_NAME); ?></li>
            <li><?php _e('Under the author header, this template has a loop of the latest posts (loop.php)', TD_THEME_NAME); ?></li>
            <li>See a <a href="<?php echo get_author_posts_url(get_current_user_id()) ?>" target="_blank">demo of the
                    author page</a> for your current logged in user.
            </li>
        </ul>
    </div>

    <!-- DISPLAY VIEW -->
    <div class="td-box-row tdb-hide tdsp-hide">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('ARTICLE DISPLAY VIEW', TD_THEME_NAME); ?></span>
            <p><?php _e('Select a module type, this is how your article list will be displayed', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full td-panel-module">
            <?php
            echo td_panel_generator::visual_select_o(array(
                'ds' => 'td_option',
                'option_id' => 'tds_author_page_layout',
                'values' => td_panel_generator::helper_display_modules('enabled_on_loops')
            ));
            ?>
        </div>
    </div>

    <!-- Custom Sidebar + position -->
    <div class="td-box-row tdb-hide tdsp-hide">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('CUSTOM SIDEBAR + POSITION', TD_THEME_NAME); ?></span>
            <p><?php _e('Sidebar position and custom sidebars', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full td-panel-sidebar-pos">
            <div class="td-display-inline-block">
                <?php
                echo td_panel_generator::visual_select_o(array(
                    'ds' => 'td_option',
                    'option_id' => 'tds_author_sidebar_pos',
                    'values' => array(
                        array('text' => '', 'title' => 'Sidebar Left', 'val' => 'sidebar_left', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-left.png'),
                        array('text' => '', 'title' => 'No Sidebar', 'val' => 'no_sidebar', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-full.png'),
                        array('text' => '', 'title' => 'Sidebar Right', 'val' => '', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-right.png')
                    )
                ));
                ?>
                <div class="td-panel-control-comment td-text-align-right"><?php _e('Select sidebar position', TD_THEME_NAME); ?></div>
            </div>
            <div class="td-display-inline-block td_sidebars_pulldown_align">
                <?php
                echo td_panel_generator::sidebar_pulldown(array(
                    'ds' => 'td_option',
                    'option_id' => 'tds_author_sidebar'
                ));
                ?>
                <div class="td-panel-control-comment td-text-align-right"><?php _e('Create or select an existing sidebar', TD_THEME_NAME); ?></div>
            </div>
        </div>
    </div>

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



<!-- Blog and posts template -->
<?php echo td_panel_generator::box_start(__('Blog and posts template', TD_THEME_NAME), false); ?>

<div class="td-box-description td-box-full">
    <ul>
        <li><?php _e('All the settings form this box apply for <strong>index.php</strong> - the default blog index (the page where all the posts are listed one after another)', TD_THEME_NAME); ?></li>
        <li><?php _e('The sidebar position and the default sidebar are also applied for the single templates (<strong>single.php</strong>)', TD_THEME_NAME); ?></li>
        <li><?php _e('<strong>Just a tip</strong> - when you set a sidebar position or another sidebar while editing a post, that one will overwrite the one you set here.', TD_THEME_NAME); ?></li>
    </ul>
</div>

<div class="td-box-section-separator"></div>

<!-- ARTICLE DISPLAY VIEW -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title"><?php _e('ARTICLE DISPLAY VIEW', TD_THEME_NAME); ?></span>
        <p><?php _e('Select a module type, this is how your article list will be displayed', TD_THEME_NAME); ?></p>
    </div>
    <div class="td-box-control-full td-panel-module">
        <?php
        echo td_panel_generator::visual_select_o(array(
            'ds' => 'td_option',
            'option_id' => 'tds_home_page_layout',
            'values' => td_panel_generator::helper_display_modules('enabled_on_loops')
        ));
        ?>
    </div>
</div>

<!-- Custom Sidebar + position -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title"><?php _e('CUSTOM SIDEBAR + POSITION', TD_THEME_NAME); ?></span>
        <p><?php _e('Sidebar position and custom sidebars', TD_THEME_NAME); ?></p>
    </div>
    <div class="td-box-control-full td-panel-sidebar-pos">
        <div class="td-display-inline-block">
            <?php
            echo td_panel_generator::visual_select_o(array(
                'ds' => 'td_option',
                'option_id' => 'tds_home_sidebar_pos',
                'values' => array(
                    array('text' => '', 'title' => 'Sidebar Left', 'val' => 'sidebar_left', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-left.png'),
                    array('text' => '', 'title' => 'No Sidebar', 'val' => 'no_sidebar', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-full.png'),
                    array('text' => '', 'title' => 'Sidebar Right', 'val' => '', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-right.png')
                )
            ));
            ?>
            <div class="td-panel-control-comment td-text-align-right"><?php _e('Select sidebar position', TD_THEME_NAME); ?></div>
        </div>
        <div class="td-display-inline-block td_sidebars_pulldown_align">
            <?php
            echo td_panel_generator::sidebar_pulldown(array(
                'ds' => 'td_option',
                'option_id' => 'tds_home_sidebar'
            ));
            ?>
            <div class="td-panel-control-comment td-text-align-right"><?php _e('Create or select an existing sidebar', TD_THEME_NAME); ?></div>
        </div>
    </div>
</div>

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



<!-- Page template -->
<?php echo td_panel_generator::box_start(__('Page template', TD_THEME_NAME), false); ?>

<div class="td-box-description td-box-full">
    <p><?php _e('Select the page sidebar position and sidebar from here. The two settings are changeable on a per page basis.', TD_THEME_NAME); ?></p>
    <ul>
        <li><?php _e('This template is located in <strong>page.php</strong> file.', TD_THEME_NAME); ?></li>
    </ul>
</div>

<div class="td-box-section-separator"></div>

<!-- Custom Sidebar + position -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title"><?php _e('CUSTOM SIDEBAR + POSITION', TD_THEME_NAME); ?></span>
        <p><?php _e('Sidebar position and custom sidebars', TD_THEME_NAME); ?></p>
    </div>
    <div class="td-box-control-full td-panel-sidebar-pos">
        <div class="td-display-inline-block">
            <?php
            echo td_panel_generator::visual_select_o(array(
                'ds' => 'td_option',
                'option_id' => 'tds_page_sidebar_pos',
                'values' => array(
                    array('text' => '', 'title' => 'Sidebar Left', 'val' => 'sidebar_left', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-left.png'),
                    array('text' => '', 'title' => 'No Sidebar', 'val' => 'no_sidebar', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-full.png'),
                    array('text' => '', 'title' => 'Sidebar Right', 'val' => '', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-right.png')
                )
            ));
            ?>
            <div class="td-panel-control-comment td-text-align-right"><?php _e('Select sidebar position', TD_THEME_NAME); ?></div>
        </div>
        <div class="td-display-inline-block td_sidebars_pulldown_align">
            <?php
            echo td_panel_generator::sidebar_pulldown(array(
                'ds' => 'td_option',
                'option_id' => 'tds_page_sidebar'
            ));
            ?>
            <div class="td-panel-control-comment td-text-align-right"><?php _e('Create or select an existing sidebar', TD_THEME_NAME); ?></div>
        </div>
    </div>
</div>

<!-- Disable comments on pages -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title"><?php _e('DISABLE COMMENTS ON PAGES', TD_THEME_NAME); ?></span>
        <p><?php _e('Enable or disable the comments on pages, on the entire site. This option is disabled by default', TD_THEME_NAME); ?></p>
    </div>
    <div class="td-box-control-full">
        <?php
        echo td_panel_generator::checkbox(array(
            'ds' => 'td_option',
            'option_id' => 'tds_disable_comments_pages',
            'true_value' => '',
            'false_value' => 'show_comments'
        ));
        ?>
    </div>
</div>

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




<!-- Search page -->
<?php if( 'Newsmag' == TD_THEME_NAME || ( 'Newspaper' == TD_THEME_NAME && ( defined('TD_STANDARD_PACK') || td_global::is_tdb_registered() ) ) ) {
    echo td_panel_generator::box_start(__('Search template', TD_THEME_NAME), false, 'td-wait-for-ajax'); ?>

    <div class="td-box-description td-box-full tdb-hide tdsp-hide">
        <p><?php _e('Select the layout for the search page.', TD_THEME_NAME); ?></p>
        <ul>
            <li>Check a <a href="<?php echo esc_url(home_url('/?s=and')) /** @see page-search-box.php */ ?>"
                           target="_blank">sample search page</a> from your site.
            </li>
            <li><?php _e('This template is located in <strong>search.php</strong> file.', TD_THEME_NAME); ?></li>
        </ul>
    </div>

    <!-- DISPLAY VIEW -->
    <div class="td-box-row tdb-hide tdsp-hide">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('ARTICLE DISPLAY VIEW', TD_THEME_NAME); ?></span>
            <p><?php _e('Select a module type, this is how your article list will be displayed', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full td-panel-module">
            <?php
            echo td_panel_generator::visual_select_o(array(
                'ds' => 'td_option',
                'option_id' => 'tds_search_page_layout',
                'values' => td_panel_generator::helper_display_modules('enabled_on_loops')
            ));
            ?>
        </div>
    </div>

    <!-- Custom Sidebar + position -->
    <div class="td-box-row tdb-hide tdsp-hide">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('CUSTOM SIDEBAR + POSITION', TD_THEME_NAME); ?></span>
            <p><?php _e('Sidebar position and custom sidebars', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full td-panel-sidebar-pos">
            <div class="td-display-inline-block">
                <?php
                echo td_panel_generator::visual_select_o(array(
                    'ds' => 'td_option',
                    'option_id' => 'tds_search_sidebar_pos',
                    'values' => array(
                        array('text' => '', 'title' => 'Sidebar Left', 'val' => 'sidebar_left', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-left.png'),
                        array('text' => '', 'title' => 'No Sidebar', 'val' => 'no_sidebar', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-full.png'),
                        array('text' => '', 'title' => 'Sidebar Right', 'val' => '', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-right.png')
                    )
                ));
                ?>
                <div class="td-panel-control-comment td-text-align-right"><?php _e('Select sidebar position', TD_THEME_NAME); ?></div>
            </div>
            <div class="td-display-inline-block td_sidebars_pulldown_align">
                <?php
                echo td_panel_generator::sidebar_pulldown(array(
                    'ds' => 'td_option',
                    'option_id' => 'tds_search_sidebar'
                ));
                ?>
                <div class="td-panel-control-comment td-text-align-right"><?php _e('Create or select an existing sidebar', TD_THEME_NAME); ?></div>
            </div>
        </div>
    </div>

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



<!-- TAG page -->
<?php if( 'Newsmag' == TD_THEME_NAME || ( 'Newspaper' == TD_THEME_NAME && ( defined('TD_STANDARD_PACK') || td_global::is_tdb_registered() ) ) ) {
    echo td_panel_generator::box_start(__('Tag template', TD_THEME_NAME), false, 'td-wait-for-ajax'); ?>

    <div class="td-box-description td-box-full tdb-hide tdsp-hide">
        <p><?php _e('Set the default layout for all the tags.', TD_THEME_NAME); ?></p>
        <ul>
            <li><?php _e('You can view each tag page by going to Posts ⇢ Tags ⇢ hover on a tag ⇢ select view', TD_THEME_NAME); ?></li>
            <li><?php _e('This template is located in <strong>tag.php</strong> file.', TD_THEME_NAME); ?></li>
        </ul>
    </div>

    <!-- DISPLAY VIEW -->
    <div class="td-box-row tdb-hide tdsp-hide">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('ARTICLE DISPLAY VIEW', TD_THEME_NAME); ?></span>
            <p><?php _e('Select a module type, this is how your article list will be displayed', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full td-panel-module">
            <?php
            echo td_panel_generator::visual_select_o(array(
                'ds' => 'td_option',
                'option_id' => 'tds_tag_page_layout',
                'values' => td_panel_generator::helper_display_modules('enabled_on_loops')
            ));
            ?>
        </div>
    </div>

    <!-- Custom Sidebar + position -->
    <div class="td-box-row tdb-hide tdsp-hide">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('CUSTOM SIDEBAR + POSITION', TD_THEME_NAME); ?></span>
            <p><?php _e('Sidebar position and custom sidebars', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full td-panel-sidebar-pos">
            <div class="td-display-inline-block">
                <?php
                echo td_panel_generator::visual_select_o(array(
                    'ds' => 'td_option',
                    'option_id' => 'tds_tag_sidebar_pos',
                    'values' => array(
                        array('text' => '', 'title' => 'Sidebar Left', 'val' => 'sidebar_left', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-left.png'),
                        array('text' => '', 'title' => 'No Sidebar', 'val' => 'no_sidebar', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-full.png'),
                        array('text' => '', 'title' => 'Sidebar Right', 'val' => '', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-right.png')
                    )
                ));
                ?>
                <div class="td-panel-control-comment td-text-align-right"><?php _e('Select sidebar position', TD_THEME_NAME); ?></div>
            </div>
            <div class="td-display-inline-block td_sidebars_pulldown_align">
                <?php
                echo td_panel_generator::sidebar_pulldown(array(
                    'ds' => 'td_option',
                    'option_id' => 'tds_tag_sidebar'
                ));
                ?>
                <div class="td-panel-control-comment td-text-align-right"><?php _e('Create or select an existing sidebar', TD_THEME_NAME); ?></div>
            </div>
        </div>
    </div>

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



<!-- Woocommerce template -->
<?php echo td_panel_generator::box_start(__('WooCommerce template', TD_THEME_NAME), false); ?>

<div class="td-box-description td-box-full">
    <p><?php _e('Set the custom sidebar and position for the WooCommerce pages.', TD_THEME_NAME); ?></p>
</div>

<div class="td-box-section-separator"></div>

<!-- Shop homepage + archives - custom Sidebar + position -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title"><?php _e('Shop homepage + archives', TD_THEME_NAME); ?></span>
        <p><?php _e('Sidebar position and custom sidebar', TD_THEME_NAME); ?></p>
    </div>
    <div class="td-box-control-full td-panel-sidebar-pos">
        <div class="td-display-inline-block">
            <?php
           echo td_panel_generator::visual_select_o(array(
                'ds' => 'td_option',
                'option_id' => 'tds_woo_sidebar_pos',
                'values' => array(
                    array('text' => '', 'title' => 'Sidebar Left', 'val' => 'sidebar_left', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-left.png'),
                    array('text' => '', 'title' => 'No Sidebar', 'val' => 'no_sidebar', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-full.png'),
                    array('text' => '', 'title' => 'Sidebar Right', 'val' => '', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-right.png')
                )
            ));
            ?>
            <div class="td-panel-control-comment td-text-align-right"><?php _e('Select sidebar position', TD_THEME_NAME); ?></div>
        </div>
        <div class="td-display-inline-block td_sidebars_pulldown_align">
            <?php
           echo td_panel_generator::sidebar_pulldown(array(
                'ds' => 'td_option',
                'option_id' => 'tds_woo_sidebar'
            ));
            ?>
            <div class="td-panel-control-comment td-text-align-right"><?php _e('Create or select an existing sidebar', TD_THEME_NAME); ?></div>
        </div>
    </div>
</div>

<!-- Shop single product page - custom Sidebar + position -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title"><?php _e('Shop single product page', TD_THEME_NAME); ?></span>
        <p><?php _e('Sidebar position and custom sidebar', TD_THEME_NAME); ?></p>
    </div>
    <div class="td-box-control-full td-panel-sidebar-pos">
        <div class="td-display-inline-block">
            <?php
            echo td_panel_generator::visual_select_o(array(
                'ds' => 'td_option',
                'option_id' => 'tds_woo_single_sidebar_pos',
                'values' => array(
                    array('text' => '', 'title' => 'Sidebar Left', 'val' => 'sidebar_left', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-left.png'),
                    array('text' => '', 'title' => 'No Sidebar', 'val' => 'no_sidebar', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-full.png'),
                    array('text' => '', 'title' => 'Sidebar Right', 'val' => '', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-right.png')
                )
            ));
            ?>
            <div class="td-panel-control-comment td-text-align-right"><?php _e('Select sidebar position', TD_THEME_NAME); ?></div>
        </div>
        <div class="td-display-inline-block td_sidebars_pulldown_align">
            <?php
            echo td_panel_generator::sidebar_pulldown(array(
                'ds' => 'td_option',
                'option_id' => 'tds_woo_single_sidebar'
            ));
            ?>
            <div class="td-panel-control-comment td-text-align-right"><?php _e('Create or select an existing sidebar', TD_THEME_NAME); ?></div>
        </div>
    </div>
</div>

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



<!-- bbPress template -->
<?php echo td_panel_generator::box_start(__('bbPress template', TD_THEME_NAME), false); ?>

<div class="td-box-description td-box-full">
        <p><?php _e('Set the bbPress template settings from here', TD_THEME_NAME); ?></p>
    </div>

<div class="td-box-section-separator"></div>

<!-- Custom Sidebar + position -->
<div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('CUSTOM SIDEBAR + POSITION', TD_THEME_NAME); ?></span>
            <p><?php _e('Sidebar position and custom sidebars', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full td-panel-sidebar-pos">
            <div class="td-display-inline-block">
                <?php
                echo td_panel_generator::visual_select_o(array(
                    'ds' => 'td_option',
                    'option_id' => 'tds_bbpress_sidebar_pos',
                    'values' => array(
                        array('text' => '', 'title' => 'Sidebar Left', 'val' => 'sidebar_left', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-left.png'),
                        array('text' => '', 'title' => 'No Sidebar', 'val' => 'no_sidebar', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-full.png'),
                        array('text' => '', 'title' => 'Sidebar Right', 'val' => '', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-right.png')
                    )
                ));
                ?>
                <div class="td-panel-control-comment td-text-align-right"><?php _e('Select sidebar position', TD_THEME_NAME); ?></div>
            </div>
            <div class="td-display-inline-block td_sidebars_pulldown_align">
                <?php
                echo td_panel_generator::sidebar_pulldown(array(
                    'ds' => 'td_option',
                    'option_id' => 'tds_bbpress_sidebar'
                ));
                ?>
                <div class="td-panel-control-comment td-text-align-right"><?php _e('Create or select an existing sidebar', TD_THEME_NAME); ?></div>
            </div>
        </div>
    </div>

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


<!-- Taxonomy + post format page template -->
<?php echo td_panel_generator::box_start(__('Post formats archive template', TD_THEME_NAME), false); ?>

<div class="td-box-description td-box-full">
    <p><?php _e('These settings help you configure the archive page which lists all posts in one specific <a href="https://codex.wordpress.org/Post_Formats" target="_blank">post format</a>.', TD_THEME_NAME); ?></p>
    <p><?php _e('Select the layout for theme\s video <a href="https://codex.wordpress.org/Taxonomies#Post_Formats" target="_blank">post format taxonomy</a> pages.', TD_THEME_NAME); ?></p>

    <ul>
        <li>Check a <a href="<?php echo get_post_format_link('video') ?>" target="_blank">sample post format archive page</a> from your site.</li>
        <li><?php _e('This template is located in <strong>taxonomy-post_format.php</strong> file.', TD_THEME_NAME); ?></li>
    </ul>
</div>

<div class="td-box-section-separator"></div>

<!-- Articles DISPLAY VIEW -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title"><?php _e('ARTICLE DISPLAY VIEW', TD_THEME_NAME); ?></span>
        <p><?php _e('Select a module type, this is how your article list will be displayed.', TD_THEME_NAME); ?></p>
    </div>
    <div class="td-box-control-full td-panel-module">
        <?php
        echo td_panel_generator::visual_select_o(array(
            'ds' => 'td_option',
            'option_id' => 'tds_taxonomy_post_format_page_layout',
            'values' => td_panel_generator::helper_display_modules('enabled_on_loops')
        ));
        ?>
    </div>
</div>

<!-- Custom Sidebar + position -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title"><?php _e('CUSTOM SIDEBAR + POSITION', TD_THEME_NAME); ?></span>
        <p><?php _e('Sidebar position and custom sidebars', TD_THEME_NAME); ?></p>
    </div>
    <div class="td-box-control-full td-panel-sidebar-pos">
        <div class="td-display-inline-block">
            <?php
            echo td_panel_generator::visual_select_o(array(
                'ds' => 'td_option',
                'option_id' => 'tds_taxonomy_post_format_sidebar_pos',
                'values' => array(
                    array('text' => '', 'title' => 'Sidebar Left', 'val' => 'sidebar_left', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-left.png'),
                    array('text' => '', 'title' => 'No Sidebar', 'val' => 'no_sidebar', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-full.png'),
                    array('text' => '', 'title' => 'Sidebar Right', 'val' => '', 'img' => TDC_URL_LEGACY . '/assets/images/panel/sidebar/sidebar-right.png')
                )
            ));
            ?>
            <div class="td-panel-control-comment td-text-align-right"><?php _e('Select sidebar position', TD_THEME_NAME); ?></div>
        </div>
        <div class="td-display-inline-block td_sidebars_pulldown_align">
            <?php
            echo td_panel_generator::sidebar_pulldown(array(
                'ds' => 'td_option',
                'option_id' => 'tds_taxonomy_post_format_sidebar'
            ));
            ?>
            <div class="td-panel-control-comment td-text-align-right"><?php _e('Create or select an existing sidebar', TD_THEME_NAME); ?></div>
        </div>
    </div>
</div>

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