<?php

Kirki::add_config( 'theme_config', array(
	'capability'  => 'edit_theme_options',
	'option_type' => 'theme_mod',
) );

/**
 * General Options
 */
require NEWSHIT_INC_DIR . 'kirki-customize/header/header-settings.php';


/**
 * General Options
 */
require NEWSHIT_INC_DIR . 'kirki-customize/front-page/front-page-settings.php';

/**
 * Theme Options
 */

Kirki::add_panel( 'newshit_theme_options', array(
	'title'    => esc_html__( 'Theme Options', 'newshit' ),
	'priority' => 11
) );


/**
 * General Options
 */
require NEWSHIT_INC_DIR . 'kirki-customize/kirki-options/theme-general.php';

/**
 * Typography Options
 */
require NEWSHIT_INC_DIR . 'kirki-customize/kirki-options/typography-options.php';

/**
 * Theme Color Options
 */
require NEWSHIT_INC_DIR . 'kirki-customize/kirki-options/theme-color-options.php';


/**
 * Footer Options
 */
require NEWSHIT_INC_DIR . 'kirki-customize/kirki-options/footer-options.php';

/**
 * Copyright Options
 */
require NEWSHIT_INC_DIR . 'kirki-customize/kirki-options/copyright-options.php';

/**
 * Code Editor Options
 */
require NEWSHIT_INC_DIR . 'kirki-customize/kirki-options/code-editor-options.php';

/**
 * Options And Layout
 */

Kirki::add_panel( 'newshit_option_layout', array(
	'title'    => esc_html__( 'Page And Layout', 'newshit' ),
	'priority' => 12
) );

/**
 * Blog Options
 */
require NEWSHIT_INC_DIR . 'kirki-customize/kirki-options/blog-options.php';

/**
 * Single Page Options
 */
require NEWSHIT_INC_DIR . 'kirki-customize/kirki-options/single-page-options.php';

/**
 * Page Options
 */
require NEWSHIT_INC_DIR . 'kirki-customize/kirki-options/page-options.php';

/**
 * Archive Options
 */
require NEWSHIT_INC_DIR . 'kirki-customize/kirki-options/archive-options.php';

/**
 * Search Options
 */
require NEWSHIT_INC_DIR . 'kirki-customize/kirki-options/search-options.php';

/**
 * 404 Page Options
 */
require NEWSHIT_INC_DIR . 'kirki-customize/kirki-options/error-page.php';

Kirki::add_panel( 'newshit_theme_shop', array(
	'title'    => esc_html__( 'Shop Options', 'newshit' ),
	'priority' => 13
) );

/**
 * Shop Page
 */
require NEWSHIT_INC_DIR . 'kirki-customize/kirki-options/shop/shop-page.php';
require NEWSHIT_INC_DIR . 'kirki-customize/kirki-options/shop/single-shop.php';