<?php
defined('ABSPATH') or die('No script kiddies please!!');
$home_page = (!empty($ciws_main_settings['display']['home_page'])) ? 1 : 0;
$archive_page = (!empty($ciws_main_settings['display']['archive_page'])) ? 1 : 0;
$desktop = (!empty($ciws_main_settings['display']['desktop'])) ? 1 : 0;
$mobile = (!empty($ciws_main_settings['display']['mobile'])) ? 1 : 0;
?>
<div class="ciws-settings-section" data-settings-ref="display" style="display:none;">
    <div class="ciws-field-wrap">
        <label>
            <?php esc_html_e('Hide in Homepage', 'chat-in-website'); ?>
        </label>
        <div class="ciws-field ciws-checkbox-toggle">
            <input type="checkbox" name="ciws_main_settings[display][home_page]" value="1"
                <?php checked($home_page, '1'); ?> />
            <label></label>
        </div>
    </div>
    <div class="ciws-field-wrap">
        <label>
            <?php esc_html_e('Hide in Archive Page', 'chat-in-website'); ?>
        </label>
        <div class="ciws-field ciws-checkbox-toggle">
            <input type="checkbox" name="ciws_main_settings[display][archive_page]" value="1"
                <?php checked($archive_page, '1'); ?> />
            <label></label>
        </div>
    </div>

    <div class="ciws-field-wrap">
        <label>
            <?php esc_html_e('Hide in Desktop', 'chat-in-website'); ?>
        </label>
        <div class="ciws-field ciws-checkbox-toggle">
            <input type="checkbox" class="ciws-customize-status" name="ciws_main_settings[display][desktop]"
                value="1" <?php checked($desktop, '1'); ?> />
            <label></label>
        </div>
    </div>

    <div class="ciws-field-wrap">
        <label>
            <?php esc_html_e('Hide in Mobile', 'chat-in-website'); ?>
        </label>
        <div class="ciws-field ciws-checkbox-toggle">
            <input type="checkbox" class="ciws-customize-status" name="ciws_main_settings[display][mobile]"
                value="1" <?php checked($mobile, '1'); ?> />
            <label></label>
        </div>
    </div>


</div>