⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⢠⣴⣿⣿⣿⣷⣼⣿⠀⣴⠾⠷⠶⠦⡄⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⢠⡤⢶⣦⣾⣿⣿⣿⣿⣿⣿⣿⠀⣿⣶⣶⣦⣄⠳⣤⣤⠄⠀⠀⠀ ⠀⠀⠀⢀⣼⣳⡿⢻⣿⣿⣿⣿⣿⣿⣿⣿⣶⣿⣿⣗⠈⠙⠻⣶⣄⡀⠀⠀⠀ ⠀⠀⠀⣰⠿⠁⢀⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡄⠀⠀⠈⠳⣤⠀⠀ ⠀⠀⢀⡟⠀⢰⣿⠟⠻⢿⣿⣿⣿⣿⣿⣿⣿⣿⠉⠁⠈⠻⣶⣄⠀⠀⠈⠛⢦ www.github.com/caterscam ⠀⣀⡼⠃⠀⣼⡟⠀⠀⢸⣿⡿⠉⣿⡿⠿⠛⣿⡄⠀⠀⠀⠙⠿⣆⠀⠀⠀⠈ ⠈⠁⠀⠀⢸⡟⠀⠀⠀⢸⣿⠀⠀⣿⠁⠀⠀⠈⠃⠀⠀⠀⠀⠀⠘⢷⡄⠀⠀ ⠀⠀⠀⠀⣼⠃⠀⠀⠀⢸⡟⠀⠀⡿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⡆⠀ ⠀⠀⠀⣠⡏⠀⠀⠀⠀⣼⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠻⠃⠀⠀⠀⠀⣻⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠻⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ Current Dir: /dom834884/wp-content/plugins/noxe-core/ [DIR] languages [ delete | rename ] [DIR] meta-box-extensions [ delete | rename ] [DIR] widgets [ delete | rename ] [DIR] wpbakery [ delete | rename ] [FILE] comments-form-fields.php [ edit | delete | rename | download ] [FILE] custom-post-types.php [ edit | delete | rename | download ] [FILE] custom-taxonomies.php [ edit | delete | rename | download ] [FILE] customizer-typekit-support.php [ edit | delete | rename | download ] [FILE] customizer.php [ edit | delete | rename | download ] [FILE] favorite-system.php [ edit | delete | rename | download ] [FILE] imdb-integration.php [ edit | delete | rename | download ] [FILE] index.php [ edit | delete | rename | download ] [FILE] noxe-core.php [ edit | delete | rename | download ] [FILE] social-media.php [ edit | delete | rename | download ] [FILE] user-meta-fields.php [ edit | delete | rename | download ] [FILE] watchlist-system.php [ edit | delete | rename | download ] Viewing: /dom834884/wp-content/plugins/noxe-core/customizer.php <?php /*====== * * Customizer * ======*/ function noxe_customizer() { /*====== Adobe Typekit Support ======*/ include( dirname( __FILE__ ) . '/customizer-typekit-support.php' ); /*====== Sidebar List ======*/ function noxe_customizer_sidebar_list() { $sidebars = array(); if( isset( $GLOBALS['wp_registered_sidebars'] ) ) { $sidebars = $GLOBALS['wp_registered_sidebars']; } $sidebars_choices = array(); if( !empty( $sidebars ) ) { foreach( $sidebars as $sidebar ) { if( $sidebar["id"] ) { $sidebars_choices[ esc_attr( $sidebar['id'] ) ] = esc_attr( $sidebar['name'] ); } } } return $sidebars_choices; } /*====== Kirki Settings ======*/ if( !defined( 'ABSPATH' ) ) { exit; } if( !class_exists( 'Kirki' ) ) { return; } Kirki::add_config( 'noxe_customizer', array( 'capability' => 'edit_theme_options', 'option_type' => 'theme_mod', ) ); if( !function_exists( 'noxe_customizer_settings' ) ) { function noxe_customizer_settings( $config ) { return wp_parse_args( array( 'disable_loader' => true, ), $config ); } add_filter( 'kirki_config', 'noxe_customizer_settings' ); } /*====== Sections ======*/ $sections = array( 'header' => array( 'title' => esc_html__( 'Header', 'noxe-core' ), 'priority' => 1, ), 'footer' => array( 'title' => esc_html__( 'Footer', 'noxe-core' ), 'priority' => 2, ), 'layout' => array( 'title' => esc_html__( 'Layout', 'noxe-core' ), 'priority' => 3, ), 'colors' => array( 'title' => esc_html__( 'Colors', 'noxe-core' ), 'priority' => 4, ), 'typography' => array( 'title' => esc_html__( 'Typography', 'noxe-core' ), 'priority' => 5, ), 'titles' => array( 'title' => esc_html__( 'Titles', 'noxe-core' ), 'priority' => 6, ), 'names' => array( 'title' => esc_html__( 'Names', 'noxe-core' ), 'priority' => 7, ), 'blog' => array( 'title' => esc_html__( 'Blog', 'noxe-core' ), 'priority' => 8, ), 'pages' => array( 'title' => esc_html__( 'Pages', 'noxe-core' ), 'priority' => 9, ), 'featured-header' => array( 'title' => esc_html__( 'Featured Header', 'noxe-core' ), 'priority' => 10, ), 'title-bar' => array( 'title' => esc_html__( 'Title Bar', 'noxe-core' ), 'priority' => 11, ), 'sidebars' => array( 'title' => esc_html__( 'Sidebars', 'noxe-core' ), 'priority' => 12, ), 'social-media' => array( 'title' => esc_html__( 'Social Media', 'noxe-core' ), 'priority' => 13, ), 'woocommerce' => array( 'title' => esc_html__( 'WooCommerce', 'noxe-core' ), 'priority' => 14, ), 'extra' => array( 'title' => esc_html__( 'Extra', 'noxe-core' ), 'priority' => 14, ), ); if( !empty( $sections ) ) { foreach( $sections as $section_id => $section ) { if( !empty( $section ) ) { if( empty( $section["title"] ) ) { $section["title"] = ""; } if( empty( $section["description"] ) ) { $section["description"] = ""; } if( empty( $section["priority"] ) ) { $section["priority"] = ""; } $section_args = array( 'title' => esc_attr( $section["title"] ), 'description' => esc_attr( $section["description"] ), 'priority' => esc_attr( $section["priority"] ), ); if( isset( $section["priority"] ) ) { $section_args['type'] = esc_attr( $section["priority"] ); } if( $section_id == "colors" ) { Kirki::add_section( str_replace( '-', '_', $section_id ), $section_args ); } else { Kirki::add_section( 'noxe_' . str_replace( '-', '_', $section_id ) . '_section', $section_args ); } } } } /*====== Fields Settings ======*/ if( !function_exists( 'noxe_customizer_add_field' ) ) { function noxe_customizer_add_field( $args ) { Kirki::add_field( 'noxe_customizer', $args ); } } /*====== Fields ======*/ /*====== Header ======*/ /*====== Header Panels ======*/ Kirki::add_panel( 'noxe_header_panel', array( 'title' => esc_html__( 'Header', 'noxe-core' ), 'priority' => 1, ) ); $sections = array( 'header' => array( 'title' => esc_html__( 'Header', 'noxe-core' ), ), 'header_mobile_header' => array( 'title' => esc_html__( 'Mobile Header', 'noxe-core' ), ), 'header_off_canvas' => array( 'title' => esc_html__( 'Off Canvas', 'noxe-core' ), ), 'header_search_user_box' => array( 'title' => esc_html__( 'User Box', 'noxe-core' ), ), 'header_search_popup' => array( 'title' => esc_html__( 'Search Popup', 'noxe-core' ), ), 'header_logos' => array( 'title' => esc_html__( 'Logos', 'noxe-core' ), ), ); if( !empty( $sections ) ) { foreach( $sections as $section_id => $section ) { if( !empty( $section ) ) { if( empty( $section["title"] ) ) { $section["title"] = ""; } if( empty( $section["description"] ) ) { $section["description"] = ""; } $section_args = array( 'title' => esc_attr( $section["title"] ), 'description' => esc_attr( $section["description"] ), 'panel' => 'noxe_header_panel', ); if( isset( $section["priority"] ) ) { $section_args['type'] = esc_attr( $section["priority"] ); } Kirki::add_section( 'noxe_' . str_replace( '-', '_', $section_id ) . '_section', $section_args ); } } } /*====== Header ======*/ /*====== Header ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_header', 'label' => esc_html__( 'Header', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => '1', ) ); /*====== Header Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_header_style', 'label' => esc_html__( 'Header Style', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Header Skin ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_header_skin', 'label' => esc_html__( 'Header Skin', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => 'dark', 'choices' => array( 'light' => esc_html__( 'Light', 'noxe-core' ), 'dark' => esc_html__( 'Dark', 'noxe-core' ), ), ) ); /*====== Header Width ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_header_width', 'label' => esc_html__( 'Header Width', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => 'wide', 'choices' => array( 'wide' => esc_html__( 'Wide', 'noxe-core' ), 'narrow' => esc_html__( 'Narrow', 'noxe-core' ), ), ) ); /*====== Transparent Header ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_transparent_header', 'label' => esc_html__( 'Transparent Header', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== Header Position ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_header_position', 'label' => esc_html__( 'Header Position', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => 'absolute', 'choices' => array( 'standard' => esc_html__( 'Standard', 'noxe-core' ), 'absolute' => esc_html__( 'Absolute', 'noxe-core' ), 'fixed' => esc_html__( 'Fixed', 'noxe-core' ), ), ) ); /*====== Main Menu ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_header_menu', 'label' => esc_html__( 'Main Menu', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => '1', ) ); /*====== Off Canvas ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_header_off_canvas', 'label' => esc_html__( 'Off Canvas', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => '1', ) ); /*====== Language Switcher ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_header_language_switcher', 'label' => esc_html__( 'Language Switcher', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => '1', ) ); /*====== Language Switcher Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_header_language_switcher_type', 'label' => esc_html__( 'Language Switcher Type', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => 'type-1', 'choices' => array( 'type-1' => esc_html__( 'Short Name', 'noxe-core' ), 'type-2' => esc_html__( 'Full Name', 'noxe-core' ), 'type-3' => esc_html__( 'Flag', 'noxe-core' ), 'type-4' => esc_html__( 'Flag + Short Name', 'noxe-core' ), 'type-5' => esc_html__( 'Flag + Full Name', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_header_language_switcher', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Social Media Links ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_header_social_media', 'label' => esc_html__( 'Social Media Links', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => '1', ) ); /*====== Social Media Links Style ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_header_social_media_style', 'label' => esc_html__( 'Social Media Links Style', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1 - v1', 'noxe-core' ), 'style-1-v2' => esc_html__( 'Style 1 - v2', 'noxe-core' ), 'style-1-v3' => esc_html__( 'Style 1 - v3', 'noxe-core' ), 'style-1-v4' => esc_html__( 'Style 1 - v4', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4 - v1', 'noxe-core' ), 'style-4-v2' => esc_html__( 'Style 4 - v2', 'noxe-core' ), 'style-5' => esc_html__( 'Style 5', 'noxe-core' ), 'style-6' => esc_html__( 'Style 6 - v1', 'noxe-core' ), 'style-6-v2' => esc_html__( 'Style 6 - v2', 'noxe-core' ), 'style-6-v3' => esc_html__( 'Style 6 - v3', 'noxe-core' ), 'style-6-v4' => esc_html__( 'Style 6 - v4', 'noxe-core' ), 'style-7' => esc_html__( 'Style 7', 'noxe-core' ), 'style-8' => esc_html__( 'Style 8', 'noxe-core' ), 'style-9' => esc_html__( 'Style 9', 'noxe-core' ), 'style-10' => esc_html__( 'Style 10', 'noxe-core' ), 'style-11' => esc_html__( 'Style 11', 'noxe-core' ), 'style-12' => esc_html__( 'Style 12', 'noxe-core' ), 'style-13' => esc_html__( 'Style 13 - v1', 'noxe-core' ), 'style-13-v2' => esc_html__( 'Style 13 - v2', 'noxe-core' ), 'style-13-v3' => esc_html__( 'Style 13 - v3', 'noxe-core' ), 'style-13-v4' => esc_html__( 'Style 13 - v4', 'noxe-core' ), 'style-14' => esc_html__( 'Style 14 - v1', 'noxe-core' ), 'style-14-v2' => esc_html__( 'Style 14 - v2', 'noxe-core' ), 'style-14-v3' => esc_html__( 'Style 14 - v3', 'noxe-core' ), 'style-14-v4' => esc_html__( 'Style 14 - v4', 'noxe-core' ), 'style-14-v5' => esc_html__( 'Style 14 - v5', 'noxe-core' ), 'style-14-v6' => esc_html__( 'Style 14 - v6', 'noxe-core' ), 'style-14-v7' => esc_html__( 'Style 14 - v7', 'noxe-core' ), 'style-14-v8' => esc_html__( 'Style 14 - v8', 'noxe-core' ), 'style-15' => esc_html__( 'Style 15 - v1', 'noxe-core' ), 'style-15-v2' => esc_html__( 'Style 15 - v2', 'noxe-core' ), 'style-15-v3' => esc_html__( 'Style 15 - v3', 'noxe-core' ), 'style-15-v4' => esc_html__( 'Style 15 - v4', 'noxe-core' ), 'style-15-v5' => esc_html__( 'Style 15 - v5', 'noxe-core' ), 'style-15-v6' => esc_html__( 'Style 15 - v6', 'noxe-core' ), 'style-15-v7' => esc_html__( 'Style 15 - v7', 'noxe-core' ), 'style-15-v8' => esc_html__( 'Style 15 - v8', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_header_social_media', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Social Media Links Size ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_header_social_media_size', 'label' => esc_html__( 'Social Media Links Size', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => 'size-m', 'choices' => array( 'size-s' => esc_html__( 'Small', 'noxe-core' ), 'size-m' => esc_html__( 'Medium', 'noxe-core' ), 'size-l' => esc_html__( 'Large', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_header_social_media', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Cart ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_header_cart', 'label' => esc_html__( 'Cart', 'noxe-core' ), 'section' => 'noxe_header_section', ) ); /*====== User Box ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_header_user_box', 'label' => esc_html__( 'User Box', 'noxe-core' ), 'section' => 'noxe_header_section', ) ); /*====== Profile Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_header_user_box_profile', 'label' => esc_html__( 'Profile Button', 'noxe-core' ), 'section' => 'noxe_header_section', ) ); /*====== Logout Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_header_user_box_logout', 'label' => esc_html__( 'Logout Button', 'noxe-core' ), 'section' => 'noxe_header_section', ) ); /*====== Search Popup ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_header_search_popup', 'label' => esc_html__( 'Search Popup', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => '1', ) ); /*====== Sticky Header ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_sticky_header', 'label' => esc_html__( 'Sticky Header', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => '1', ) ); /*====== Sticky Header Skin ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_sticky_header_skin', 'label' => esc_html__( 'Sticky Header Skin', 'noxe-core' ), 'section' => 'noxe_header_section', 'default' => 'light', 'choices' => array( 'light' => esc_html__( 'Light', 'noxe-core' ), 'dark' => esc_html__( 'Dark', 'noxe-core' ), ), ) ); /*====== Mobile Header ======*/ /*====== Mobile Header ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_mobile_header', 'label' => esc_html__( 'Mobile Header', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', 'default' => '1', ) ); /*====== Mobile Header Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_mobile_header_style', 'label' => esc_html__( 'Mobile Header Style', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Mobile Header Skin ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_mobile_header_skin', 'label' => esc_html__( 'Mobile Header Skin', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', 'default' => 'light', 'choices' => array( 'light' => esc_html__( 'Light', 'noxe-core' ), 'dark' => esc_html__( 'Dark', 'noxe-core' ), ), ) ); /*====== Transparent Mobile Header ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_transparent_mobile_header', 'label' => esc_html__( 'Transparent Mobile Header', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== Mobile Header Position ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_mobile_header_position', 'label' => esc_html__( 'Mobile Header Position', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', 'default' => 'standard', 'choices' => array( 'standard' => esc_html__( 'Standard', 'noxe-core' ), 'absolute' => esc_html__( 'Absolute', 'noxe-core' ), 'fixed' => esc_html__( 'Fixed', 'noxe-core' ), ), ) ); /*====== Off Canvas ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_mobile_header_off_canvas', 'label' => esc_html__( 'Off Canvas', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', 'default' => '1', ) ); /*====== Language Switcher ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_mobile_header_language_switcher', 'label' => esc_html__( 'Language Switcher', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', 'default' => '1', ) ); /*====== Language Switcher Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_mobile_header_language_switcher_type', 'label' => esc_html__( 'Language Switcher Type', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', 'default' => 'type-1', 'choices' => array( 'type-1' => esc_html__( 'Short Name', 'noxe-core' ), 'type-2' => esc_html__( 'Full Name', 'noxe-core' ), 'type-3' => esc_html__( 'Flag', 'noxe-core' ), 'type-4' => esc_html__( 'Flag + Short Name', 'noxe-core' ), 'type-5' => esc_html__( 'Flag + Full Name', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_mobile_header_language_switcher', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Social Media Links ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_mobile_header_social_media', 'label' => esc_html__( 'Social Media Links', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', ) ); /*====== Social Media Links Style ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_mobile_header_social_media_style', 'label' => esc_html__( 'Social Media Links Style', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1 - v1', 'noxe-core' ), 'style-1-v2' => esc_html__( 'Style 1 - v2', 'noxe-core' ), 'style-1-v3' => esc_html__( 'Style 1 - v3', 'noxe-core' ), 'style-1-v4' => esc_html__( 'Style 1 - v4', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4 - v1', 'noxe-core' ), 'style-4-v2' => esc_html__( 'Style 4 - v2', 'noxe-core' ), 'style-5' => esc_html__( 'Style 5', 'noxe-core' ), 'style-6' => esc_html__( 'Style 6 - v1', 'noxe-core' ), 'style-6-v2' => esc_html__( 'Style 6 - v2', 'noxe-core' ), 'style-6-v3' => esc_html__( 'Style 6 - v3', 'noxe-core' ), 'style-6-v4' => esc_html__( 'Style 6 - v4', 'noxe-core' ), 'style-7' => esc_html__( 'Style 7', 'noxe-core' ), 'style-8' => esc_html__( 'Style 8', 'noxe-core' ), 'style-9' => esc_html__( 'Style 9', 'noxe-core' ), 'style-10' => esc_html__( 'Style 10', 'noxe-core' ), 'style-11' => esc_html__( 'Style 11', 'noxe-core' ), 'style-12' => esc_html__( 'Style 12', 'noxe-core' ), 'style-13' => esc_html__( 'Style 13 - v1', 'noxe-core' ), 'style-13-v2' => esc_html__( 'Style 13 - v2', 'noxe-core' ), 'style-13-v3' => esc_html__( 'Style 13 - v3', 'noxe-core' ), 'style-13-v4' => esc_html__( 'Style 13 - v4', 'noxe-core' ), 'style-14' => esc_html__( 'Style 14 - v1', 'noxe-core' ), 'style-14-v2' => esc_html__( 'Style 14 - v2', 'noxe-core' ), 'style-14-v3' => esc_html__( 'Style 14 - v3', 'noxe-core' ), 'style-14-v4' => esc_html__( 'Style 14 - v4', 'noxe-core' ), 'style-14-v5' => esc_html__( 'Style 14 - v5', 'noxe-core' ), 'style-14-v6' => esc_html__( 'Style 14 - v6', 'noxe-core' ), 'style-14-v7' => esc_html__( 'Style 14 - v7', 'noxe-core' ), 'style-14-v8' => esc_html__( 'Style 14 - v8', 'noxe-core' ), 'style-15' => esc_html__( 'Style 15 - v1', 'noxe-core' ), 'style-15-v2' => esc_html__( 'Style 15 - v2', 'noxe-core' ), 'style-15-v3' => esc_html__( 'Style 15 - v3', 'noxe-core' ), 'style-15-v4' => esc_html__( 'Style 15 - v4', 'noxe-core' ), 'style-15-v5' => esc_html__( 'Style 15 - v5', 'noxe-core' ), 'style-15-v6' => esc_html__( 'Style 15 - v6', 'noxe-core' ), 'style-15-v7' => esc_html__( 'Style 15 - v7', 'noxe-core' ), 'style-15-v8' => esc_html__( 'Style 15 - v8', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_mobile_header_social_media', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Social Media Links Size ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_mobile_header_social_media_size', 'label' => esc_html__( 'Social Media Links Size', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', 'default' => 'size-m', 'choices' => array( 'size-s' => esc_html__( 'Small', 'noxe-core' ), 'size-m' => esc_html__( 'Medium', 'noxe-core' ), 'size-l' => esc_html__( 'Large', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_mobile_header_social_media', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Cart ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_mobile_header_cart', 'label' => esc_html__( 'Cart', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', ) ); /*====== User Box ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_mobile_header_user_box', 'label' => esc_html__( 'User Box', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', ) ); /*====== Profile Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_mobile_header_user_box_profile', 'label' => esc_html__( 'Profile Button', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', ) ); /*====== Logout Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_mobile_header_user_box_logout', 'label' => esc_html__( 'Logout Button', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', ) ); /*====== Search Popup ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_mobile_header_search_popup', 'label' => esc_html__( 'Search Popup', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', 'default' => '1', ) ); /*====== Sticky Mobile Header ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_sticky_mobile_header', 'label' => esc_html__( 'Sticky Mobile Header', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', 'default' => '1', ) ); /*====== Mobile Header Skin ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_sticky_mobile_header_skin', 'label' => esc_html__( 'Sticky Mobile Header Skin', 'noxe-core' ), 'section' => 'noxe_header_mobile_header_section', 'default' => 'light', 'choices' => array( 'light' => esc_html__( 'Light', 'noxe-core' ), 'dark' => esc_html__( 'Dark', 'noxe-core' ), ), ) ); /*====== Off Canvas ======*/ /*====== Off Canvas Skin ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_off_canvas_skin', 'label' => esc_html__( 'Off Canvas Skin', 'noxe-core' ), 'section' => 'noxe_header_off_canvas_section', 'default' => 'light', 'choices' => array( 'light' => esc_html__( 'Light', 'noxe-core' ), 'dark' => esc_html__( 'Dark', 'noxe-core' ), ), ) ); /*====== Split Design ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_off_canvas_split_design', 'label' => esc_html__( 'Split Design', 'noxe-core' ), 'section' => 'noxe_header_off_canvas_section', 'default' => '1', ) ); /*====== Background ======*/ noxe_customizer_add_field( array( 'type' => 'background', 'settings' => 'noxe_off_canvas_background', 'label' => esc_html__( 'Background', 'noxe-core' ), 'section' => 'noxe_header_off_canvas_section', 'default' => array( 'background-color' => '', 'background-image' => '', 'background-repeat' => '', 'background-position' => '', 'background-size' => '', 'background-attachment' => '', ), 'output' => array( array( 'element' => '.gt-off-canvas.gt-style-1 .gt-image', ), ), 'active_callback' => array( array( 'setting' => 'noxe_off_canvas_split_design', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Menu ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_off_canvas_menu', 'label' => esc_html__( 'Menu', 'noxe-core' ), 'section' => 'noxe_header_off_canvas_section', 'default' => '1', ) ); /*====== Menu Numbers ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_off_canvas_menu_numbers', 'label' => esc_html__( 'Menu Numbers', 'noxe-core' ), 'section' => 'noxe_header_off_canvas_section', 'default' => '1', ) ); /*====== Widgets ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_off_canvas_widgets', 'label' => esc_html__( 'Widgets', 'noxe-core' ), 'section' => 'noxe_header_off_canvas_section', 'default' => '1', ) ); /*====== Widgets Column ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_off_canvas_widgets_column', 'label' => esc_html__( 'Widgets Column', 'noxe-core' ), 'section' => 'noxe_header_off_canvas_section', 'default' => '2', 'choices' => array( 'min' => 1, 'max' => 5, 'step' => 1, ), 'active_callback' => array( array( 'setting' => 'noxe_off_canvas_widgets', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Social Media Links ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_off_canvas_social_media', 'label' => esc_html__( 'Social Media Links', 'noxe-core' ), 'section' => 'noxe_header_off_canvas_section', 'default' => '1', ) ); /*====== Social Media Links Style ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_off_canvas_social_media_style', 'label' => esc_html__( 'Social Media Links Style', 'noxe-core' ), 'section' => 'noxe_header_off_canvas_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1 - v1', 'noxe-core' ), 'style-1-v2' => esc_html__( 'Style 1 - v2', 'noxe-core' ), 'style-1-v3' => esc_html__( 'Style 1 - v3', 'noxe-core' ), 'style-1-v4' => esc_html__( 'Style 1 - v4', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4 - v1', 'noxe-core' ), 'style-4-v2' => esc_html__( 'Style 4 - v2', 'noxe-core' ), 'style-5' => esc_html__( 'Style 5', 'noxe-core' ), 'style-6' => esc_html__( 'Style 6 - v1', 'noxe-core' ), 'style-6-v2' => esc_html__( 'Style 6 - v2', 'noxe-core' ), 'style-6-v3' => esc_html__( 'Style 6 - v3', 'noxe-core' ), 'style-6-v4' => esc_html__( 'Style 6 - v4', 'noxe-core' ), 'style-7' => esc_html__( 'Style 7', 'noxe-core' ), 'style-8' => esc_html__( 'Style 8', 'noxe-core' ), 'style-9' => esc_html__( 'Style 9', 'noxe-core' ), 'style-10' => esc_html__( 'Style 10', 'noxe-core' ), 'style-11' => esc_html__( 'Style 11', 'noxe-core' ), 'style-12' => esc_html__( 'Style 12', 'noxe-core' ), 'style-13' => esc_html__( 'Style 13 - v1', 'noxe-core' ), 'style-13-v2' => esc_html__( 'Style 13 - v2', 'noxe-core' ), 'style-13-v3' => esc_html__( 'Style 13 - v3', 'noxe-core' ), 'style-13-v4' => esc_html__( 'Style 13 - v4', 'noxe-core' ), 'style-14' => esc_html__( 'Style 14 - v1', 'noxe-core' ), 'style-14-v2' => esc_html__( 'Style 14 - v2', 'noxe-core' ), 'style-14-v3' => esc_html__( 'Style 14 - v3', 'noxe-core' ), 'style-14-v4' => esc_html__( 'Style 14 - v4', 'noxe-core' ), 'style-14-v5' => esc_html__( 'Style 14 - v5', 'noxe-core' ), 'style-14-v6' => esc_html__( 'Style 14 - v6', 'noxe-core' ), 'style-14-v7' => esc_html__( 'Style 14 - v7', 'noxe-core' ), 'style-14-v8' => esc_html__( 'Style 14 - v8', 'noxe-core' ), 'style-15' => esc_html__( 'Style 15 - v1', 'noxe-core' ), 'style-15-v2' => esc_html__( 'Style 15 - v2', 'noxe-core' ), 'style-15-v3' => esc_html__( 'Style 15 - v3', 'noxe-core' ), 'style-15-v4' => esc_html__( 'Style 15 - v4', 'noxe-core' ), 'style-15-v5' => esc_html__( 'Style 15 - v5', 'noxe-core' ), 'style-15-v6' => esc_html__( 'Style 15 - v6', 'noxe-core' ), 'style-15-v7' => esc_html__( 'Style 15 - v7', 'noxe-core' ), 'style-15-v8' => esc_html__( 'Style 15 - v8', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_off_canvas_social_media', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Social Media Links Size ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_off_canvas_social_media_size', 'label' => esc_html__( 'Social Media Links Size', 'noxe-core' ), 'section' => 'noxe_header_off_canvas_section', 'default' => 'size-m', 'choices' => array( 'size-s' => esc_html__( 'Small', 'noxe-core' ), 'size-m' => esc_html__( 'Medium', 'noxe-core' ), 'size-l' => esc_html__( 'Large', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_off_canvas_social_media', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Copyright ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_off_canvas_copyright', 'label' => esc_html__( 'Copyright', 'noxe-core' ), 'section' => 'noxe_header_off_canvas_section', 'default' => '1', ) ); /*====== Copyright Text ======*/ noxe_customizer_add_field( array( 'type' => 'editor', 'settings' => 'noxe_off_canvas_copyright_text', 'label' => esc_html__( 'Copyright Text', 'noxe-core' ), 'section' => 'noxe_header_off_canvas_section', 'active_callback' => array( array( 'setting' => 'noxe_off_canvas_copyright', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Header User Box ======*/ /*====== User Box Type ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_header_user_box_type', 'label' => esc_html__( 'User Box Type', 'noxe-core' ), 'section' => 'noxe_header_search_user_box_section', 'default' => 'type-1', 'choices' => array( 'type-1' => esc_html__( 'Link: Sign In Icon', 'noxe-core' ), 'type-2' => esc_html__( 'Link: Sign In + Sign Up Icon', 'noxe-core' ), 'type-3' => esc_html__( 'Link: Sign In Text', 'noxe-core' ), 'type-4' => esc_html__( 'Link: Sign In + Sign Up Text', 'noxe-core' ), 'type-5' => esc_html__( 'Popup: Sign In Icon', 'noxe-core' ), 'type-6' => esc_html__( 'Popup: Sign In + Sign Up Icon', 'noxe-core' ), 'type-7' => esc_html__( 'Popup: Sign In Text', 'noxe-core' ), 'type-8' => esc_html__( 'Popup: Sign In + Sign Up Text', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_header_user_box', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Sign In Page ======*/ noxe_customizer_add_field( array( 'type' => 'dropdown-pages', 'settings' => 'noxe_header_user_box_sign_in_page', 'label' => esc_html__( 'Sign In Page', 'noxe-core' ), 'section' => 'noxe_header_search_user_box_section', 'placeholder' => esc_html__( 'Select a Page', 'noxe-core' ), 'active_callback' => array( array( 'setting' => 'noxe_header_user_box', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Sign In Notice Text ======*/ noxe_customizer_add_field( array( 'type' => 'editor', 'settings' => 'noxe_header_user_box_sign_in_notice_text', 'label' => esc_html__( 'Sign In Notice Text', 'noxe-core' ), 'section' => 'noxe_header_search_user_box_section', ) ); /*====== Sign Up Page ======*/ noxe_customizer_add_field( array( 'type' => 'dropdown-pages', 'settings' => 'noxe_header_user_box_sign_up_page', 'label' => esc_html__( 'Sign Up Page', 'noxe-core' ), 'section' => 'noxe_header_search_user_box_section', 'placeholder' => esc_html__( 'Select a Page', 'noxe-core' ), 'active_callback' => array( array( 'setting' => 'noxe_header_user_box', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Sign Up Notice Text ======*/ noxe_customizer_add_field( array( 'type' => 'editor', 'settings' => 'noxe_header_user_box_sign_up_notice_text', 'label' => esc_html__( 'Sign Up Notice Text', 'noxe-core' ), 'section' => 'noxe_header_search_user_box_section', ) ); /*====== Profile Page ======*/ noxe_customizer_add_field( array( 'type' => 'dropdown-pages', 'settings' => 'noxe_header_user_box_profile_page', 'label' => esc_html__( 'Profile Page', 'noxe-core' ), 'section' => 'noxe_header_search_user_box_section', 'placeholder' => esc_html__( 'Select a Page', 'noxe-core' ), 'active_callback' => array( array( 'setting' => 'noxe_header_user_box', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Password Reset ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_header_user_box_password_reset', 'label' => esc_html__( 'Password Reset', 'noxe-core' ), 'section' => 'noxe_header_search_user_box_section', 'default' => '1', ) ); /*====== Password Reset Page ======*/ noxe_customizer_add_field( array( 'type' => 'dropdown-pages', 'settings' => 'noxe_header_user_box_password_reset_page', 'label' => esc_html__( 'Password Reset Page', 'noxe-core' ), 'section' => 'noxe_header_search_user_box_section', 'placeholder' => esc_html__( 'Select a Page', 'noxe-core' ), 'active_callback' => array( array( 'setting' => 'noxe_header_user_box_password_reset', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Social Login ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_header_user_box_social_login', 'label' => esc_html__( 'Social Login', 'noxe-core' ), 'section' => 'noxe_header_search_user_box_section', ) ); /*====== Social Login Shortcode ======*/ noxe_customizer_add_field( array( 'type' => 'editor', 'settings' => 'noxe_header_user_box_social_login_shortcode', 'label' => esc_html__( 'Social Login Shortcode', 'noxe-core' ), 'section' => 'noxe_header_search_user_box_section', 'active_callback' => array( array( 'setting' => 'noxe_header_user_box_social_login', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Search Popup ======*/ /*====== Search Popup Skin ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_search_popup_skin', 'label' => esc_html__( 'Search Popup Skin', 'noxe-core' ), 'section' => 'noxe_header_search_popup_section', 'default' => 'light', 'choices' => array( 'light' => esc_html__( 'Light', 'noxe-core' ), 'dark' => esc_html__( 'Dark', 'noxe-core' ), ), ) ); /*====== Explanation ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_search_popup_explanation', 'label' => esc_html__( 'Explanation', 'noxe-core' ), 'section' => 'noxe_header_search_popup_section', 'default' => '1', ) ); /*====== Explanation Text ======*/ noxe_customizer_add_field( array( 'type' => 'text', 'settings' => 'noxe_search_popup_explanation_text', 'label' => esc_html__( 'Explanation Text', 'noxe-core' ), 'section' => 'noxe_header_search_popup_section', 'active_callback' => array( array( 'setting' => 'noxe_search_popup_explanation', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Search Form Description ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_search_popup_search_form_description', 'label' => esc_html__( 'Search Form Description', 'noxe-core' ), 'section' => 'noxe_header_search_popup_section', 'default' => '1', ) ); /*====== Search Form Description Text ======*/ noxe_customizer_add_field( array( 'type' => 'text', 'settings' => 'noxe_search_popup_search_form_description_text', 'label' => esc_html__( 'Search Form Description Text', 'noxe-core' ), 'section' => 'noxe_header_search_popup_section', 'active_callback' => array( array( 'setting' => 'noxe_search_popup_search_form_description', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Logo Settings ======*/ /*====== Header Logo ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_header_logo', 'label' => esc_html__( 'Header Logo', 'noxe-core' ), 'section' => 'noxe_header_logos_section', 'default' => '1', ) ); /*====== Header Light Skin Logo ======*/ noxe_customizer_add_field( array( 'type' => 'image', 'settings' => 'noxe_header_light_skin_logo', 'label' => esc_html__( 'Header Light Skin Logo', 'noxe-core' ), 'description' => esc_html__( 'If you leave it blank, the text logo will be appear.', 'noxe-core' ), 'section' => 'noxe_header_logos_section', 'choices' => array( 'save_as' => 'id', ), ) ); /*====== Header Dark Skin Logo ======*/ noxe_customizer_add_field( array( 'type' => 'image', 'settings' => 'noxe_header_dark_skin_logo', 'label' => esc_html__( 'Header Dark Skin Logo', 'noxe-core' ), 'description' => esc_html__( 'If you leave it blank, the text logo will be appear.', 'noxe-core' ), 'section' => 'noxe_header_logos_section', 'choices' => array( 'save_as' => 'id', ), ) ); /*====== Header Logo Sizes ======*/ noxe_customizer_add_field( array( 'type' => 'dimensions', 'settings' => 'noxe_header_logo_sizes', 'label' => esc_html__( 'Header Logo Sizes', 'noxe-core' ), 'section' => 'noxe_header_logos_section', 'default' => array( 'width' => '71', 'height' => '21', ), ) ); /*====== Mobile Header Logo ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_mobile_header_logo', 'label' => esc_html__( 'Mobile Header Logo', 'noxe-core' ), 'section' => 'noxe_header_logos_section', 'default' => '1', ) ); /*====== Mobile Header Light Skin Logo ======*/ noxe_customizer_add_field( array( 'type' => 'image', 'settings' => 'noxe_mobile_header_light_skin_logo', 'label' => esc_html__( 'Mobile Header Light Skin Logo', 'noxe-core' ), 'description' => esc_html__( 'If you leave it blank, the text logo will be appear.', 'noxe-core' ), 'section' => 'noxe_header_logos_section', 'choices' => array( 'save_as' => 'id', ), ) ); /*====== Mobile Header Dark Skin Logo ======*/ noxe_customizer_add_field( array( 'type' => 'image', 'settings' => 'noxe_mobile_header_dark_skin_logo', 'label' => esc_html__( 'Mobile Header Dark Skin Logo', 'noxe-core' ), 'description' => esc_html__( 'If you leave it blank, the text logo will be appear.', 'noxe-core' ), 'section' => 'noxe_header_logos_section', 'choices' => array( 'save_as' => 'id', ), ) ); /*====== Mobile Header Logo Sizes ======*/ noxe_customizer_add_field( array( 'type' => 'dimensions', 'settings' => 'noxe_mobile_header_logo_sizes', 'label' => esc_html__( 'Mobile Header Logo Sizes', 'noxe-core' ), 'section' => 'noxe_header_logos_section', 'default' => array( 'width' => '71', 'height' => '21', ), ) ); /*====== Footer ======*/ /*====== Footer Panels ======*/ Kirki::add_panel( 'noxe_footer_panel', array( 'title' => esc_html__( 'Footer', 'noxe-core' ), 'priority' => 2, ) ); $sections = array( 'footer' => array( 'title' => esc_html__( 'Footer', 'noxe-core' ), ), 'footer_newsletter' => array( 'title' => esc_html__( 'Newsletter', 'noxe-core' ), ), 'footer_widgets' => array( 'title' => esc_html__( 'Widgets', 'noxe-core' ), ), 'footer_copyright' => array( 'title' => esc_html__( 'Copyright', 'noxe-core' ), ), 'footer_logos' => array( 'title' => esc_html__( 'Logos', 'noxe-core' ), ), 'footer_social_media' => array( 'title' => esc_html__( 'Social Media', 'noxe-core' ), ), ); if( !empty( $sections ) ) { foreach( $sections as $section_id => $section ) { if( !empty( $section ) ) { if( empty( $section["title"] ) ) { $section["title"] = ""; } if( empty( $section["description"] ) ) { $section["description"] = ""; } $section_args = array( 'title' => esc_attr( $section["title"] ), 'description' => esc_attr( $section["description"] ), 'panel' => 'noxe_footer_panel', ); if( isset( $section["priority"] ) ) { $section_args['type'] = esc_attr( $section["priority"] ); } Kirki::add_section( 'noxe_' . str_replace( '-', '_', $section_id ) . '_section', $section_args ); } } } /*====== Footer ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_footer', 'label' => esc_html__( 'Footer', 'noxe-core' ), 'section' => 'noxe_footer_section', 'default' => '1', ) ); /*====== Footer Skin ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_footer_skin', 'label' => esc_html__( 'Footer Skin', 'noxe-core' ), 'section' => 'noxe_footer_section', 'default' => 'dark', 'choices' => array( 'light' => esc_html__( 'Light', 'noxe-core' ), 'dark' => esc_html__( 'Dark', 'noxe-core' ), ), ) ); /*====== Footer Width ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_footer_width', 'label' => esc_html__( 'Footer Width', 'noxe-core' ), 'section' => 'noxe_footer_section', 'default' => 'narrow', 'choices' => array( 'wide' => esc_html__( 'Wide', 'noxe-core' ), 'narrow' => esc_html__( 'Narrow', 'noxe-core' ), ), ) ); /*====== Newsletter ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_footer_newsletter', 'label' => esc_html__( 'Newsletter', 'noxe-core' ), 'section' => 'noxe_footer_newsletter_section', 'default' => '1', ) ); /*====== Newsletter Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_footer_newsletter_style', 'label' => esc_html__( 'Newsletter Style', 'noxe-core' ), 'section' => 'noxe_footer_newsletter_section', 'default' => 'style-2', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), ), ) ); /*====== MailChimp Form ID ======*/ noxe_customizer_add_field( array( 'type' => 'text', 'settings' => 'noxe_footer_newsletter_form_id', 'label' => esc_html__( 'MailChimp Form ID', 'noxe-core' ), 'description' => esc_html__( 'Enter your MailChimp form ID. Go to MC4WP > Form from admin panel menu. You can see your form ID from this page. If you did not create a form, you should create a form that page.', 'noxe-core' ), 'section' => 'noxe_footer_newsletter_section', ) ); /*====== Newsletter Title ======*/ noxe_customizer_add_field( array( 'type' => 'text', 'settings' => 'noxe_footer_newsletter_title', 'label' => esc_html__( 'Newsletter Title', 'noxe-core' ), 'section' => 'noxe_footer_newsletter_section', ) ); /*====== Newsletter Text ======*/ noxe_customizer_add_field( array( 'type' => 'editor', 'settings' => 'noxe_footer_newsletter_text', 'label' => esc_html__( 'Newsletter Text', 'noxe-core' ), 'section' => 'noxe_footer_newsletter_section', ) ); /*====== Widgets ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_footer_widgets', 'label' => esc_html__( 'Widgets', 'noxe-core' ), 'section' => 'noxe_footer_widgets_section', 'default' => '1', ) ); /*====== Widgets Column ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_footer_widgets_column', 'label' => esc_html__( 'Widgets Column', 'noxe-core' ), 'description' => esc_html__( 'You can add the widgets to this widget area from the Appearance > Widgets page.', 'noxe-core' ), 'section' => 'noxe_footer_widgets_section', 'default' => '4', 'choices' => array( 'min' => 1, 'max' => 7, 'step' => 1, ), ) ); /*====== Copyright ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_footer_copyright', 'label' => esc_html__( 'Copyright', 'noxe-core' ), 'section' => 'noxe_footer_copyright_section', 'default' => '1', ) ); /*====== Copyright Text ======*/ noxe_customizer_add_field( array( 'type' => 'editor', 'settings' => 'noxe_footer_copyright_text', 'label' => esc_html__( 'Copyright Text', 'noxe-core' ), 'section' => 'noxe_footer_copyright_section', ) ); /*====== Footer Logo ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_footer_logo', 'label' => esc_html__( 'Footer Logo', 'noxe-core' ), 'section' => 'noxe_footer_logos_section', ) ); /*====== Footer Light Skin Logo ======*/ noxe_customizer_add_field( array( 'type' => 'image', 'settings' => 'noxe_footer_light_skin_logo', 'label' => esc_html__( 'Footer Light Skin Logo', 'noxe-core' ), 'description' => esc_html__( 'If you leave it blank, the text logo will be appear.', 'noxe-core' ), 'section' => 'noxe_footer_logos_section', 'choices' => array( 'save_as' => 'id', ), 'active_callback' => array( array( 'setting' => 'noxe_footer_logo', 'operator' => '==', 'value' => '1', ), ), ) ); /*====== Footer Dark Skin Logo ======*/ noxe_customizer_add_field( array( 'type' => 'image', 'settings' => 'noxe_footer_dark_skin_logo', 'label' => esc_html__( 'Footer Dark Skin Logo', 'noxe-core' ), 'description' => esc_html__( 'If you leave it blank, the text logo will be appear.', 'noxe-core' ), 'section' => 'noxe_footer_logos_section', 'choices' => array( 'save_as' => 'id', ), 'active_callback' => array( array( 'setting' => 'noxe_footer_logo', 'operator' => '==', 'value' => '1', ), ), ) ); /*====== Footer Logo Sizes ======*/ noxe_customizer_add_field( array( 'type' => 'dimensions', 'settings' => 'noxe_footer_logo_sizes', 'label' => esc_html__( 'Footer Logo Sizes', 'noxe-core' ), 'section' => 'noxe_footer_logos_section', 'default' => array( 'width' => '71', 'height' => '21', ), 'active_callback' => array( array( 'setting' => 'noxe_footer_logo', 'operator' => '==', 'value' => '1', ), ), ) ); /*====== Social Media Links ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_footer_social_media', 'label' => esc_html__( 'Social Media Links', 'noxe-core' ), 'section' => 'noxe_footer_social_media_section', ) ); /*====== Social Media Links Style ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_footer_social_media_style', 'label' => esc_html__( 'Social Media Links Style', 'noxe-core' ), 'section' => 'noxe_footer_social_media_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1 - v1', 'noxe-core' ), 'style-1-v2' => esc_html__( 'Style 1 - v2', 'noxe-core' ), 'style-1-v3' => esc_html__( 'Style 1 - v3', 'noxe-core' ), 'style-1-v4' => esc_html__( 'Style 1 - v4', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4 - v1', 'noxe-core' ), 'style-4-v2' => esc_html__( 'Style 4 - v2', 'noxe-core' ), 'style-5' => esc_html__( 'Style 5', 'noxe-core' ), 'style-6' => esc_html__( 'Style 6 - v1', 'noxe-core' ), 'style-6-v2' => esc_html__( 'Style 6 - v2', 'noxe-core' ), 'style-6-v3' => esc_html__( 'Style 6 - v3', 'noxe-core' ), 'style-6-v4' => esc_html__( 'Style 6 - v4', 'noxe-core' ), 'style-7' => esc_html__( 'Style 7', 'noxe-core' ), 'style-8' => esc_html__( 'Style 8', 'noxe-core' ), 'style-9' => esc_html__( 'Style 9', 'noxe-core' ), 'style-10' => esc_html__( 'Style 10', 'noxe-core' ), 'style-11' => esc_html__( 'Style 11', 'noxe-core' ), 'style-12' => esc_html__( 'Style 12', 'noxe-core' ), 'style-13' => esc_html__( 'Style 13 - v1', 'noxe-core' ), 'style-13-v2' => esc_html__( 'Style 13 - v2', 'noxe-core' ), 'style-13-v3' => esc_html__( 'Style 13 - v3', 'noxe-core' ), 'style-13-v4' => esc_html__( 'Style 13 - v4', 'noxe-core' ), 'style-14' => esc_html__( 'Style 14 - v1', 'noxe-core' ), 'style-14-v2' => esc_html__( 'Style 14 - v2', 'noxe-core' ), 'style-14-v3' => esc_html__( 'Style 14 - v3', 'noxe-core' ), 'style-14-v4' => esc_html__( 'Style 14 - v4', 'noxe-core' ), 'style-14-v5' => esc_html__( 'Style 14 - v5', 'noxe-core' ), 'style-14-v6' => esc_html__( 'Style 14 - v6', 'noxe-core' ), 'style-14-v7' => esc_html__( 'Style 14 - v7', 'noxe-core' ), 'style-14-v8' => esc_html__( 'Style 14 - v8', 'noxe-core' ), 'style-15' => esc_html__( 'Style 15', 'noxe-core' ), 'style-15-v2' => esc_html__( 'Style 15 v2', 'noxe-core' ), 'style-15-v3' => esc_html__( 'Style 15 v3', 'noxe-core' ), 'style-15-v4' => esc_html__( 'Style 15 v4', 'noxe-core' ), 'style-15-v5' => esc_html__( 'Style 15 v5', 'noxe-core' ), 'style-15-v6' => esc_html__( 'Style 15 v6', 'noxe-core' ), 'style-15-v7' => esc_html__( 'Style 15 v7', 'noxe-core' ), 'style-15-v8' => esc_html__( 'Style 15 v8', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_footer_social_media', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Social Media Links Size ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_footer_social_media_size', 'label' => esc_html__( 'Social Media Links Size', 'noxe-core' ), 'section' => 'noxe_footer_social_media_section', 'default' => 'size-m', 'choices' => array( 'size-s' => esc_html__( 'Small', 'noxe-core' ), 'size-m' => esc_html__( 'Medium', 'noxe-core' ), 'size-l' => esc_html__( 'Large', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_footer_social_media', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Layout ======*/ /*====== Responsive ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_layout_responsive', 'label' => esc_html__( 'Responsive', 'noxe-core' ), 'description' => esc_html__( 'Choose status of the responsive support for the mobile devices.', 'noxe-core' ), 'section' => 'noxe_layout_section', 'default' => '1', ) ); /*====== Site Width ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_layout_site_width', 'label' => esc_html__( 'Site Width', 'noxe-core' ), 'description' => esc_html__( 'In pixel. This with is container width. If you are using full width design, the site with will not change.', 'noxe-core' ), 'section' => 'noxe_layout_section', 'default' => '1520', 'choices' => array( 'min' => 767, 'max' => 5000, 'step' => 1, ), ) ); /*====== Container Padding ======*/ noxe_customizer_add_field( array( 'type' => 'dimensions', 'settings' => 'noxe_layout_container_padding', 'label' => esc_html__( 'Container Padding', 'noxe-core' ), 'description' => esc_html__( 'In pixel.', 'noxe-core' ), 'section' => 'noxe_layout_section', 'default' => array( 'left' => '100px', 'right' => '100px', ), ) ); /*====== Page Wrapper Padding ======*/ noxe_customizer_add_field( array( 'type' => 'dimensions', 'settings' => 'noxe_layout_page_wrapper_padding', 'label' => esc_html__( 'Page Wrapper Padding', 'noxe-core' ), 'description' => esc_html__( 'In pixel.', 'noxe-core' ), 'section' => 'noxe_layout_section', 'default' => array( 'top' => '130px', 'bottom' => '130px', ), ) ); /*====== Colors ======*/ /*====== Theme Skin ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_colors_theme_skin', 'label' => esc_html__( 'Theme Skin', 'noxe-core' ), 'section' => 'colors', 'default' => 'light', 'choices' => array( 'light' => esc_html__( 'Light', 'noxe-core' ), 'dark' => esc_html__( 'Dark', 'noxe-core' ), ), ) ); /*====== Primary Color ======*/ noxe_customizer_add_field( array( 'type' => 'color', 'settings' => 'noxe_colors_primary_color', 'label' => esc_html__( 'Primary Color', 'noxe-core' ), 'section' => 'colors', 'default' => '#111111', ) ); /*====== Primary Hover Color ======*/ noxe_customizer_add_field( array( 'type' => 'color', 'settings' => 'noxe_colors_primary_hover_color', 'label' => esc_html__( 'Primary Hover Color', 'noxe-core' ), 'section' => 'colors', 'default' => '#333333', ) ); /*====== Secondary Color ======*/ noxe_customizer_add_field( array( 'type' => 'color', 'settings' => 'noxe_colors_secondary_color', 'label' => esc_html__( 'Secondary Color', 'noxe-core' ), 'section' => 'colors', 'default' => '#db6a6a', ) ); /*====== Border Color ======*/ noxe_customizer_add_field( array( 'type' => 'color', 'settings' => 'noxe_colors_border_color', 'label' => esc_html__( 'Border Color', 'noxe-core' ), 'section' => 'colors', 'default' => 'rgba(0, 0, 0, 0.1)', ) ); /*====== Border Hover Color ======*/ noxe_customizer_add_field( array( 'type' => 'color', 'settings' => 'noxe_colors_border_hover_color', 'label' => esc_html__( 'Border Hover Color', 'noxe-core' ), 'section' => 'colors', 'default' => 'rgba(0, 0, 0, 0.3)', ) ); /*====== Border Dark Color ======*/ noxe_customizer_add_field( array( 'type' => 'color', 'settings' => 'noxe_colors_border_dark_color', 'label' => esc_html__( 'Border Dark Color', 'noxe-core' ), 'section' => 'colors', 'default' => 'rgba(255, 255, 255, 0.12)', ) ); /*====== Border Dark Hover Color ======*/ noxe_customizer_add_field( array( 'type' => 'color', 'settings' => 'noxe_colors_border_dark_hover_color', 'label' => esc_html__( 'Border Dark Hover Color', 'noxe-core' ), 'section' => 'colors', 'default' => 'rgba(255, 255, 255, 0.2)', ) ); /*====== Input Border Color ======*/ noxe_customizer_add_field( array( 'type' => 'color', 'settings' => 'noxe_colors_input_border_color', 'label' => esc_html__( 'Input Border Color', 'noxe-core' ), 'section' => 'colors', 'default' => 'rgba(0, 0, 0, 0.1)', ) ); /*====== Input Border Hover Color ======*/ noxe_customizer_add_field( array( 'type' => 'color', 'settings' => 'noxe_colors_input_border_hover_color', 'label' => esc_html__( 'Input Border Hover Color', 'noxe-core' ), 'section' => 'colors', 'default' => 'rgba(0, 0, 0, 0.3)', ) ); /*====== Input Border Dark Color ======*/ noxe_customizer_add_field( array( 'type' => 'color', 'settings' => 'noxe_colors_input_border_dark_color', 'label' => esc_html__( 'Input Border Dark Color', 'noxe-core' ), 'section' => 'colors', 'default' => 'rgba(255, 255, 255, 0.12)', ) ); /*====== Input Border Dark Hover Color ======*/ noxe_customizer_add_field( array( 'type' => 'color', 'settings' => 'noxe_colors_input_border_dark_hover_color', 'label' => esc_html__( 'Input Border Dark Hover Color', 'noxe-core' ), 'section' => 'colors', 'default' => 'rgba(255, 255, 255, 0.2)', ) ); /*====== Page Wrapper Background ======*/ noxe_customizer_add_field( array( 'type' => 'background', 'settings' => 'noxe_page_wrapper_background', 'label' => esc_html__( 'Page Wrapper Background', 'noxe-core' ), 'section' => 'colors', 'default' => array( 'background-color' => '', 'background-image' => '', 'background-repeat' => '', 'background-position' => '', 'background-size' => '', 'background-attachment' => '', ), 'output' => array( array( 'element' => '.gt-main, .gt-widget .gt-widget-title.gt-style-1 span, .gt-widget .gt-widget-title.gt-style-2 span', ), ), ) ); /*====== Typography ======*/ /*====== Menu Panels ======*/ Kirki::add_panel( 'noxe_typography_panel', array( 'title' => esc_html__( 'Typography', 'noxe-core' ), 'priority' => 5, ) ); $sections = array( 'typography_general' => array( 'title' => esc_html__( 'General', 'noxe-core' ), ), 'typography_headings' => array( 'title' => esc_html__( 'Headings', 'noxe-core' ), ), 'typography_typekit' => array( 'title' => esc_html__( 'Adobe Fonts Integration (Typekit)', 'noxe-core' ), ), ); if( !empty( $sections ) ) { foreach( $sections as $section_id => $section ) { if( !empty( $section ) ) { if( empty( $section["title"] ) ) { $section["title"] = ""; } if( empty( $section["description"] ) ) { $section["description"] = ""; } $section_args = array( 'title' => esc_attr( $section["title"] ), 'description' => esc_attr( $section["description"] ), 'panel' => 'noxe_typography_panel', ); if( isset( $section["priority"] ) ) { $section_args['type'] = esc_attr( $section["priority"] ); } Kirki::add_section( 'noxe_' . str_replace( '-', '_', $section_id ) . '_section', $section_args ); } } } /*====== General ======*/ /*====== HTML Typography ======*/ noxe_customizer_add_field( array( 'type' => 'typography', 'settings' => 'noxe_typography_html', 'label' => esc_html__( 'HTML Typography', 'noxe-core' ), 'section' => 'noxe_typography_general_section', 'default' => array( 'font-family' => '', 'variant' => '', 'font-size' => '', 'line-height' => '', 'letter-spacing' => '', 'color' => '', 'text-transform' => '', 'text-decoration' => '', 'text-align' => '', ), 'output' => array( array( 'element' => 'html', ), array( 'element' => '.editor-block-list__layout', 'context' => array( 'editor' ), ), ), 'choices' => noxe_add_adobe_typekit_fonts( $font_variants ), ) ); /*====== Primary Font ======*/ noxe_customizer_add_field( array( 'type' => 'typography', 'settings' => 'noxe_typography_primary', 'label' => esc_html__( 'Primary Font', 'noxe-core' ), 'section' => 'noxe_typography_general_section', 'default' => array( 'font-family' => 'Source Sans Pro', ), 'output' => array( array( 'element' => 'body', ), ), 'choices' => noxe_add_adobe_typekit_fonts( $font_variants ), ) ); /*====== Body Typography ======*/ noxe_customizer_add_field( array( 'type' => 'typography', 'settings' => 'noxe_typography_body', 'label' => esc_html__( 'Body Typography', 'noxe-core' ), 'section' => 'noxe_typography_general_section', 'default' => array( 'font-family' => '', 'variant' => '400', 'font-size' => '1rem', 'line-height' => '1.4', 'letter-spacing' => '0.35px', 'color' => '#111111', 'text-transform' => '', 'text-decoration' => '', 'text-align' => '', ), 'output' => array( array( 'element' => 'body', ), ), 'choices' => noxe_add_adobe_typekit_fonts( $font_variants ), ) ); /*====== Headings ======*/ /*====== H1 Typography ======*/ noxe_customizer_add_field( array( 'type' => 'typography', 'settings' => 'noxe_typography_h1', 'label' => esc_html__( 'H1 Typography', 'noxe-core' ), 'section' => 'noxe_typography_headings_section', 'default' => array( 'font-family' => '', 'variant' => '', 'font-size' => '', 'line-height' => '', 'letter-spacing' => '', 'color' => '', 'text-transform' => '', 'text-decoration' => '', 'text-align' => '', ), 'output' => array( array( 'element' => 'h1', ), ), 'choices' => noxe_add_adobe_typekit_fonts( $font_variants ), ) ); /*====== H2 Typography ======*/ noxe_customizer_add_field( array( 'type' => 'typography', 'settings' => 'noxe_typography_h2', 'label' => esc_html__( 'H2 Typography', 'noxe-core' ), 'section' => 'noxe_typography_headings_section', 'default' => array( 'font-family' => '', 'variant' => '', 'font-size' => '', 'line-height' => '', 'letter-spacing' => '', 'color' => '', 'text-transform' => '', 'text-decoration' => '', 'text-align' => '', ), 'output' => array( array( 'element' => 'h2', ), ), 'choices' => noxe_add_adobe_typekit_fonts( $font_variants ), ) ); /*====== H3 Typography ======*/ noxe_customizer_add_field( array( 'type' => 'typography', 'settings' => 'noxe_typography_h3', 'label' => esc_html__( 'H3 Typography', 'noxe-core' ), 'section' => 'noxe_typography_headings_section', 'default' => array( 'font-family' => '', 'variant' => '', 'font-size' => '', 'line-height' => '', 'letter-spacing' => '', 'color' => '', 'text-transform' => '', 'text-decoration' => '', 'text-align' => '', ), 'output' => array( array( 'element' => 'h3', ), ), 'choices' => noxe_add_adobe_typekit_fonts( $font_variants ), ) ); /*====== H4 Typography ======*/ noxe_customizer_add_field( array( 'type' => 'typography', 'settings' => 'noxe_typography_h4', 'label' => esc_html__( 'H4 Typography', 'noxe-core' ), 'section' => 'noxe_typography_headings_section', 'default' => array( 'font-family' => '', 'variant' => '', 'font-size' => '', 'line-height' => '', 'letter-spacing' => '', 'color' => '', 'text-transform' => '', 'text-decoration' => '', 'text-align' => '', ), 'output' => array( array( 'element' => 'h4', ), ), 'choices' => noxe_add_adobe_typekit_fonts( $font_variants ), ) ); /*====== H5 Typography ======*/ noxe_customizer_add_field( array( 'type' => 'typography', 'settings' => 'noxe_typography_h5', 'label' => esc_html__( 'H5 Typography', 'noxe-core' ), 'section' => 'noxe_typography_headings_section', 'default' => array( 'font-family' => '', 'variant' => '', 'font-size' => '', 'line-height' => '', 'letter-spacing' => '', 'color' => '', 'text-transform' => '', 'text-decoration' => '', 'text-align' => '', ), 'output' => array( array( 'element' => 'h5', ), ), 'choices' => noxe_add_adobe_typekit_fonts( $font_variants ), ) ); /*====== H6 Typography ======*/ noxe_customizer_add_field( array( 'type' => 'typography', 'settings' => 'noxe_typography_h6', 'label' => esc_html__( 'H6 Typography', 'noxe-core' ), 'section' => 'noxe_typography_headings_section', 'default' => array( 'font-family' => '', 'variant' => '', 'font-size' => '', 'line-height' => '', 'letter-spacing' => '', 'color' => '', 'text-transform' => '', 'text-decoration' => '', 'text-align' => '', ), 'output' => array( array( 'element' => 'h6', ), ), 'choices' => noxe_add_adobe_typekit_fonts( $font_variants ), ) ); /*====== Typekit Integration ======*/ /*====== Typekit ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_adobe_typekit', 'label' => esc_html__( 'Adobe Fonts Integration (Typekit)', 'noxe-core' ), 'section' => 'noxe_typography_typekit_section', 'default' => '0', ) ); /*====== Typekit ID ======*/ noxe_customizer_add_field( array( 'type' => 'text', 'settings' => 'noxe_adobe_typekit_id', 'label' => esc_html__( 'Typekit ID', 'noxe-core' ), 'description' => esc_html__( 'Enter your Typekit ID.', 'noxe-core' ), 'tooltip' => '<a target="_blank" href="' . esc_url( 'https://helpx.adobe.com/typekit/using/add-fonts-website.html' ) . '">' . esc_html__( 'Get info about Typekit.', 'noxe-core' ) . '</a>', 'section' => 'noxe_typography_typekit_section', 'active_callback' => array( array( 'setting' => 'noxe_adobe_typekit', 'operator' => '==', 'value' => true, ) ), ) ); /*====== Typekit Fonts ======*/ noxe_customizer_add_field( array( 'type' => 'repeater', 'settings' => 'noxe_adobe_typekit_fonts', 'label' => esc_html__( 'Typekit Fonts', 'noxe-core' ), 'description' => esc_html__( 'You can add typekit fonts from here. Please save the page after adding the font. You must refresh the page so that the added font appears in the list.', 'noxe-core' ), 'section' => 'noxe_typography_typekit_section', 'button_label' => esc_html__( 'Create A Font', 'noxe-core' ), 'row_label' => array( 'type' => 'text', 'value' => esc_html__( 'Typekit Font', 'noxe-core' ), 'field' => 'font_name', ), 'fields' => array( 'font_slug' => array( 'type' => 'text', 'label' => esc_html__( 'Font Slug', 'noxe-core' ) , 'description' => esc_html__( 'Enter font slug name. Example: paralucent', 'noxe-core' ), ), 'font_name' => array( 'type' => 'text', 'label' => esc_html__( 'Font Name', 'noxe-core' ) , 'description' => esc_html__( 'Enter font name. Example: Paralucent', 'noxe-core' ), ), 'font_variants' => array( 'type' => 'select', 'label' => esc_html__( 'Variants', 'noxe-core' ) , 'description' => esc_html__( 'Choose font variants from the dropdown.', 'noxe-core' ), 'placeholder' => esc_html__( 'Variants', 'noxe-core' ), 'multiple' => 20, 'choices' => array( 'regular' => esc_html__( 'regular', 'noxe-core' ), 'italic' => esc_html__( 'italic', 'noxe-core' ), '100' => esc_html__( '100', 'noxe-core' ), '100italic' => esc_html__( '100italic', 'noxe-core' ), '200' => esc_html__( '200', 'noxe-core' ), '200italic' => esc_html__( '200italic', 'noxe-core' ), '300' => esc_html__( '300', 'noxe-core' ), '300italic' => esc_html__( '300italic', 'noxe-core' ), '400' => esc_html__( '400', 'noxe-core' ), '400italic' => esc_html__( '400italic', 'noxe-core' ), '500' => esc_html__( '500', 'noxe-core' ), '500italic' => esc_html__( '500italic', 'noxe-core' ), '600' => esc_html__( '600', 'noxe-core' ), '600italic' => esc_html__( '600italic', 'noxe-core' ), '700' => esc_html__( '700', 'noxe-core' ), '700italic' => esc_html__( '700italic', 'noxe-core' ), '800' => esc_html__( '800', 'noxe-core' ), '800italic' => esc_html__( '800italic', 'noxe-core' ), '900' => esc_html__( '900', 'noxe-core' ), '900italic' => esc_html__( '900italic', 'noxe-core' ), ) ), ), 'active_callback' => array( array( 'setting' => 'noxe_adobe_typekit', 'operator' => '==', 'value' => true, ) ), ) ); /*====== Titles ======*/ /*====== Titles Panels ======*/ Kirki::add_panel( 'noxe_titles_panel', array( 'title' => esc_html__( 'Titles', 'noxe-core' ), 'priority' => 6, ) ); $sections = array( 'titles_overview' => array( 'title' => esc_html__( 'Overview', 'noxe-core' ), ), 'titles_subpage_hero' => array( 'title' => esc_html__( 'Subpage Hero', 'noxe-core' ), ), 'titles_modules' => array( 'title' => esc_html__( 'Modules', 'noxe-core' ), ), 'titles_content_module' => array( 'title' => esc_html__( 'Content Module', 'noxe-core' ), ), 'titles_episodes_module' => array( 'title' => esc_html__( 'Episodes Module', 'noxe-core' ), ), 'titles_media_module' => array( 'title' => esc_html__( 'Media Module', 'noxe-core' ), ), 'titles_videos_module' => array( 'title' => esc_html__( 'Videos Module', 'noxe-core' ), ), 'titles_photos_module' => array( 'title' => esc_html__( 'Photos Module', 'noxe-core' ), ), 'titles_cast_module' => array( 'title' => esc_html__( 'Cast Module', 'noxe-core' ), ), 'titles_details_module' => array( 'title' => esc_html__( 'Details Module', 'noxe-core' ), ), 'titles_related_titles_module' => array( 'title' => esc_html__( 'Related Titles Module', 'noxe-core' ), ), 'titles_related_news_module' => array( 'title' => esc_html__( 'Related News Module', 'noxe-core' ), ), 'titles_social_sharing_module' => array( 'title' => esc_html__( 'Social Sharing Module', 'noxe-core' ), ), 'titles_comments' => array( 'title' => esc_html__( 'Comments', 'noxe-core' ), ), 'titles_layout' => array( 'title' => esc_html__( 'Layout', 'noxe-core' ), ), 'titles_sidebar' => array( 'title' => esc_html__( 'Sidebar', 'noxe-core' ), ), 'titles_imdb_integration' => array( 'title' => esc_html__( 'IMDb Integration', 'noxe-core' ), ), 'titles_other_settings' => array( 'title' => esc_html__( 'Other Settings', 'noxe-core' ), ), ); if( !empty( $sections ) ) { foreach( $sections as $section_id => $section ) { if( !empty( $section ) ) { if( empty( $section["title"] ) ) { $section["title"] = ""; } if( empty( $section["description"] ) ) { $section["description"] = ""; } $section_args = array( 'title' => esc_attr( $section["title"] ), 'description' => esc_attr( $section["description"] ), 'panel' => 'noxe_titles_panel', ); if( isset( $section["priority"] ) ) { $section_args['type'] = esc_attr( $section["priority"] ); } Kirki::add_section( 'noxe_' . str_replace( '-', '_', $section_id ) . '_section', $section_args ); } } } /*====== Overview ======*/ /*====== Poster ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_overview_poster', 'label' => esc_html__( 'Poster', 'noxe-core' ), 'section' => 'noxe_titles_overview_section', 'default' => '1', ) ); /*====== Year ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_overview_year', 'label' => esc_html__( 'Year', 'noxe-core' ), 'section' => 'noxe_titles_overview_section', 'default' => '1', ) ); /*====== Original Title ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_overview_original_title', 'label' => esc_html__( 'Original Title', 'noxe-core' ), 'section' => 'noxe_titles_overview_section', ) ); /*====== Mini Summary Text ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_mini_overview_summary_text', 'label' => esc_html__( 'Mini Summary Text', 'noxe-core' ), 'section' => 'noxe_titles_overview_section', 'default' => '1', ) ); /*====== Age Rating ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_overview_age_rating', 'label' => esc_html__( 'Age Rating', 'noxe-core' ), 'section' => 'noxe_titles_overview_section', 'default' => '1', ) ); /*====== Watch Trailer Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_overview_watch_trailer', 'label' => esc_html__( 'Watch Trailer Button', 'noxe-core' ), 'section' => 'noxe_titles_overview_section', 'default' => '1', ) ); /*====== Time ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_overview_time', 'label' => esc_html__( 'Time', 'noxe-core' ), 'section' => 'noxe_titles_overview_section', 'default' => '1', ) ); /*====== Genres ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_overview_genres', 'label' => esc_html__( 'Genres', 'noxe-core' ), 'section' => 'noxe_titles_overview_section', 'default' => '1', ) ); /*====== Release Date ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_overview_release_date', 'label' => esc_html__( 'Release Date', 'noxe-core' ), 'section' => 'noxe_titles_overview_section', 'default' => '1', ) ); /*====== User Review Results ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_overview_user_review_results', 'label' => esc_html__( 'User Review Results', 'noxe-core' ), 'section' => 'noxe_titles_overview_section', 'default' => '1', ) ); /*====== IMDb Rating ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_overview_imdb_rating', 'label' => esc_html__( 'IMDb Rating', 'noxe-core' ), 'section' => 'noxe_titles_overview_section', 'default' => '1', ) ); /*====== Network ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_overview_network', 'label' => esc_html__( 'Network', 'noxe-core' ), 'section' => 'noxe_titles_overview_section', 'default' => '1', ) ); /*====== Status ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_overview_status', 'label' => esc_html__( 'Status', 'noxe-core' ), 'section' => 'noxe_titles_overview_section', 'default' => '1', ) ); /*====== Add to Watchlist Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_overview_watchlist_button', 'label' => esc_html__( 'Add to Watchlist Button', 'noxe-core' ), 'section' => 'noxe_titles_overview_section', 'default' => '1', ) ); /*====== Add to Favorites Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_overview_favorites_button', 'label' => esc_html__( 'Add to Favorites Button', 'noxe-core' ), 'section' => 'noxe_titles_overview_section', 'default' => '1', ) ); /*====== Subpage Hero ======*/ /*====== Poster ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_subpage_hero_poster', 'label' => esc_html__( 'Poster', 'noxe-core' ), 'section' => 'noxe_titles_subpage_hero_section', 'default' => '1', ) ); /*====== Year ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_subpage_hero_year', 'label' => esc_html__( 'Year', 'noxe-core' ), 'section' => 'noxe_titles_subpage_hero_section', 'default' => '1', ) ); /*====== Subtitle ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_subpage_hero_subtitle', 'label' => esc_html__( 'Subtitle', 'noxe-core' ), 'section' => 'noxe_titles_subpage_hero_section', 'default' => '1', ) ); /*====== Back to Main Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_subpage_hero_back_button', 'label' => esc_html__( 'Back to Main Button', 'noxe-core' ), 'section' => 'noxe_titles_subpage_hero_section', 'default' => '1', ) ); /*====== Modules ======*/ /*====== Title Modules ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_title_modules', 'label' => esc_html__( 'Title Modules', 'noxe-core' ), 'section' => 'noxe_titles_modules_section', 'default' => array( 'content-module', 'episodes-module', 'videos-module', 'cast-module', 'photos-module', 'details-module', 'related-titles-module', 'related-news-module', 'social-sharing-module', ), 'choices' => array( 'content-module' => esc_html__( 'Content Module', 'noxe-core' ), 'episodes-module' => esc_html__( 'Episodes Module', 'noxe-core' ), 'media-module' => esc_html__( 'Media Module', 'noxe-core' ), 'videos-module' => esc_html__( 'Videos Module', 'noxe-core' ), 'cast-module' => esc_html__( 'Cast Module', 'noxe-core' ), 'photos-module' => esc_html__( 'Photos Module', 'noxe-core' ), 'details-module' => esc_html__( 'Details Module', 'noxe-core' ), 'related-titles-module' => esc_html__( 'Related Titles Module', 'noxe-core' ), 'related-news-module' => esc_html__( 'Related News Module', 'noxe-core' ), 'social-sharing-module' => esc_html__( 'Social Sharing Module', 'noxe-core' ), ), ) ); /*====== Content Module ======*/ /*====== Content Module ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_content_module', 'label' => esc_html__( 'Content Module', 'noxe-core' ), 'section' => 'noxe_titles_content_module_section', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_content_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_titles_content_module_section', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_content_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_titles_content_module_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_content_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_titles_content_module_section', 'default' => '1', ) ); /*====== Episodes Module ======*/ /*====== Episodes Module ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_episodes_module', 'label' => esc_html__( 'Episodes Module', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_episodes_module_heading', 'label' => esc_html__( 'Episodes Heading', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => '1', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_episodes_module_heading_style', 'label' => esc_html__( 'Episodes Heading Style', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Season List ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_episodes_module_season_list', 'label' => esc_html__( 'Season List', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => '1', ) ); /*====== Year List ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_episodes_module_year_list', 'label' => esc_html__( 'Year List', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => '1', ) ); /*====== Field Headings ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_episodes_module_field_headings', 'label' => esc_html__( 'Field Headings', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => '1', ) ); /*====== Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_episodes_module_column', 'label' => esc_html__( 'Module Column', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => '2', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), ), ) ); /*====== Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_episodes_module_column_space', 'label' => esc_html__( 'Module Column Space', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => '30', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_episodes_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => '1', ) ); /*====== Episode Filtering ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_episodes_module_filtering', 'label' => esc_html__( 'Episode Filtering', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => '1', ) ); /*====== Episode Filtering Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_episodes_module_filtering_column', 'label' => esc_html__( 'Episode Filtering Column', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => '3', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), ), ) ); /*====== Episode Filtering Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_episodes_module_filtering_column_space', 'label' => esc_html__( 'Episode Filtering Column Space', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => '20', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Filtering with Season ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_episodes_module_season_filtering', 'label' => esc_html__( 'Filtering with Season', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => '1', ) ); /*====== Filtering with Year ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_episodes_module_year_filtering', 'label' => esc_html__( 'Filtering with Year', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => '1', ) ); /*====== Title Listing Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_episodes_module_title_style', 'label' => esc_html__( 'Title Listing Style', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Title Listing Meta Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_episodes_module_title_listing_meta_fields', 'label' => esc_html__( 'Title Listing Meta Fields', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => array( 'poster', 'title-name', 'genre', 'episode-season', 'episode-number', ), 'choices' => array( 'poster' => esc_html__( 'Poster', 'noxe-core' ), 'title-name' => esc_html__( 'Title Name', 'noxe-core' ), 'original-title-name' => esc_html__( 'Original Title Name', 'noxe-core' ), 'genre' => esc_html__( 'Genre', 'noxe-core' ), 'excerpt' => esc_html__( 'Excerpt', 'noxe-core' ), 'type' => esc_html__( 'Type', 'noxe-core' ), 'language' => esc_html__( 'Language', 'noxe-core' ), 'country' => esc_html__( 'Country', 'noxe-core' ), 'status' => esc_html__( 'Status', 'noxe-core' ), 'release-date' => esc_html__( 'Release Date', 'noxe-core' ), 'in-theaters' => esc_html__( 'In Theaters Info', 'noxe-core' ), 'user-reviews' => esc_html__( 'User Reviews', 'noxe-core' ), 'imdb-rating' => esc_html__( 'IMDb Rating', 'noxe-core' ), 'age-rating' => esc_html__( 'Age Rating', 'noxe-core' ), 'runtime' => esc_html__( 'Runtime', 'noxe-core' ), 'episode-season' => esc_html__( 'Episode Season', 'noxe-core' ), 'episode-number' => esc_html__( 'Episode Number', 'noxe-core' ), ), ) ); /*====== Title Listing Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_episodes_module_title_listing_column', 'label' => esc_html__( 'Title Listing Column', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => '4', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== Title Listing Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_episodes_module_title_listing_column_space', 'label' => esc_html__( 'Title Listing Column Space', 'noxe-core' ), 'section' => 'noxe_titles_episodes_module_section', 'default' => '20', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Media Module ======*/ /*====== Media Module ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_media_module', 'label' => esc_html__( 'Media Module', 'noxe-core' ), 'section' => 'noxe_titles_media_module_section', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_media_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_titles_media_module_section', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_media_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_titles_media_module_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_media_module_column', 'label' => esc_html__( 'Module Column', 'noxe-core' ), 'section' => 'noxe_titles_media_module_section', 'default' => '2', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), ), ) ); /*====== Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_media_module_column_space', 'label' => esc_html__( 'Module Column Space', 'noxe-core' ), 'section' => 'noxe_titles_media_module_section', 'default' => '30', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_media_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_titles_media_module_section', 'default' => '1', ) ); /*====== Videos Module ======*/ /*====== Videos Module ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_videos_module', 'label' => esc_html__( 'Videos Module', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_videos_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_videos_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== All Videos Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_videos_all_videos_button', 'label' => esc_html__( 'All Videos Button', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', ) ); /*====== Module Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_videos_module_type', 'label' => esc_html__( 'Module Type', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', 'default' => 'carousel', 'choices' => array( 'grid' => esc_html__( 'Grid', 'noxe-core' ), 'carousel' => esc_html__( 'Carousel', 'noxe-core' ), ), ) ); /*====== Video Count ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_titles_videos_module_video_count', 'label' => esc_html__( 'Video Count', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', 'default' => '8', 'choices' => array( 'min' => 0, 'max' => 100, 'step' => 1, ), ) ); /*====== Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_videos_module_column', 'label' => esc_html__( 'Module Column', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', 'default' => '4', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_videos_module_column_space', 'label' => esc_html__( 'Module Column Space', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', 'default' => '20', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Carousel Autoplay ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_videos_module_carousel_autoplay', 'label' => esc_html__( 'Carousel Autoplay', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Autoplay Delay ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_titles_videos_module_carousel_autoplay_delay', 'label' => esc_html__( 'Carousel Autoplay Delay', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', 'default' => '15000', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_titles_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Loop ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_videos_module_carousel_loop', 'label' => esc_html__( 'Carousel Loop', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Slide Speed ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_titles_videos_module_carousel_slide_speed', 'label' => esc_html__( 'Carousel Slide Speed', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', 'default' => '800', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_titles_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Centered Slides ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_videos_module_carousel_centered_slides', 'label' => esc_html__( 'Carousel Centered Slides', 'noxe-core' ), 'description' => esc_html__( 'If you choose true, then active slide will be centered, not always on the left side.', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Pagination ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_videos_module_carousel_pagination', 'label' => esc_html__( 'Carousel Pagination', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_titles_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), 'active_callback' => array( array( 'setting' => 'noxe_titles_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Navigation ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_videos_module_carousel_navigation', 'label' => esc_html__( 'Carousel Navigation', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_titles_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), 'active_callback' => array( array( 'setting' => 'noxe_titles_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== All Videos Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_videos_all_videos_module_column', 'label' => esc_html__( 'All Videos Module Column', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', 'default' => '4', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== All Videos Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_videos_all_videos_module_column_space', 'label' => esc_html__( 'All Videos Module Column Space', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', 'default' => '20', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_videos_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_titles_videos_module_section', ) ); /*====== Photos Module ======*/ /*====== Photos Module ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_photos_module', 'label' => esc_html__( 'Photos Module', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_photos_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_photos_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== All Photos Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_photos_all_photos_button', 'label' => esc_html__( 'All Photos Button', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', ) ); /*====== Module Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_photos_module_type', 'label' => esc_html__( 'Module Type', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', 'default' => 'carousel', 'choices' => array( 'grid' => esc_html__( 'Grid', 'noxe-core' ), 'carousel' => esc_html__( 'Carousel', 'noxe-core' ), ), ) ); /*====== Photo Count ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_titles_photos_photo_count', 'label' => esc_html__( 'Photo Count', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', 'default' => '8', 'choices' => array( 'min' => 0, 'max' => 100, 'step' => 1, ), ) ); /*====== Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_photos_module_column', 'label' => esc_html__( 'Photos Column', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', 'default' => '4', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_photos_module_column_space', 'label' => esc_html__( 'Photos Column Space', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', 'default' => '20', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Carousel Autoplay ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_photos_module_carousel_autoplay', 'label' => esc_html__( 'Carousel Autoplay', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_photos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Autoplay Delay ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_titles_photos_module_carousel_autoplay_delay', 'label' => esc_html__( 'Carousel Autoplay Delay', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', 'default' => '15000', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_titles_photos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Loop ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_photos_module_carousel_loop', 'label' => esc_html__( 'Carousel Loop', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_photos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Slide Speed ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_titles_photos_module_carousel_slide_speed', 'label' => esc_html__( 'Carousel Slide Speed', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', 'default' => '800', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_titles_photos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Centered Slides ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_photos_module_carousel_centered_slides', 'label' => esc_html__( 'Carousel Centered Slides', 'noxe-core' ), 'description' => esc_html__( 'If you choose true, then active slide will be centered, not always on the left side.', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_photos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Pagination ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_photos_module_carousel_pagination', 'label' => esc_html__( 'Carousel Pagination', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_titles_photos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Navigation ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_photos_module_carousel_navigation', 'label' => esc_html__( 'Carousel Navigation', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_titles_photos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== All Photos Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_photos_all_photos_module_column', 'label' => esc_html__( 'All Photos Module Column', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', 'default' => '4', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== All Photos Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_photos_all_photos_module_column_space', 'label' => esc_html__( 'All Photos Module Column Space', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', 'default' => '20', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_photos_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_titles_photos_module_section', ) ); /*====== Cast Module ======*/ /*====== Cast Module ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_cast_module', 'label' => esc_html__( 'Cast Module', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_cast_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => '1', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_cast_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Full Cast & Crew Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_cast_module_full_cast_crew_button', 'label' => esc_html__( 'Full Cast & Crew Button', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => '1', ) ); /*====== Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_cast_module_column', 'label' => esc_html__( 'Module Column', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => 'auto', 'choices' => array( 'auto' => esc_html__( 'Auto', 'noxe-core' ), '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), ), ) ); /*====== Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_cast_module_column_space', 'label' => esc_html__( 'Module Column Space', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => '30', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Module Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_cast_module_fields', 'label' => esc_html__( 'Module Fields', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => array( 'director', 'writer-screenwriter', 'cast', ), 'choices' => array( 'director' => esc_html__( 'Director', 'noxe-core' ), 'writer-screenwriter' => esc_html__( 'Writer & Screenwriter', 'noxe-core' ), 'cast' => esc_html__( 'Cast', 'noxe-core' ), 'producer' => esc_html__( 'Producer', 'noxe-core' ), 'musician' => esc_html__( 'Musician', 'noxe-core' ), 'cinematographer' => esc_html__( 'Cinematographer', 'noxe-core' ), 'film-editor' => esc_html__( 'Film Editor', 'noxe-core' ), 'casting' => esc_html__( 'Casting', 'noxe-core' ), 'production-designer' => esc_html__( 'Production Designer', 'noxe-core' ), 'art-director' => esc_html__( 'Art Director', 'noxe-core' ), 'set-director' => esc_html__( 'Set Director', 'noxe-core' ), 'costume-designer' => esc_html__( 'Costume Designer', 'noxe-core' ), 'makeup-department' => esc_html__( 'Makeup Department', 'noxe-core' ), 'production-management' => esc_html__( 'Production Management', 'noxe-core' ), 'second-unit-director' => esc_html__( 'Second Unit Director', 'noxe-core' ), 'art-department' => esc_html__( 'Art Department', 'noxe-core' ), 'sound-department' => esc_html__( 'Sound Department', 'noxe-core' ), 'special-effects' => esc_html__( 'Special Effects', 'noxe-core' ), 'visual-effects' => esc_html__( 'Visual Effects', 'noxe-core' ), 'stunts' => esc_html__( 'Stunts', 'noxe-core' ), 'camera-electrical-department' => esc_html__( 'Camera Electrical Department', 'noxe-core' ), 'animation-department' => esc_html__( 'Animation Department', 'noxe-core' ), 'casting-department' => esc_html__( 'Casting Department', 'noxe-core' ), 'costume-wardrobe-department' => esc_html__( 'Costume Wardrobe Department', 'noxe-core' ), 'editorial-department' => esc_html__( 'Editorial Department', 'noxe-core' ), 'location-management' => esc_html__( 'Location Management', 'noxe-core' ), 'editorial-department' => esc_html__( 'Editorial Department', 'noxe-core' ), 'music-department' => esc_html__( 'Music Department', 'noxe-core' ), 'script-continuity-department' => esc_html__( 'Script Continuity Department', 'noxe-core' ), 'transportation-department' => esc_html__( 'Transportation Department', 'noxe-core' ), 'other-crew' => esc_html__( 'Other Crew', 'noxe-core' ), ), ) ); /*====== Name Count for Fields ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_titles_cast_module_name_count', 'label' => esc_html__( 'Name Count for Fields', 'noxe-core' ), 'description' => esc_html__( 'Choose 0 for unlimited.', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => '7', 'choices' => array( 'min' => 0, 'max' => 500, 'step' => 1, ), ) ); /*====== Field Headings ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_cast_module_field_headings', 'label' => esc_html__( 'Field Headings', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', ) ); /*====== Photo of Names ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_cast_module_photo', 'label' => esc_html__( 'Photo of Names', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'Hide', 'noxe-core' ), 'true' => esc_html__( 'Show', 'noxe-core' ), ), ) ); /*====== Profession of Names ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_cast_module_profession', 'label' => esc_html__( 'Profession of Names', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'Hide', 'noxe-core' ), 'true' => esc_html__( 'Show', 'noxe-core' ), ), ) ); /*====== Character Name of Names ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_cast_module_character_name', 'label' => esc_html__( 'Character Name of Names', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'choices' => array( 'false' => esc_html__( 'Hide', 'noxe-core' ), 'true' => esc_html__( 'Show', 'noxe-core' ), ), ) ); /*====== Description of Names ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_cast_module_description', 'label' => esc_html__( 'Description of Names', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'Hide', 'noxe-core' ), 'true' => esc_html__( 'Show', 'noxe-core' ), ), ) ); /*====== Full Cast Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_full_cast_module_column', 'label' => esc_html__( 'Full Cast Module Column', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => '1', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), ), ) ); /*====== Full Cast Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_full_cast_module_column_space', 'label' => esc_html__( 'Full Cast Module Column Space', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => '30', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Full Cast Module Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_full_cast_module_fields', 'label' => esc_html__( 'Full Cast Module Fields', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => array( 'director', 'writer-screenwriter', 'cast', 'producer', 'musician', 'cinematographer', 'film-editor', 'casting', 'production-designer', 'art-director', 'set-director', 'costume-designer', 'makeup-department', 'production-management', 'second-unit-director', 'art-department', 'sound-department', 'special-effects', 'visual-effects', 'stunts', 'camera-electrical-department', 'animation-department', 'casting-department', 'costume-wardrobe-department', 'editorial-department', 'location-management', 'editorial-department', 'music-department', 'script-continuity-department', 'transportation-department', 'other-crew', ), 'choices' => array( 'director' => esc_html__( 'Director', 'noxe-core' ), 'writer-screenwriter' => esc_html__( 'Writer & Screenwriter', 'noxe-core' ), 'cast' => esc_html__( 'Cast', 'noxe-core' ), 'producer' => esc_html__( 'Producer', 'noxe-core' ), 'musician' => esc_html__( 'Musician', 'noxe-core' ), 'cinematographer' => esc_html__( 'Cinematographer', 'noxe-core' ), 'film-editor' => esc_html__( 'Film Editor', 'noxe-core' ), 'casting' => esc_html__( 'Casting', 'noxe-core' ), 'production-designer' => esc_html__( 'Production Designer', 'noxe-core' ), 'art-director' => esc_html__( 'Art Director', 'noxe-core' ), 'set-director' => esc_html__( 'Set Director', 'noxe-core' ), 'costume-designer' => esc_html__( 'Costume Designer', 'noxe-core' ), 'makeup-department' => esc_html__( 'Makeup Department', 'noxe-core' ), 'production-management' => esc_html__( 'Production Management', 'noxe-core' ), 'second-unit-director' => esc_html__( 'Second Unit Director', 'noxe-core' ), 'art-department' => esc_html__( 'Art Department', 'noxe-core' ), 'sound-department' => esc_html__( 'Sound Department', 'noxe-core' ), 'special-effects' => esc_html__( 'Special Effects', 'noxe-core' ), 'visual-effects' => esc_html__( 'Visual Effects', 'noxe-core' ), 'stunts' => esc_html__( 'Stunts', 'noxe-core' ), 'camera-electrical-department' => esc_html__( 'Camera Electrical Department', 'noxe-core' ), 'animation-department' => esc_html__( 'Animation Department', 'noxe-core' ), 'casting-department' => esc_html__( 'Casting Department', 'noxe-core' ), 'costume-wardrobe-department' => esc_html__( 'Costume Wardrobe Department', 'noxe-core' ), 'editorial-department' => esc_html__( 'Editorial Department', 'noxe-core' ), 'location-management' => esc_html__( 'Location Management', 'noxe-core' ), 'editorial-department' => esc_html__( 'Editorial Department', 'noxe-core' ), 'music-department' => esc_html__( 'Music Department', 'noxe-core' ), 'script-continuity-department' => esc_html__( 'Script Continuity Department', 'noxe-core' ), 'transportation-department' => esc_html__( 'Transportation Department', 'noxe-core' ), 'other-crew' => esc_html__( 'Other Crew', 'noxe-core' ), ), ) ); /*====== Full Cast Field Headings ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_full_cast_module_field_headings', 'label' => esc_html__( 'Full Cast Field Headings', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => '1', ) ); /*====== Photo of Names on Full Cast ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_full_cast_module_photo', 'label' => esc_html__( 'Photo of Names', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'Hide', 'noxe-core' ), 'true' => esc_html__( 'Show', 'noxe-core' ), ), ) ); /*====== Profession of Names on Full Cast ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_full_cast_module_profession', 'label' => esc_html__( 'Profession of Names', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'Hide', 'noxe-core' ), 'true' => esc_html__( 'Show', 'noxe-core' ), ), ) ); /*====== Character Name of Names on Full Cast ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_full_cast_module_character_name', 'label' => esc_html__( 'Character Name of Names', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'Hide', 'noxe-core' ), 'true' => esc_html__( 'Show', 'noxe-core' ), ), ) ); /*====== Description of Names on Full Cast ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_full_cast_module_description', 'label' => esc_html__( 'Description of Names', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'Hide', 'noxe-core' ), 'true' => esc_html__( 'Show', 'noxe-core' ), ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_cast_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_titles_cast_module_section', ) ); /*====== Details Module ======*/ /*====== Details Module ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_details_module', 'label' => esc_html__( 'Details Module', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_details_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_details_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== All Details Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_details_module_all_details_button', 'label' => esc_html__( 'All Details Button', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', ) ); /*====== Module Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_details_module_type', 'label' => esc_html__( 'Module Type', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => 'tab', 'choices' => array( 'tab' => esc_html__( 'Tab', 'noxe-core' ), 'section' => esc_html__( 'Section', 'noxe-core' ), ), ) ); /*====== Section Headings ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_details_module_section_headings', 'label' => esc_html__( 'Section Headings', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_titles_details_module_type', 'operator' => '==', 'value' => 'section', ) ), ) ); /*====== Tabs Direction ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_details_module_tabs_direction', 'label' => esc_html__( 'Tabs Direction', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => 'vertical', 'choices' => array( 'vertical' => esc_html__( 'Vertical', 'noxe-core' ), 'horizontal' => esc_html__( 'Horizontal', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_details_module_type', 'operator' => '==', 'value' => 'tab', ) ), ) ); /*====== All Details Module Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_all_details_module_type', 'label' => esc_html__( 'All Details Module Type', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => 'tab', 'choices' => array( 'tab' => esc_html__( 'Tab', 'noxe-core' ), 'section' => esc_html__( 'Section', 'noxe-core' ), ), ) ); /*====== All Details Tabs Direction ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_all_details_module_tabs_direction', 'label' => esc_html__( 'All Details Tabs Direction', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => 'vertical', 'choices' => array( 'vertical' => esc_html__( 'Vertical', 'noxe-core' ), 'horizontal' => esc_html__( 'Horizontal', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_details_module_type', 'operator' => '==', 'value' => 'tab', ) ), ) ); /*====== Module Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_details_module_fields', 'label' => esc_html__( 'Module Fields', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => array( 'storyline', 'box-office', 'filming-production', 'company-credits', 'technical-specs', 'parents-guide', 'did-you-know', 'connections', 'sites', ), 'choices' => array( 'storyline' => esc_html__( 'Storyline', 'noxe-core' ), 'box-office' => esc_html__( 'Box Office', 'noxe-core' ), 'filming-production' => esc_html__( 'Filming & Production', 'noxe-core' ), 'company-credits' => esc_html__( 'Company Credits', 'noxe-core' ), 'technical-specs' => esc_html__( 'Technical Specs', 'noxe-core' ), 'parents-guide' => esc_html__( 'Parents Guide', 'noxe-core' ), 'did-you-know' => esc_html__( 'Did You Know?', 'noxe-core' ), 'connections' => esc_html__( 'Connections', 'noxe-core' ), 'reviews' => esc_html__( 'Reviews', 'noxe-core' ), 'sites' => esc_html__( 'Sites', 'noxe-core' ), ), ) ); /*====== Storyline Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_details_storyline_fields', 'label' => esc_html__( 'Storyline Fields', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => array( 'summary', 'keywords', 'genres', 'release-date', 'languages', 'countries', 'aka', 'taglines', 'certificates', ), 'choices' => array( 'summary' => esc_html__( 'Summary', 'noxe-core' ), 'keywords' => esc_html__( 'Keywords', 'noxe-core' ), 'genres' => esc_html__( 'Genres', 'noxe-core' ), 'release-date' => esc_html__( 'Release Date', 'noxe-core' ), 'languages' => esc_html__( 'Languages', 'noxe-core' ), 'countries' => esc_html__( 'Countries', 'noxe-core' ), 'aka' => esc_html__( 'Also Known As', 'noxe-core' ), 'taglines' => esc_html__( 'Taglines', 'noxe-core' ), 'certificates' => esc_html__( 'Certificates', 'noxe-core' ), ), ) ); /*====== Box Office Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_details_box_office_fields', 'label' => esc_html__( 'Box Office Fields', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => array( 'budget', 'opening-weekend-usa', 'opening-weekend-usa-date', 'gross-usa', 'cumulative-worldwide-gross', ), 'choices' => array( 'budget' => esc_html__( 'Budget', 'noxe-core' ), 'opening-weekend-usa' => esc_html__( 'Opening Weekend USA', 'noxe-core' ), 'opening-weekend-usa-date' => esc_html__( 'Opening Weekend USA Date', 'noxe-core' ), 'gross-usa' => esc_html__( 'Gross USA', 'noxe-core' ), 'cumulative-worldwide-gross' => esc_html__( 'Cumulative Worldwide Gross', 'noxe-core' ), ), ) ); /*====== Filming & Production Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_details_filming_production_fields', 'label' => esc_html__( 'Filming & Production Fields', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => array( 'filming-locations', 'filming-dates', 'production-dates', ), 'choices' => array( 'filming-locations' => esc_html__( 'Filming Locations', 'noxe-core' ), 'filming-dates' => esc_html__( 'Filming Dates', 'noxe-core' ), 'production-dates' => esc_html__( 'Production Dates', 'noxe-core' ), ), ) ); /*====== Company Credits Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_details_company_credits_fields', 'label' => esc_html__( 'Company Credits Fields', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => array( 'production-companies', 'distributors', 'special-effect-companies', 'other-companies', ), 'choices' => array( 'production-companies' => esc_html__( 'Production Companies', 'noxe-core' ), 'distributors' => esc_html__( 'Distributors', 'noxe-core' ), 'special-effect-companies' => esc_html__( 'Special Effect Companies', 'noxe-core' ), 'other-companies' => esc_html__( 'Other Companies', 'noxe-core' ), ), ) ); /*====== Technical Specs Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_details_technical_specs_fields', 'label' => esc_html__( 'Technical Specs Fields', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => array( 'runtime', 'sound-mix', 'color', 'aspect-ratio', 'camera', 'laboratory', 'film-length', 'negative-format', 'cinematographic-process', 'printed-film-format', ), 'choices' => array( 'runtime' => esc_html__( 'Runtime', 'noxe-core' ), 'sound-mix' => esc_html__( 'Sound Mix', 'noxe-core' ), 'color' => esc_html__( 'Color', 'noxe-core' ), 'aspect-ratio' => esc_html__( 'Aspect Ratio', 'noxe-core' ), 'camera' => esc_html__( 'Camera', 'noxe-core' ), 'laboratory' => esc_html__( 'Laboratory', 'noxe-core' ), 'film-length' => esc_html__( 'Film Length', 'noxe-core' ), 'negative-format' => esc_html__( 'Negative Format', 'noxe-core' ), 'cinematographic-process' => esc_html__( 'Cinematographic Process', 'noxe-core' ), 'printed-film-format' => esc_html__( 'Printed Film Format', 'noxe-core' ), ), ) ); /*====== Parents Guide Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_details_parents_guide_fields', 'label' => esc_html__( 'Parents Guide Fields', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => array( 'adult-title', 'age-rating', 'certificates', 'mpaa', 'sex-nudity', 'profanity', 'alcohol-drugs-smoking', 'frightening-intense', ), 'choices' => array( 'adult-title' => esc_html__( 'Adult Title', 'noxe-core' ), 'age-rating' => esc_html__( 'Age Rating', 'noxe-core' ), 'certificates' => esc_html__( 'Certificates', 'noxe-core' ), 'mpaa' => esc_html__( 'MPAA', 'noxe-core' ), 'sex-nudity' => esc_html__( 'Sex & Nudity', 'noxe-core' ), 'profanity' => esc_html__( 'Profanity', 'noxe-core' ), 'alcohol-drugs-smoking' => esc_html__( 'Alcohol, Drugs & Smoking', 'noxe-core' ), 'frightening-intense' => esc_html__( 'Frightening & Intense Scenes', 'noxe-core' ), ), ) ); /*====== Did You Know Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_details_did_you_know_fields', 'label' => esc_html__( 'Did You Know Fields', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => array( 'faq', 'trivia', 'cameo', 'spoilers', 'goofs', 'crazy-credits', 'quotes', 'alternate-versions', ), 'choices' => array( 'faq' => esc_html__( 'Frequently Asked Questions', 'noxe-core' ), 'trivia' => esc_html__( 'Trivia', 'noxe-core' ), 'cameo' => esc_html__( 'Cameo', 'noxe-core' ), 'spoilers' => esc_html__( 'Spoilers', 'noxe-core' ), 'goofs' => esc_html__( 'Goofs', 'noxe-core' ), 'crazy-credits' => esc_html__( 'Crazy Credits', 'noxe-core' ), 'quotes' => esc_html__( 'Quotes', 'noxe-core' ), 'alternate-versions' => esc_html__( 'Alternate Versions', 'noxe-core' ), ), ) ); /*====== Connections Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_details_connections_fields', 'label' => esc_html__( 'Connections Fields', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => array( 'follows', 'followed-by', 'version-of', 'remake-of', 'remade-as', 'edited-from', 'edited-into', 'spin-off', 'references', 'featured-in', 'spoofs', ), 'choices' => array( 'follows' => esc_html__( 'Follows', 'noxe-core' ), 'followed-by' => esc_html__( 'Followed By', 'noxe-core' ), 'version-of' => esc_html__( 'Version of', 'noxe-core' ), 'remake-of' => esc_html__( 'Remake of', 'noxe-core' ), 'remade-as' => esc_html__( 'Remade as', 'noxe-core' ), 'edited-from' => esc_html__( 'Edited From', 'noxe-core' ), 'edited-into' => esc_html__( 'Edited Into', 'noxe-core' ), 'spin-off' => esc_html__( 'Spin-off', 'noxe-core' ), 'references' => esc_html__( 'References', 'noxe-core' ), 'featured-in' => esc_html__( 'Featured in', 'noxe-core' ), 'spoofs' => esc_html__( 'Spoofs', 'noxe-core' ), ), ) ); /*====== Reviews Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_details_reviews_fields', 'label' => esc_html__( 'Reviews Fields', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => array( 'user-reviews', 'imdb-rating', 'external-reviews', ), 'choices' => array( 'user-reviews' => esc_html__( 'User Reviews', 'noxe-core' ), 'imdb-rating' => esc_html__( 'IMDb Rating', 'noxe-core' ), 'external-reviews' => esc_html__( 'External Reviews', 'noxe-core' ), ), ) ); /*====== Sites Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_details_sites_fields', 'label' => esc_html__( 'Sites Fields', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => array( 'official-sites', 'miscellaneous-sites', 'photograph-sites', 'video-clip-trailer-sites', 'sound-clip-sites', ), 'choices' => array( 'official-sites' => esc_html__( 'Official Sites', 'noxe-core' ), 'miscellaneous-sites' => esc_html__( 'Miscellaneous Sites', 'noxe-core' ), 'photograph-sites' => esc_html__( 'Photograph Sites', 'noxe-core' ), 'video-clip-trailer-sites' => esc_html__( 'Video Clip and Trailer Sites', 'noxe-core' ), 'sound-clip-sites' => esc_html__( 'Sound Clip Sites', 'noxe-core' ), ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_details_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_titles_details_module_section', 'default' => '1', ) ); /*====== Related Titles ======*/ /*====== Related Titles ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_related_titles_module', 'label' => esc_html__( 'Related Titles', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_related_titles_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => '1', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_related_titles_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => 'style-4', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Module Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_related_titles_module_type', 'label' => esc_html__( 'Module Type', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => 'carousel', 'choices' => array( 'grid' => esc_html__( 'Grid', 'noxe-core' ), 'carousel' => esc_html__( 'Carousel', 'noxe-core' ), ), ) ); /*====== Title Listing Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_related_titles_module_title_style', 'label' => esc_html__( 'Title Listing Style', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Title Meta Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_related_titles_module_title_meta_fields', 'label' => esc_html__( 'Title Meta Fields', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => array( 'poster', 'title-name', 'genre', ), 'choices' => array( 'poster' => esc_html__( 'Poster', 'noxe-core' ), 'title-name' => esc_html__( 'Title Name', 'noxe-core' ), 'original-title-name' => esc_html__( 'Original Title Name', 'noxe-core' ), 'genre' => esc_html__( 'Genre', 'noxe-core' ), 'excerpt' => esc_html__( 'Excerpt', 'noxe-core' ), 'type' => esc_html__( 'Type', 'noxe-core' ), 'language' => esc_html__( 'Language', 'noxe-core' ), 'country' => esc_html__( 'Country', 'noxe-core' ), 'status' => esc_html__( 'Status', 'noxe-core' ), 'release-date' => esc_html__( 'Release Date', 'noxe-core' ), 'in-theaters' => esc_html__( 'In Theaters Info', 'noxe-core' ), 'user-reviews' => esc_html__( 'User Reviews', 'noxe-core' ), 'imdb-rating' => esc_html__( 'IMDb Rating', 'noxe-core' ), 'age-rating' => esc_html__( 'Age Rating', 'noxe-core' ), 'runtime' => esc_html__( 'Runtime', 'noxe-core' ), 'episode-season' => esc_html__( 'Episode Season', 'noxe-core' ), 'episode-number' => esc_html__( 'Episode Number', 'noxe-core' ), ), ) ); /*====== Title Count ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_titles_related_titles_module_title_count', 'label' => esc_html__( 'Title Count', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => '12', 'choices' => array( 'min' => 1, 'max' => 100, 'step' => 1, ), ) ); /*====== Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_related_titles_module_column', 'label' => esc_html__( 'Module Column', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => '4', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_related_titles_module_column_space', 'label' => esc_html__( 'Module Column Space', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => '20', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Carousel Autoplay ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_related_titles_module_carousel_autoplay', 'label' => esc_html__( 'Carousel Autoplay', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_related_titles_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Autoplay Delay ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_titles_related_titles_module_carousel_autoplay_delay', 'label' => esc_html__( 'Carousel Autoplay Delay', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => '10000', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_titles_related_titles_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Loop ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_related_titles_module_carousel_loop', 'label' => esc_html__( 'Carousel Loop', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_related_titles_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Slide Speed ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_titles_related_titles_module_carousel_slide_speed', 'label' => esc_html__( 'Carousel Slide Speed', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => '800', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_titles_related_titles_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Centered Slides ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_related_titles_module_carousel_centered_slides', 'label' => esc_html__( 'Carousel Centered Slides', 'noxe-core' ), 'description' => esc_html__( 'If you choose true, then active slide will be centered, not always on the left side.', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_related_titles_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Pagination ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_related_titles_module_carousel_pagination', 'label' => esc_html__( 'Carousel Pagination', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_titles_related_titles_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Navigation ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_related_titles_module_carousel_navigation', 'label' => esc_html__( 'Carousel Navigation', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_titles_related_titles_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_related_titles_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_titles_related_titles_module_section', ) ); /*====== Related News ======*/ /*====== Related News ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_related_news_module', 'label' => esc_html__( 'Related News', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_noxe_titles_related_news_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', 'default' => '1', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_noxe_titles_related_news_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', 'default' => 'style-4', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Module Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_noxe_titles_related_news_module_type', 'label' => esc_html__( 'Module Type', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', 'default' => 'carousel', 'choices' => array( 'grid' => esc_html__( 'Grid', 'noxe-core' ), 'carousel' => esc_html__( 'Carousel', 'noxe-core' ), ), ) ); /*====== Title Meta Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_related_news_module_title_meta_fields', 'label' => esc_html__( 'Title Meta Fields', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', 'default' => array( 'image', 'category', 'author', 'date', 'comment', ), 'choices' => array( 'image' => esc_html__( 'Image', 'noxe-core' ), 'category' => esc_html__( 'Category', 'noxe-core' ), 'author' => esc_html__( 'Author', 'noxe-core' ), 'date' => esc_html__( 'Date', 'noxe-core' ), 'comment' => esc_html__( 'Comment', 'noxe-core' ), 'excerpt' => esc_html__( 'Excerpt', 'noxe-core' ), 'read-more-button' => esc_html__( 'Read More Button', 'noxe-core' ), ), ) ); /*====== Post Count ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_titles_related_news_module_post_count', 'label' => esc_html__( 'Post Count', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', 'default' => '6', 'choices' => array( 'min' => 1, 'max' => 100, 'step' => 1, ), ) ); /*====== Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_related_news_module_column', 'label' => esc_html__( 'Module Column', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', 'default' => '3', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_related_news_module_column_space', 'label' => esc_html__( 'Module Column Space', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', 'default' => '20', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Carousel Autoplay ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_related_news_module_carousel_autoplay', 'label' => esc_html__( 'Carousel Autoplay', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_noxe_titles_related_news_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Autoplay Delay ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_titles_related_news_module_carousel_autoplay_delay', 'label' => esc_html__( 'Carousel Autoplay Delay', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', 'default' => '10000', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_titles_noxe_titles_related_news_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Loop ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_related_news_module_carousel_loop', 'label' => esc_html__( 'Carousel Loop', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_noxe_titles_related_news_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Slide Speed ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_titles_related_news_module_carousel_slide_speed', 'label' => esc_html__( 'Carousel Slide Speed', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', 'default' => '800', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_titles_noxe_titles_related_news_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Centered Slides ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_related_news_module_carousel_centered_slides', 'label' => esc_html__( 'Carousel Centered Slides', 'noxe-core' ), 'description' => esc_html__( 'If you choose true, then active slide will be centered, not always on the left side.', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_noxe_titles_related_news_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Pagination ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_related_news_module_carousel_pagination', 'label' => esc_html__( 'Carousel Pagination', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_titles_noxe_titles_related_news_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Navigation ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_related_news_module_carousel_navigation', 'label' => esc_html__( 'Carousel Navigation', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_titles_noxe_titles_related_news_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_related_news_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_titles_noxe_titles_related_news_module_section', ) ); /*====== Social Sharing ======*/ /*====== Social Sharing Box ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_social_sharing_box_module', 'label' => esc_html__( 'Social Sharing Box', 'noxe-core' ), 'section' => 'noxe_titles_social_sharing_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_social_sharing_box_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_titles_social_sharing_module_section', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'nnoxe_titles_social_sharing_box_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_titles_social_sharing_module_section', 'default' => 'style-4', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Social Sharing Box Style ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_titles_social_sharing_box_module_style', 'label' => esc_html__( 'Social Sharing Box Style', 'noxe-core' ), 'section' => 'noxe_titles_social_sharing_module_section', 'default' => 'style-13-v3', 'choices' => array( 'style-1' => esc_html__( 'Style 1 - v1', 'noxe-core' ), 'style-1-v2' => esc_html__( 'Style 1 - v2', 'noxe-core' ), 'style-1-v3' => esc_html__( 'Style 1 - v3', 'noxe-core' ), 'style-1-v4' => esc_html__( 'Style 1 - v4', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4 - v1', 'noxe-core' ), 'style-4-v2' => esc_html__( 'Style 4 - v2', 'noxe-core' ), 'style-5' => esc_html__( 'Style 5', 'noxe-core' ), 'style-6' => esc_html__( 'Style 6 - v1', 'noxe-core' ), 'style-6-v2' => esc_html__( 'Style 6 - v2', 'noxe-core' ), 'style-6-v3' => esc_html__( 'Style 6 - v3', 'noxe-core' ), 'style-6-v4' => esc_html__( 'Style 6 - v4', 'noxe-core' ), 'style-7' => esc_html__( 'Style 7', 'noxe-core' ), 'style-8' => esc_html__( 'Style 8', 'noxe-core' ), 'style-9' => esc_html__( 'Style 9', 'noxe-core' ), 'style-10' => esc_html__( 'Style 10', 'noxe-core' ), 'style-11' => esc_html__( 'Style 11', 'noxe-core' ), 'style-12' => esc_html__( 'Style 12', 'noxe-core' ), 'style-13' => esc_html__( 'Style 13 - v1', 'noxe-core' ), 'style-13-v2' => esc_html__( 'Style 13 - v2', 'noxe-core' ), 'style-13-v3' => esc_html__( 'Style 13 - v3', 'noxe-core' ), 'style-13-v4' => esc_html__( 'Style 13 - v4', 'noxe-core' ), 'style-14' => esc_html__( 'Style 14 - v1', 'noxe-core' ), 'style-14-v2' => esc_html__( 'Style 14 - v2', 'noxe-core' ), 'style-14-v3' => esc_html__( 'Style 14 - v3', 'noxe-core' ), 'style-14-v4' => esc_html__( 'Style 14 - v4', 'noxe-core' ), 'style-14-v5' => esc_html__( 'Style 14 - v5', 'noxe-core' ), 'style-14-v6' => esc_html__( 'Style 14 - v6', 'noxe-core' ), 'style-14-v7' => esc_html__( 'Style 14 - v7', 'noxe-core' ), 'style-14-v8' => esc_html__( 'Style 14 - v8', 'noxe-core' ), 'style-15' => esc_html__( 'Style 15 - v1', 'noxe-core' ), 'style-15-v2' => esc_html__( 'Style 15 - v2', 'noxe-core' ), 'style-15-v3' => esc_html__( 'Style 15 - v3', 'noxe-core' ), 'style-15-v4' => esc_html__( 'Style 15 - v4', 'noxe-core' ), 'style-15-v5' => esc_html__( 'Style 15 - v5', 'noxe-core' ), 'style-15-v6' => esc_html__( 'Style 15 - v6', 'noxe-core' ), 'style-15-v7' => esc_html__( 'Style 15 - v7', 'noxe-core' ), 'style-15-v8' => esc_html__( 'Style 15 - v8', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_social_sharing_box_module', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Social Sharing Box Size ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_social_sharing_box_module_size', 'label' => esc_html__( 'Social Sharing Box Size', 'noxe-core' ), 'section' => 'noxe_titles_social_sharing_module_section', 'default' => 'size-m', 'choices' => array( 'size-s' => esc_html__( 'Small', 'noxe-core' ), 'size-m' => esc_html__( 'Medium', 'noxe-core' ), 'size-l' => esc_html__( 'Large', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_titles_social_sharing_box_module', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_social_sharing_box_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_titles_social_sharing_module_section', ) ); /*====== Comments ======*/ /*====== Comments Area ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_comments_area', 'label' => esc_html__( 'Comments Area', 'noxe-core' ), 'section' => 'noxe_titles_comments_section', 'default' => '1', ) ); /*====== Comments Area Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_comments_area_style', 'label' => esc_html__( 'Comments Area Style', 'noxe-core' ), 'section' => 'noxe_titles_comments_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), ), ) ); /*====== Rating System ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_comments_rating_system', 'label' => esc_html__( 'Rating System', 'noxe-core' ), 'section' => 'noxe_titles_comments_section', 'default' => '1', ) ); /*====== Layouts ======*/ /*====== Page Navigation ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_page_navigation', 'label' => esc_html__( 'Page Navigation', 'noxe-core' ), 'section' => 'noxe_titles_layout_section', 'default' => '1', ) ); /*====== Page Container Width ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_page_container_width', 'label' => esc_html__( 'Page Container Width', 'noxe-core' ), 'section' => 'noxe_titles_layout_section', 'default' => 'narrow', 'choices' => array( 'wide' => esc_html__( 'Wide', 'noxe-core' ), 'narrow' => esc_html__( 'Narrow', 'noxe-core' ), ), ) ); /*====== Archive Listing Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_archive_listing_style', 'label' => esc_html__( 'Archive Listing Style', 'noxe-core' ), 'section' => 'noxe_titles_layout_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Archive Listing Meta Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_titles_archive_listing_meta_fields', 'label' => esc_html__( 'Archive Listing Meta Fields', 'noxe-core' ), 'section' => 'noxe_titles_layout_section', 'default' => array( 'poster', 'title-name', 'genre', ), 'choices' => array( 'poster' => esc_html__( 'Poster', 'noxe-core' ), 'title-name' => esc_html__( 'Title Name', 'noxe-core' ), 'original-title-name' => esc_html__( 'Original Title Name', 'noxe-core' ), 'genre' => esc_html__( 'Genre', 'noxe-core' ), 'excerpt' => esc_html__( 'Excerpt', 'noxe-core' ), 'type' => esc_html__( 'Type', 'noxe-core' ), 'language' => esc_html__( 'Language', 'noxe-core' ), 'country' => esc_html__( 'Country', 'noxe-core' ), 'status' => esc_html__( 'Status', 'noxe-core' ), 'release-date' => esc_html__( 'Release Date', 'noxe-core' ), 'in-theaters' => esc_html__( 'In Theaters Info', 'noxe-core' ), 'user-reviews' => esc_html__( 'User Reviews', 'noxe-core' ), 'imdb-rating' => esc_html__( 'IMDb Rating', 'noxe-core' ), 'age-rating' => esc_html__( 'Age Rating', 'noxe-core' ), 'runtime' => esc_html__( 'Runtime', 'noxe-core' ), 'episode-season' => esc_html__( 'Episode Season', 'noxe-core' ), 'episode-number' => esc_html__( 'Episode Number', 'noxe-core' ), ), ) ); /*====== Archive Listing Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_archive_listing_column', 'label' => esc_html__( 'Archive Listing Column', 'noxe-core' ), 'section' => 'noxe_titles_layout_section', 'default' => '3', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== Archive Listing Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_archive_listing_column_space', 'label' => esc_html__( 'Archive Listing Column Space', 'noxe-core' ), 'section' => 'noxe_titles_layout_section', 'default' => '20', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Sidebar ======*/ /*====== Title Item Sidebar Position ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_item_sidebar_position', 'label' => esc_html__( 'Title Item Sidebar Position', 'noxe-core' ), 'section' => 'noxe_titles_sidebar_section', 'default' => 'no-sidebar', 'choices' => array( 'left-sidebar' => esc_html__( 'Left Sidebar', 'noxe-core' ), 'no-sidebar' => esc_html__( 'No Sidebar', 'noxe-core' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'noxe-core' ), ), ) ); /*====== Title Item Sidebar ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_titles_item_sidebar', 'label' => esc_html__( 'Title Item Sidebar', 'noxe-core' ), 'section' => 'noxe_titles_sidebar_section', 'default' => 'noxe-sidebar', 'choices' => noxe_customizer_sidebar_list(), ) ); /*====== Title Archive Sidebar Position ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_titles_archive_sidebar_position', 'label' => esc_html__( 'Title Archive Sidebar Position', 'noxe-core' ), 'section' => 'noxe_titles_sidebar_section', 'default' => 'right-sidebar', 'choices' => array( 'left-sidebar' => esc_html__( 'Left Sidebar', 'noxe-core' ), 'no-sidebar' => esc_html__( 'No Sidebar', 'noxe-core' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'noxe-core' ), ), ) ); /*====== Title Archive Sidebar ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_titles_archive_sidebar', 'label' => esc_html__( 'Title Archive Sidebar', 'noxe-core' ), 'section' => 'noxe_titles_sidebar_section', 'default' => 'noxe-sidebar', 'choices' => noxe_customizer_sidebar_list(), ) ); /*====== IMDB Integration ======*/ /*====== omdbapi.com API Key ======*/ noxe_customizer_add_field( array( 'type' => 'text', 'settings' => 'noxe_titles_omdb_api_key', 'label' => esc_html__( 'omdbapi.com API Key', 'noxe-core' ), 'description' => esc_html__( 'Enter your omdbapi.com API key. You should create an API key from omdbapi.com. The IMDb data will come from this api connection.', 'noxe-core' ), 'section' => 'noxe_titles_imdb_integration_section', ) ); /*====== Other Settings ======*/ /*====== Hide Episode Titles ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_titles_hide_episode_titles', 'label' => esc_html__( 'Hide Episode Titles', 'noxe-core' ), 'section' => 'noxe_titles_other_settings_section', 'default' => '1', ) ); /*====== Names ======*/ /*====== Names Panels ======*/ Kirki::add_panel( 'noxe_names_panel', array( 'title' => esc_html__( 'Names', 'noxe-core' ), 'priority' => 7, ) ); $sections = array( 'names_overview' => array( 'title' => esc_html__( 'Overview', 'noxe-core' ), ), 'names_subpage_hero' => array( 'title' => esc_html__( 'Subpage Hero', 'noxe-core' ), ), 'names_modules' => array( 'title' => esc_html__( 'Modules', 'noxe-core' ), ), 'names_content_module' => array( 'title' => esc_html__( 'Content Module', 'noxe-core' ), ), 'names_media_module' => array( 'title' => esc_html__( 'Media Module', 'noxe-core' ), ), 'names_videos_module' => array( 'title' => esc_html__( 'Videos Module', 'noxe-core' ), ), 'names_photos_module' => array( 'title' => esc_html__( 'Photos Module', 'noxe-core' ), ), 'names_filmography_module' => array( 'title' => esc_html__( 'Filmography Module', 'noxe-core' ), ), 'names_details_module' => array( 'title' => esc_html__( 'Details Module', 'noxe-core' ), ), 'names_title_listing_module' => array( 'title' => esc_html__( 'Title Listing Module', 'noxe-core' ), ), 'names_related_names_module' => array( 'title' => esc_html__( 'Related Names Module', 'noxe-core' ), ), 'names_related_names_module' => array( 'title' => esc_html__( 'Related Names Module', 'noxe-core' ), ), 'names_related_news_module' => array( 'title' => esc_html__( 'Related News Module', 'noxe-core' ), ), 'names_social_sharing_box_module' => array( 'title' => esc_html__( 'Social Sharing Module', 'noxe-core' ), ), 'names_comments' => array( 'title' => esc_html__( 'Comments', 'noxe-core' ), ), 'names_layout' => array( 'title' => esc_html__( 'Layout', 'noxe-core' ), ), 'names_sidebar' => array( 'title' => esc_html__( 'Sidebar', 'noxe-core' ), ), ); if( !empty( $sections ) ) { foreach( $sections as $section_id => $section ) { if( !empty( $section ) ) { if( empty( $section["title"] ) ) { $section["title"] = ""; } if( empty( $section["description"] ) ) { $section["description"] = ""; } $section_args = array( 'title' => esc_attr( $section["title"] ), 'description' => esc_attr( $section["description"] ), 'panel' => 'noxe_names_panel', ); if( isset( $section["priority"] ) ) { $section_args['type'] = esc_attr( $section["priority"] ); } Kirki::add_section( 'noxe_' . str_replace( '-', '_', $section_id ) . '_section', $section_args ); } } } /*====== Overview ======*/ /*====== Photo ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_overview_photo', 'label' => esc_html__( 'Photo', 'noxe-core' ), 'section' => 'noxe_names_overview_section', 'default' => '1', ) ); /*====== Job ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_overview_job', 'label' => esc_html__( 'Job', 'noxe-core' ), 'section' => 'noxe_names_overview_section', 'default' => '1', ) ); /*====== Mini Biography ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_overview_mini_biography', 'label' => esc_html__( 'Mini Biography', 'noxe-core' ), 'section' => 'noxe_names_overview_section', 'default' => '1', ) ); /*====== Social Media Links ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_overview_social_media', 'label' => esc_html__( 'Social Media Links', 'noxe-core' ), 'section' => 'noxe_names_overview_section', 'default' => '1', ) ); /*====== Social Media Links Style ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_names_overview_social_media_style', 'label' => esc_html__( 'Social Media Links Style', 'noxe-core' ), 'section' => 'noxe_names_overview_section', 'default' => 'style-5', 'choices' => array( 'style-1' => esc_html__( 'Style 1 - v1', 'noxe-core' ), 'style-1-v2' => esc_html__( 'Style 1 - v2', 'noxe-core' ), 'style-1-v3' => esc_html__( 'Style 1 - v3', 'noxe-core' ), 'style-1-v4' => esc_html__( 'Style 1 - v4', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4 - v1', 'noxe-core' ), 'style-4-v2' => esc_html__( 'Style 4 - v2', 'noxe-core' ), 'style-5' => esc_html__( 'Style 5', 'noxe-core' ), 'style-6' => esc_html__( 'Style 6 - v1', 'noxe-core' ), 'style-6-v2' => esc_html__( 'Style 6 - v2', 'noxe-core' ), 'style-6-v3' => esc_html__( 'Style 6 - v3', 'noxe-core' ), 'style-6-v4' => esc_html__( 'Style 6 - v4', 'noxe-core' ), 'style-7' => esc_html__( 'Style 7', 'noxe-core' ), 'style-8' => esc_html__( 'Style 8', 'noxe-core' ), 'style-9' => esc_html__( 'Style 9', 'noxe-core' ), 'style-10' => esc_html__( 'Style 10', 'noxe-core' ), 'style-11' => esc_html__( 'Style 11', 'noxe-core' ), 'style-12' => esc_html__( 'Style 12', 'noxe-core' ), 'style-13' => esc_html__( 'Style 13 - v1', 'noxe-core' ), 'style-13-v2' => esc_html__( 'Style 13 - v2', 'noxe-core' ), 'style-13-v3' => esc_html__( 'Style 13 - v3', 'noxe-core' ), 'style-13-v4' => esc_html__( 'Style 13 - v4', 'noxe-core' ), 'style-14' => esc_html__( 'Style 14 - v1', 'noxe-core' ), 'style-14-v2' => esc_html__( 'Style 14 - v2', 'noxe-core' ), 'style-14-v3' => esc_html__( 'Style 14 - v3', 'noxe-core' ), 'style-14-v4' => esc_html__( 'Style 14 - v4', 'noxe-core' ), 'style-14-v5' => esc_html__( 'Style 14 - v5', 'noxe-core' ), 'style-14-v6' => esc_html__( 'Style 14 - v6', 'noxe-core' ), 'style-14-v7' => esc_html__( 'Style 14 - v7', 'noxe-core' ), 'style-14-v8' => esc_html__( 'Style 14 - v8', 'noxe-core' ), 'style-15' => esc_html__( 'Style 15 - v1', 'noxe-core' ), 'style-15-v2' => esc_html__( 'Style 15 - v2', 'noxe-core' ), 'style-15-v3' => esc_html__( 'Style 15 - v3', 'noxe-core' ), 'style-15-v4' => esc_html__( 'Style 15 - v4', 'noxe-core' ), 'style-15-v5' => esc_html__( 'Style 15 - v5', 'noxe-core' ), 'style-15-v6' => esc_html__( 'Style 15 - v6', 'noxe-core' ), 'style-15-v7' => esc_html__( 'Style 15 - v7', 'noxe-core' ), 'style-15-v8' => esc_html__( 'Style 15 - v8', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_overview_social_media', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Social Media Links Size ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_overview_social_media_size', 'label' => esc_html__( 'Social Media Links Size', 'noxe-core' ), 'section' => 'noxe_names_overview_section', 'default' => 'size-s', 'choices' => array( 'size-s' => esc_html__( 'Small', 'noxe-core' ), 'size-m' => esc_html__( 'Medium', 'noxe-core' ), 'size-l' => esc_html__( 'Large', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_overview_social_media', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Subpage Hero ======*/ /*====== Photo ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_subpage_hero_poster', 'label' => esc_html__( 'Photo', 'noxe-core' ), 'section' => 'noxe_names_subpage_hero_section', 'default' => '1', ) ); /*====== Job ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_subpage_hero_job', 'label' => esc_html__( 'Job', 'noxe-core' ), 'section' => 'noxe_names_subpage_hero_section', ) ); /*====== Subtitle ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_subpage_hero_subtitle', 'label' => esc_html__( 'Subtitle', 'noxe-core' ), 'section' => 'noxe_names_subpage_hero_section', 'default' => '1', ) ); /*====== Back to Main Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_subpage_hero_back_button', 'label' => esc_html__( 'Back to Main Button', 'noxe-core' ), 'section' => 'noxe_names_subpage_hero_section', 'default' => '1', ) ); /*====== Modules ======*/ /*====== Name Modules ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_names_name_modules', 'label' => esc_html__( 'Modules', 'noxe-core' ), 'section' => 'noxe_names_modules_section', 'default' => array( 'media-module', 'details-module', 'title-listing-module', 'content-module', 'related-news-module', 'related-names-module', 'social-sharing-module' ), 'choices' => array( 'media-module' => esc_html__( 'Media Module', 'noxe-core' ), 'videos-module' => esc_html__( 'Videos Module', 'noxe-core' ), 'photos-module' => esc_html__( 'Photos Module', 'noxe-core' ), 'filmography-module' => esc_html__( 'Filmography Module', 'noxe-core' ), 'details-module' => esc_html__( 'Details Module', 'noxe-core' ), 'title-listing-module' => esc_html__( 'Title Listing Module', 'noxe-core' ), 'content-module' => esc_html__( 'Content Module', 'noxe-core' ), 'related-news-module' => esc_html__( 'Related News Module', 'noxe-core' ), 'related-names-module' => esc_html__( 'Related Names Module', 'noxe-core' ), 'social-sharing-module' => esc_html__( 'Social Sharing Module', 'noxe-core' ), ), ) ); /*====== Content Module ======*/ /*====== Content Module ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_content_module', 'label' => esc_html__( 'Content Module', 'noxe-core' ), 'section' => 'noxe_names_content_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_content_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_names_content_module_section', 'default' => '1', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_content_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_names_content_module_section', 'default' => 'style-2', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_content_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_names_content_module_section', 'default' => '1', ) ); /*====== Media Module ======*/ /*====== Media Module ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_media_module', 'label' => esc_html__( 'Media Module', 'noxe-core' ), 'section' => 'noxe_names_media_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_media_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_names_media_module_section', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_media_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_names_media_module_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_media_module_column', 'label' => esc_html__( 'Module Column', 'noxe-core' ), 'section' => 'noxe_names_media_module_section', 'default' => '2', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), ), ) ); /*====== Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_media_module_column_space', 'label' => esc_html__( 'Module Column Space', 'noxe-core' ), 'section' => 'noxe_names_media_module_section', 'default' => '30', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_media_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_names_media_module_section', 'default' => '1', ) ); /*====== Videos Module ======*/ /*====== Videos Module ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_videos_module', 'label' => esc_html__( 'Videos Module', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_videos_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_videos_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== All Videos Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_videos_module_all_videos_button', 'label' => esc_html__( 'All Videos Button', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', ) ); /*====== Module Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_videos_module_type', 'label' => esc_html__( 'Module Type', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => 'grid', 'choices' => array( 'grid' => esc_html__( 'Grid', 'noxe-core' ), 'carousel' => esc_html__( 'Carousel', 'noxe-core' ), ), ) ); /*====== Video Count ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_names_videos_module_video_count', 'label' => esc_html__( 'Video Count', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => '1', 'choices' => array( 'min' => 1, 'max' => 100, 'step' => 1, ), ) ); /*====== Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_videos_module_column', 'label' => esc_html__( 'Module Column', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => '1', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_videos_module_column_space', 'label' => esc_html__( 'Module Column Space', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => '520', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Carousel Autoplay ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_videos_module_carousel_autoplay', 'label' => esc_html__( 'Carousel Autoplay', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Autoplay Delay ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_names_videos_module_carousel_autoplay_delay', 'label' => esc_html__( 'Carousel Autoplay Delay', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => '15000', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_names_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Loop ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_videos_module_carousel_loop', 'label' => esc_html__( 'Carousel Loop', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Slide Speed ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_names_videos_module_carousel_slide_speed', 'label' => esc_html__( 'Carousel Slide Speed', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => '800', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_names_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Centered Slides ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_videos_module_carousel_centered_slides', 'label' => esc_html__( 'Carousel Centered Slides', 'noxe-core' ), 'description' => esc_html__( 'If you choose true, then active slide will be centered, not always on the left side.', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Pagination ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_videos_module_carousel_pagination', 'label' => esc_html__( 'Carousel Pagination', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_names_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), 'active_callback' => array( array( 'setting' => 'noxe_names_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Navigation ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_videos_module_carousel_navigation', 'label' => esc_html__( 'Carousel Navigation', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_names_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), 'active_callback' => array( array( 'setting' => 'noxe_names_videos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== All Videos Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_videos_module_all_videos_column', 'label' => esc_html__( 'All Videos Module Column', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => '4', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== All Videos Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_videos_module_all_videos_column_space', 'label' => esc_html__( 'All Videos Module Column Space', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => '20', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_videos_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_names_videos_module_section', 'default' => '1', ) ); /*====== Photos Module ======*/ /*====== Photos Module ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_photos_module', 'label' => esc_html__( 'Photos Module', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_photos_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_photos_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== All Photos Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_photos_module_all_photos_button', 'label' => esc_html__( 'All Photos Button', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', ) ); /*====== Module Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_photos_module_type', 'label' => esc_html__( 'Module Type', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => 'grid', 'choices' => array( 'grid' => esc_html__( 'Grid', 'noxe-core' ), 'carousel' => esc_html__( 'Carousel', 'noxe-core' ), ), ) ); /*====== Photo Count ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_names_photos_module_photo_count', 'label' => esc_html__( 'Photo Count', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => '6', 'choices' => array( 'min' => 1, 'max' => 100, 'step' => 1, ), ) ); /*====== Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_photos_module_column', 'label' => esc_html__( 'Photos Column', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => '3', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_photos_module_column_space', 'label' => esc_html__( 'Photos Column Space', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => '5', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Carousel Autoplay ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_photos_module_carousel_autoplay', 'label' => esc_html__( 'Carousel Autoplay', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_photos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Autoplay Delay ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_names_photos_module_carousel_autoplay_delay', 'label' => esc_html__( 'Carousel Autoplay Delay', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => '15000', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_names_photos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Loop ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_photos_module_carousel_loop', 'label' => esc_html__( 'Carousel Loop', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_photos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Slide Speed ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_names_photos_module_carousel_slide_speed', 'label' => esc_html__( 'Carousel Slide Speed', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => '800', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_names_photos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Centered Slides ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_photos_module_carousel_centered_slides', 'label' => esc_html__( 'Carousel Centered Slides', 'noxe-core' ), 'description' => esc_html__( 'If you choose true, then active slide will be centered, not always on the left side.', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_photos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Pagination ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_photos_module_carousel_pagination', 'label' => esc_html__( 'Carousel Pagination', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_names_photos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Navigation ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_photos_module_carousel_navigation', 'label' => esc_html__( 'Carousel Navigation', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_names_photos_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== All Photos Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_photos_module_all_photos_module_column', 'label' => esc_html__( 'All Photos Module Column', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => '4', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== All Photos Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_photos_module_all_photos_module_column_space', 'label' => esc_html__( 'All Photos Module Column Space', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => '20', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_photos_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_names_photos_module_section', 'default' => '1', ) ); /*====== Filmography Module ======*/ /*====== Filmography Module ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_filmography_module', 'label' => esc_html__( 'Filmography Module', 'noxe-core' ), 'section' => 'noxe_names_filmography_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_filmography_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_names_filmography_module_section', 'default' => '1', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_filmography_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_names_filmography_module_section', 'default' => 'style-2', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Module Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_filmography_module_type', 'label' => esc_html__( 'Module Type', 'noxe-core' ), 'section' => 'noxe_names_filmography_module_section', 'default' => 'accordion', 'choices' => array( 'tab' => esc_html__( 'Tab', 'noxe-core' ), 'accordion' => esc_html__( 'Accordion', 'noxe-core' ), 'list' => esc_html__( 'List', 'noxe-core' ), ), ) ); /*====== Tabs Direction ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_filmography_module_tabs_direction', 'label' => esc_html__( 'Tabs Direction', 'noxe-core' ), 'section' => 'noxe_names_filmography_module_section', 'default' => 'vertical', 'choices' => array( 'vertical' => esc_html__( 'Vertical', 'noxe-core' ), 'horizontal' => esc_html__( 'Horizontal', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_filmography_module_type', 'operator' => '==', 'value' => 'tab', ) ), ) ); /*====== Accordion Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_filmography_module_accordion_type', 'label' => esc_html__( 'Accordion Type', 'noxe-core' ), 'section' => 'noxe_names_filmography_module_section', 'default' => 'first-item-active', 'choices' => array( 'all-items-collapsed' => esc_html__( 'All Items Collapsed', 'noxe-core' ), 'first-item-active' => esc_html__( 'First Item Active', 'noxe-core' ), 'all-items-active' => esc_html__( 'All Items Active', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_filmography_module_type', 'operator' => '==', 'value' => 'accordion', ) ), ) ); /*====== Roles Title Count ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_filmography_module_roles_title_count', 'label' => esc_html__( 'Roles Title Count', 'noxe-core' ), 'section' => 'noxe_names_filmography_module_section', 'default' => '1', ) ); /*====== Title Meta Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_names_filmography_module_title_meta_fields', 'label' => esc_html__( 'Title Meta Fields', 'noxe-core' ), 'section' => 'noxe_names_filmography_module_section', 'default' => array( 'poster', 'title-name', 'genre', 'type', 'release-date', ), 'choices' => array( 'poster' => esc_html__( 'Poster', 'noxe-core' ), 'title-name' => esc_html__( 'Title Name', 'noxe-core' ), 'original-title-name' => esc_html__( 'Original Title Name', 'noxe-core' ), 'genre' => esc_html__( 'Genre', 'noxe-core' ), 'excerpt' => esc_html__( 'Excerpt', 'noxe-core' ), 'type' => esc_html__( 'Type', 'noxe-core' ), 'language' => esc_html__( 'Language', 'noxe-core' ), 'country' => esc_html__( 'Country', 'noxe-core' ), 'status' => esc_html__( 'Status', 'noxe-core' ), 'release-date' => esc_html__( 'Release Date', 'noxe-core' ), 'in-theaters' => esc_html__( 'In Theaters Info', 'noxe-core' ), 'user-reviews' => esc_html__( 'User Reviews', 'noxe-core' ), 'imdb-rating' => esc_html__( 'IMDb Rating', 'noxe-core' ), 'age-rating' => esc_html__( 'Age Rating', 'noxe-core' ), 'runtime' => esc_html__( 'Runtime', 'noxe-core' ), 'episode-season' => esc_html__( 'Episode Season', 'noxe-core' ), 'episode-number' => esc_html__( 'Episode Number', 'noxe-core' ), ), ) ); /*====== Roles ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_names_filmography_module_roles', 'label' => esc_html__( 'Roles', 'noxe-core' ), 'section' => 'noxe_names_filmography_module_section', 'default' => array( 'director', 'writer-screenwriter', 'cast', 'producer', 'musician', 'cinematographer', 'film-editor', 'casting', 'production-designer', 'art-director', 'set-director', 'costume-designer', 'makeup-department', 'production-management', 'second-unit-director', 'art-department', 'sound-department', 'special-effects', 'visual-effects', 'stunts', 'camera-electrical-department', 'animation-department', 'casting-department', 'costume-wardrobe-department', 'editorial-department', 'location-management', 'editorial-department', 'music-department', 'script-continuity-department', 'transportation-department', 'other-crew', 'thanks', ), 'choices' => array( 'director' => esc_html__( 'Director', 'noxe-core' ), 'writer-screenwriter' => esc_html__( 'Writer & Screenwriter', 'noxe-core' ), 'cast' => esc_html__( 'Cast', 'noxe-core' ), 'producer' => esc_html__( 'Producer', 'noxe-core' ), 'musician' => esc_html__( 'Musician', 'noxe-core' ), 'cinematographer' => esc_html__( 'Cinematographer', 'noxe-core' ), 'film-editor' => esc_html__( 'Film Editor', 'noxe-core' ), 'casting' => esc_html__( 'Casting', 'noxe-core' ), 'production-designer' => esc_html__( 'Production Designer', 'noxe-core' ), 'art-director' => esc_html__( 'Art Director', 'noxe-core' ), 'set-director' => esc_html__( 'Set Director', 'noxe-core' ), 'costume-designer' => esc_html__( 'Costume Designer', 'noxe-core' ), 'makeup-department' => esc_html__( 'Makeup Department', 'noxe-core' ), 'production-management' => esc_html__( 'Production Management', 'noxe-core' ), 'second-unit-director' => esc_html__( 'Second Unit Director or Assistant Director', 'noxe-core' ), 'art-department' => esc_html__( 'Art Department', 'noxe-core' ), 'sound-department' => esc_html__( 'Sound Department', 'noxe-core' ), 'special-effects' => esc_html__( 'Special Effects', 'noxe-core' ), 'visual-effects' => esc_html__( 'Visual Effects', 'noxe-core' ), 'stunts' => esc_html__( 'Stunts', 'noxe-core' ), 'camera-electrical-department' => esc_html__( 'Camera and Electrical Department', 'noxe-core' ), 'animation-department' => esc_html__( 'Animation Department', 'noxe-core' ), 'casting-department' => esc_html__( 'Casting Department', 'noxe-core' ), 'costume-wardrobe-department' => esc_html__( 'Costume and Wardrobe Department', 'noxe-core' ), 'editorial-department' => esc_html__( 'Editorial Department', 'noxe-core' ), 'location-management' => esc_html__( 'Location Management', 'noxe-core' ), 'editorial-department' => esc_html__( 'Editorial Department', 'noxe-core' ), 'music-department' => esc_html__( 'Music Department', 'noxe-core' ), 'script-continuity-department' => esc_html__( 'Script and Continuity Department', 'noxe-core' ), 'transportation-department' => esc_html__( 'Transportation Department', 'noxe-core' ), 'other-crew' => esc_html__( 'Other Crew', 'noxe-core' ), 'thanks' => esc_html__( 'Thanks', 'noxe-core' ), ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_filmography_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_names_filmography_module_section', 'default' => '1', ) ); /*====== Details Module ======*/ /*====== Details Module ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_details_module', 'label' => esc_html__( 'Details Module', 'noxe-core' ), 'section' => 'noxe_names_details_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_details_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_names_details_module_section', 'default' => '1', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_details_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_names_details_module_section', 'default' => 'style-2', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== All Details Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_details_module_all_details_button', 'label' => esc_html__( 'All Details Button', 'noxe-core' ), 'section' => 'noxe_names_details_module_section', 'default' => '1', ) ); /*====== Module Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_details_module_type', 'label' => esc_html__( 'Module Type', 'noxe-core' ), 'section' => 'noxe_names_details_module_section', 'default' => 'tab', 'choices' => array( 'tab' => esc_html__( 'Tab', 'noxe-core' ), 'section' => esc_html__( 'Section', 'noxe-core' ), ), ) ); /*====== Section Headings ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_details_module_section_headings', 'label' => esc_html__( 'Section Headings', 'noxe-core' ), 'section' => 'noxe_names_details_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_names_details_module_type', 'operator' => '==', 'value' => 'section', ) ), ) ); /*====== Tabs Direction ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_details_module_tabs_direction', 'label' => esc_html__( 'Tabs Direction', 'noxe-core' ), 'section' => 'noxe_names_details_module_section', 'default' => 'vertical', 'choices' => array( 'vertical' => esc_html__( 'Vertical', 'noxe-core' ), 'horizontal' => esc_html__( 'Horizontal', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_details_module_type', 'operator' => '==', 'value' => 'tab', ) ), ) ); /*====== All Details Module Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_all_details_module_type', 'label' => esc_html__( 'All Details Module Type', 'noxe-core' ), 'section' => 'noxe_names_details_module_section', 'default' => 'tab', 'choices' => array( 'tab' => esc_html__( 'Tab', 'noxe-core' ), 'section' => esc_html__( 'Section', 'noxe-core' ), ), ) ); /*====== All Details Tabs Direction ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_all_details_module_tabs_direction', 'label' => esc_html__( 'All Details Tabs Direction', 'noxe-core' ), 'section' => 'noxe_names_details_module_section', 'default' => 'vertical', 'choices' => array( 'vertical' => esc_html__( 'Vertical', 'noxe-core' ), 'horizontal' => esc_html__( 'Horizontal', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_all_details_module_type', 'operator' => '==', 'value' => 'tab', ) ), ) ); /*====== Module Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_names_details_module_fields', 'label' => esc_html__( 'Module Fields', 'noxe-core' ), 'section' => 'noxe_names_details_module_section', 'default' => array( 'filmography', 'personal-details', 'publicity', 'did-you-know', 'sites', ), 'choices' => array( 'filmography' => esc_html__( 'Filmography', 'noxe-core' ), 'personal-details' => esc_html__( 'Personal Details', 'noxe-core' ), 'biography' => esc_html__( 'Biography', 'noxe-core' ), 'publicity' => esc_html__( 'Publicity', 'noxe-core' ), 'did-you-know' => esc_html__( 'Did You Know?', 'noxe-core' ), 'sites' => esc_html__( 'Sites', 'noxe-core' ), ), ) ); /*====== Personal Details Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_names_details_personal_details_fields', 'label' => esc_html__( 'Personal Details Fields', 'noxe-core' ), 'section' => 'noxe_names_details_module_section', 'default' => array( 'birth-name', 'birthday', 'place-of-birth', 'gender', 'job', 'star-sign', 'nicknames', 'alternate-names', 'height', 'spouses', 'salaries', 'other-works', ), 'choices' => array( 'biography' => esc_html__( 'Biography', 'noxe-core' ), 'birth-name' => esc_html__( 'Birth Name', 'noxe-core' ), 'birthday' => esc_html__( 'Birthday', 'noxe-core' ), 'place-of-birth' => esc_html__( 'Place of Birth', 'noxe-core' ), 'gender' => esc_html__( 'Gender', 'noxe-core' ), 'job' => esc_html__( 'Job', 'noxe-core' ), 'star-sign' => esc_html__( 'Star Sign', 'noxe-core' ), 'nicknames' => esc_html__( 'Nicknames', 'noxe-core' ), 'alternate-names' => esc_html__( 'Alternate Names', 'noxe-core' ), 'height' => esc_html__( 'Height', 'noxe-core' ), 'spouses' => esc_html__( 'Spouses', 'noxe-core' ), 'salaries' => esc_html__( 'Salaries', 'noxe-core' ), 'other-works' => esc_html__( 'Other Works', 'noxe-core' ), ), ) ); /*====== Publicity Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_names_details_publicity_fields', 'label' => esc_html__( 'Publicity Fields', 'noxe-core' ), 'section' => 'noxe_names_details_module_section', 'default' => array( 'print-biographies', 'portrayals', 'interviews', 'articles', 'pictorials', 'magazine-covers', ), 'choices' => array( 'print-biographies' => esc_html__( 'Print Biographies', 'noxe-core' ), 'portrayals' => esc_html__( 'Portrayals', 'noxe-core' ), 'interviews' => esc_html__( 'Interviews', 'noxe-core' ), 'articles' => esc_html__( 'Articles', 'noxe-core' ), 'pictorials' => esc_html__( 'Pictorials', 'noxe-core' ), 'magazine-covers' => esc_html__( 'Magazine Covers', 'noxe-core' ), ), ) ); /*====== Did You Know Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_names_details_did_you_know_fields', 'label' => esc_html__( 'Did You Know Fields', 'noxe-core' ), 'section' => 'noxe_names_details_module_section', 'default' => array( 'personal-quotes', 'trademarks', 'trivia', 'faq', ), 'choices' => array( 'personal-quotes' => esc_html__( 'Personal Quotes', 'noxe-core' ), 'trademarks' => esc_html__( 'Trademarks', 'noxe-core' ), 'trivia' => esc_html__( 'Trivia', 'noxe-core' ), 'faq' => esc_html__( 'Frequently Asked Questions', 'noxe-core' ), ), ) ); /*====== Sites Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_names_details_sites_fields', 'label' => esc_html__( 'Sites Fields', 'noxe-core' ), 'section' => 'noxe_names_details_module_section', 'default' => array( 'official-sites', 'miscellaneous-sites', 'photograph-sites', 'video-clip-trailer-sites', 'sound-clip-sites', ), 'choices' => array( 'official-sites' => esc_html__( 'Official Sites', 'noxe-core' ), 'miscellaneous-sites' => esc_html__( 'Miscellaneous Sites', 'noxe-core' ), 'photograph-sites' => esc_html__( 'Photograph Sites', 'noxe-core' ), 'video-clip-trailer-sites' => esc_html__( 'Video Clip and Trailer Sites', 'noxe-core' ), 'sound-clip-sites' => esc_html__( 'Sound Clip Sites', 'noxe-core' ), ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_details_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_names_details_module_section', ) ); /*====== Title Listing Module ======*/ /*====== Title Listing Module ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_title_listing_module', 'label' => esc_html__( 'Title Listing Module', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_title_listing_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_title_listing_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => 'style-2', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Module Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_title_listing_module_type', 'label' => esc_html__( 'Module Type', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => 'carousel', 'choices' => array( 'grid' => esc_html__( 'Grid', 'noxe-core' ), 'carousel' => esc_html__( 'Carousel', 'noxe-core' ), ), ) ); /*====== Title Listing Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_title_listing_module_title_style', 'label' => esc_html__( 'Title Listing Style', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Title Meta Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_names_title_listing_module_title_meta_fields', 'label' => esc_html__( 'Title Meta Fields', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => array( 'poster', 'title-name', 'genre', ), 'choices' => array( 'poster' => esc_html__( 'Poster', 'noxe-core' ), 'title-name' => esc_html__( 'Title Name', 'noxe-core' ), 'original-title-name' => esc_html__( 'Original Title Name', 'noxe-core' ), 'genre' => esc_html__( 'Genre', 'noxe-core' ), 'excerpt' => esc_html__( 'Excerpt', 'noxe-core' ), 'type' => esc_html__( 'Type', 'noxe-core' ), 'language' => esc_html__( 'Language', 'noxe-core' ), 'country' => esc_html__( 'Country', 'noxe-core' ), 'status' => esc_html__( 'Status', 'noxe-core' ), 'release-date' => esc_html__( 'Release Date', 'noxe-core' ), 'in-theaters' => esc_html__( 'In Theaters Info', 'noxe-core' ), 'user-reviews' => esc_html__( 'User Reviews', 'noxe-core' ), 'imdb-rating' => esc_html__( 'IMDb Rating', 'noxe-core' ), 'age-rating' => esc_html__( 'Age Rating', 'noxe-core' ), 'runtime' => esc_html__( 'Runtime', 'noxe-core' ), 'episode-season' => esc_html__( 'Episode Season', 'noxe-core' ), 'episode-number' => esc_html__( 'Episode Number', 'noxe-core' ), ), ) ); /*====== Title Count ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_names_title_listing_module_title_count', 'label' => esc_html__( 'Title Count', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => '12', 'choices' => array( 'min' => 1, 'max' => 100, 'step' => 1, ), ) ); /*====== Only Show Titles of the Name ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_title_listing_module_name_titles', 'label' => esc_html__( 'Only Show Titles of the Name', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => '1', ) ); /*====== Include Titles ======*/ noxe_customizer_add_field( array( 'type' => 'text', 'settings' => 'noxe_names_title_listing_module_include_titles', 'label' => esc_html__( 'Include Titles', 'noxe-core' ), 'description' => esc_html__( 'Separate with commas. Example: 1,2,3 etc.', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'active_callback' => array( array( 'setting' => 'noxe_names_title_listing_module_name_titles', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Exclude Titles ======*/ noxe_customizer_add_field( array( 'type' => 'text', 'settings' => 'noxe_names_title_listing_module_exclude_titles', 'label' => esc_html__( 'Exclude Titles', 'noxe-core' ), 'description' => esc_html__( 'Separate with commas. Example: 1,2,3 etc.', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'active_callback' => array( array( 'setting' => 'noxe_names_title_listing_module_name_titles', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Order ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_title_listing_module_order', 'label' => esc_html__( 'Order', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => 'DESC', 'choices' => array( 'DESC' => esc_html__( 'DESC', 'noxe-core' ), 'ASC' => esc_html__( 'ASC', 'noxe-core' ), ), ) ); /*====== Order Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_title_listing_module_order_type', 'label' => esc_html__( 'Order Type', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => 'added-date', 'choices' => array( 'added-date' => esc_html__( 'Added Date', 'noxe-core' ), 'release-date' => esc_html__( 'Release Date', 'noxe-core' ), 'popular-comment' => esc_html__( 'Popular by Comment', 'noxe-core' ), 'ID' => esc_html__( 'ID', 'noxe-core' ), 'title' => esc_html__( 'Title', 'noxe-core' ), 'menu-order' => esc_html__( 'Menu Order', 'noxe-core' ), 'random' => esc_html__( 'Random', 'noxe-core' ), 'include-ids' => esc_html__( 'By Include IDs', 'noxe-core' ), 'none' => esc_html__( 'None', 'noxe-core' ), ), ) ); /*====== Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_title_listing_module_column', 'label' => esc_html__( 'Module Column', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => '4', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_title_listing_module_column_space', 'label' => esc_html__( 'Module Column Space', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => '20', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Carousel Autoplay ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_title_listing_module_carousel_autoplay', 'label' => esc_html__( 'Carousel Autoplay', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_title_listing_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Autoplay Delay ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_names_title_listing_module_carousel_autoplay_delay', 'label' => esc_html__( 'Carousel Autoplay Delay', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => '10000', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_names_title_listing_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Loop ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_title_listing_module_carousel_loop', 'label' => esc_html__( 'Carousel Loop', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_title_listing_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Slide Speed ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_names_title_listing_module_carousel_slide_speed', 'label' => esc_html__( 'Carousel Slide Speed', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => '800', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_names_title_listing_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Centered Slides ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_title_listing_module_carousel_centered_slides', 'label' => esc_html__( 'Carousel Centered Slides', 'noxe-core' ), 'description' => esc_html__( 'If you choose true, then active slide will be centered, not always on the left side.', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_title_listing_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Pagination ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_title_listing_module_carousel_pagination', 'label' => esc_html__( 'Carousel Pagination', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_names_title_listing_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Navigation ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_title_listing_module_carousel_navigation', 'label' => esc_html__( 'Carousel Navigation', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_names_title_listing_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_title_listing_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_names_title_listing_module_section', ) ); /*====== Related Names ======*/ /*====== Related Names ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_related_names_module', 'label' => esc_html__( 'Related Names', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_related_names_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => '1', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_related_names_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => 'style-4', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Module Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_related_names_module_type', 'label' => esc_html__( 'Module Type', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => 'carousel', 'choices' => array( 'grid' => esc_html__( 'Grid', 'noxe-core' ), 'carousel' => esc_html__( 'Carousel', 'noxe-core' ), ), ) ); /*====== Name Listing Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_related_names_module_name_style', 'label' => esc_html__( 'Name Listing Style', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => 'style-2', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), ), ) ); /*====== Name Meta Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_names_related_names_module_name_meta_fields', 'label' => esc_html__( 'Name Meta Fields', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => array( 'photo', 'name', 'job', ), 'choices' => array( 'photo' => esc_html__( 'Photo', 'noxe-core' ), 'name' => esc_html__( 'Name', 'noxe-core' ), 'job' => esc_html__( 'Job', 'noxe-core' ), 'excerpt' => esc_html__( 'Excerpt', 'noxe-core' ), ), ) ); /*====== Name Count ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_names_related_names_module_name_count', 'label' => esc_html__( 'Name Count', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => '12', 'choices' => array( 'min' => 1, 'max' => 100, 'step' => 1, ), ) ); /*====== Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_related_names_module_column', 'label' => esc_html__( 'Module Column', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => '4', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_related_names_module_column_space', 'label' => esc_html__( 'Module Column Space', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => '20', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Carousel Autoplay ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_related_names_module_carousel_autoplay', 'label' => esc_html__( 'Carousel Autoplay', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_related_names_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Autoplay Delay ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_names_related_names_module_carousel_autoplay_delay', 'label' => esc_html__( 'Carousel Autoplay Delay', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => '10000', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_names_related_names_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Loop ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_related_names_module_carousel_loop', 'label' => esc_html__( 'Carousel Loop', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_related_names_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Slide Speed ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_names_related_names_module_carousel_slide_speed', 'label' => esc_html__( 'Carousel Slide Speed', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => '800', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_names_related_names_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Centered Slides ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_related_names_module_carousel_centered_slides', 'label' => esc_html__( 'Carousel Centered Slides', 'noxe-core' ), 'description' => esc_html__( 'If you choose true, then active slide will be centered, not always on the left side.', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_related_names_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Pagination ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_related_names_module_carousel_pagination', 'label' => esc_html__( 'Carousel Pagination', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_names_related_names_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Navigation ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_related_names_module_carousel_navigation', 'label' => esc_html__( 'Carousel Navigation', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_names_related_names_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_related_names_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_names_related_names_module_section', ) ); /*====== Related News ======*/ /*====== Related News ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_related_news_module', 'label' => esc_html__( 'Related News', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_related_news_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', 'default' => '1', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_related_news_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', 'default' => 'style-4', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Module Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_related_news_module_type', 'label' => esc_html__( 'Module Type', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', 'default' => 'carousel', 'choices' => array( 'grid' => esc_html__( 'Grid', 'noxe-core' ), 'carousel' => esc_html__( 'Carousel', 'noxe-core' ), ), ) ); /*====== Post Meta Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_names_related_news_module_post_meta_fields', 'label' => esc_html__( 'Post Meta Fields', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', 'default' => array( 'image', 'category', 'author', 'date', 'comment', ), 'choices' => array( 'image' => esc_html__( 'Image', 'noxe-core' ), 'category' => esc_html__( 'Category', 'noxe-core' ), 'author' => esc_html__( 'Author', 'noxe-core' ), 'date' => esc_html__( 'Date', 'noxe-core' ), 'comment' => esc_html__( 'Comment', 'noxe-core' ), 'excerpt' => esc_html__( 'Excerpt', 'noxe-core' ), 'read-more-button' => esc_html__( 'Read More Button', 'noxe-core' ), ), ) ); /*====== Post Count ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_names_related_news_module_post_count', 'label' => esc_html__( 'Post Count', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', 'default' => '6', 'choices' => array( 'min' => 1, 'max' => 100, 'step' => 1, ), ) ); /*====== Module Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_related_news_module_column', 'label' => esc_html__( 'Module Column', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', 'default' => '3', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== Module Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_related_news_module_column_space', 'label' => esc_html__( 'Module Column Space', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', 'default' => '20', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Carousel Autoplay ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_related_news_module_carousel_autoplay', 'label' => esc_html__( 'Carousel Autoplay', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_related_news_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Autoplay Delay ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_names_related_news_module_carousel_autoplay_delay', 'label' => esc_html__( 'Carousel Autoplay Delay', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', 'default' => '10000', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_names_related_news_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Loop ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_related_news_module_carousel_loop', 'label' => esc_html__( 'Carousel Loop', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_related_news_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Slide Speed ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_names_related_news_module_carousel_slide_speed', 'label' => esc_html__( 'Carousel Slide Speed', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', 'default' => '800', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), 'active_callback' => array( array( 'setting' => 'noxe_names_related_news_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Centered Slides ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_related_news_module_carousel_centered_slides', 'label' => esc_html__( 'Carousel Centered Slides', 'noxe-core' ), 'description' => esc_html__( 'If you choose true, then active slide will be centered, not always on the left side.', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_related_news_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Pagination ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_related_news_module_carousel_pagination', 'label' => esc_html__( 'Carousel Pagination', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_names_related_news_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Carousel Navigation ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_related_news_module_carousel_navigation', 'label' => esc_html__( 'Carousel Navigation', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', 'default' => '1', 'active_callback' => array( array( 'setting' => 'noxe_names_related_news_module_type', 'operator' => '==', 'value' => 'carousel', ) ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_related_news_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_names_related_news_module_section', ) ); /*====== Social Sharing ======*/ /*====== Social Sharing Box ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_social_sharing_box_module', 'label' => esc_html__( 'Social Sharing Box', 'noxe-core' ), 'section' => 'noxe_names_social_sharing_box_module_section', 'default' => '1', ) ); /*====== Module Heading ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_social_sharing_box_module_heading', 'label' => esc_html__( 'Module Heading', 'noxe-core' ), 'section' => 'noxe_names_social_sharing_box_module_section', ) ); /*====== Module Heading Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'nnoxe_names_social_sharing_box_module_heading_style', 'label' => esc_html__( 'Module Heading Style', 'noxe-core' ), 'section' => 'noxe_names_social_sharing_box_module_section', 'default' => 'style-4', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Social Sharing Box Style ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_names_social_sharing_box_module_style', 'label' => esc_html__( 'Social Sharing Box Style', 'noxe-core' ), 'section' => 'noxe_names_social_sharing_box_module_section', 'default' => 'style-13-v3', 'choices' => array( 'style-1' => esc_html__( 'Style 1 - v1', 'noxe-core' ), 'style-1-v2' => esc_html__( 'Style 1 - v2', 'noxe-core' ), 'style-1-v3' => esc_html__( 'Style 1 - v3', 'noxe-core' ), 'style-1-v4' => esc_html__( 'Style 1 - v4', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4 - v1', 'noxe-core' ), 'style-4-v2' => esc_html__( 'Style 4 - v2', 'noxe-core' ), 'style-5' => esc_html__( 'Style 5', 'noxe-core' ), 'style-6' => esc_html__( 'Style 6 - v1', 'noxe-core' ), 'style-6-v2' => esc_html__( 'Style 6 - v2', 'noxe-core' ), 'style-6-v3' => esc_html__( 'Style 6 - v3', 'noxe-core' ), 'style-6-v4' => esc_html__( 'Style 6 - v4', 'noxe-core' ), 'style-7' => esc_html__( 'Style 7', 'noxe-core' ), 'style-8' => esc_html__( 'Style 8', 'noxe-core' ), 'style-9' => esc_html__( 'Style 9', 'noxe-core' ), 'style-10' => esc_html__( 'Style 10', 'noxe-core' ), 'style-11' => esc_html__( 'Style 11', 'noxe-core' ), 'style-12' => esc_html__( 'Style 12', 'noxe-core' ), 'style-13' => esc_html__( 'Style 13 - v1', 'noxe-core' ), 'style-13-v2' => esc_html__( 'Style 13 - v2', 'noxe-core' ), 'style-13-v3' => esc_html__( 'Style 13 - v3', 'noxe-core' ), 'style-13-v4' => esc_html__( 'Style 13 - v4', 'noxe-core' ), 'style-14' => esc_html__( 'Style 14 - v1', 'noxe-core' ), 'style-14-v2' => esc_html__( 'Style 14 - v2', 'noxe-core' ), 'style-14-v3' => esc_html__( 'Style 14 - v3', 'noxe-core' ), 'style-14-v4' => esc_html__( 'Style 14 - v4', 'noxe-core' ), 'style-14-v5' => esc_html__( 'Style 14 - v5', 'noxe-core' ), 'style-14-v6' => esc_html__( 'Style 14 - v6', 'noxe-core' ), 'style-14-v7' => esc_html__( 'Style 14 - v7', 'noxe-core' ), 'style-14-v8' => esc_html__( 'Style 14 - v8', 'noxe-core' ), 'style-15' => esc_html__( 'Style 15 - v1', 'noxe-core' ), 'style-15-v2' => esc_html__( 'Style 15 - v2', 'noxe-core' ), 'style-15-v3' => esc_html__( 'Style 15 - v3', 'noxe-core' ), 'style-15-v4' => esc_html__( 'Style 15 - v4', 'noxe-core' ), 'style-15-v5' => esc_html__( 'Style 15 - v5', 'noxe-core' ), 'style-15-v6' => esc_html__( 'Style 15 - v6', 'noxe-core' ), 'style-15-v7' => esc_html__( 'Style 15 - v7', 'noxe-core' ), 'style-15-v8' => esc_html__( 'Style 15 - v8', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_social_sharing_box_module', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Social Sharing Box Size ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_social_sharing_box_module_size', 'label' => esc_html__( 'Social Sharing Box Size', 'noxe-core' ), 'section' => 'noxe_names_social_sharing_box_module_section', 'default' => 'size-m', 'choices' => array( 'size-s' => esc_html__( 'Small', 'noxe-core' ), 'size-m' => esc_html__( 'Medium', 'noxe-core' ), 'size-l' => esc_html__( 'Large', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_names_social_sharing_box_module', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Module Separator ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_social_sharing_box_module_separator', 'label' => esc_html__( 'Module Separator', 'noxe-core' ), 'section' => 'noxe_names_social_sharing_box_module_section', ) ); /*====== Comments ======*/ /*====== Comments Area ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_comments_area', 'label' => esc_html__( 'Comments Area', 'noxe-core' ), 'section' => 'noxe_names_comments_section', ) ); /*====== Comments Area Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_comments_area_style', 'label' => esc_html__( 'Comments Area Style', 'noxe-core' ), 'section' => 'noxe_names_comments_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), ), ) ); /*====== Rating System ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_comments_rating_system', 'label' => esc_html__( 'Rating System', 'noxe-core' ), 'section' => 'noxe_names_comments_section', ) ); /*====== Layouts ======*/ /*====== Page Navigation ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_names_page_navigation', 'label' => esc_html__( 'Page Navigation', 'noxe-core' ), 'section' => 'noxe_names_layout_section', ) ); /*====== Page Container Width ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_page_container_width', 'label' => esc_html__( 'Page Container Width', 'noxe-core' ), 'section' => 'noxe_names_layout_section', 'default' => 'narrow', 'choices' => array( 'wide' => esc_html__( 'Wide', 'noxe-core' ), 'narrow' => esc_html__( 'Narrow', 'noxe-core' ), ), ) ); /*====== Name Archive Listing Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_archive_listing_style', 'label' => esc_html__( 'Archive Listing Style', 'noxe-core' ), 'section' => 'noxe_names_layout_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), ), ) ); /*====== Name Archive Listing Meta Fields ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_names_archive_listing_meta_fields', 'label' => esc_html__( 'Archive Listing Meta Fields', 'noxe-core' ), 'section' => 'noxe_names_layout_section', 'default' => array( 'photo', 'name', 'job', ), 'choices' => array( 'photo' => esc_html__( 'Photo', 'noxe-core' ), 'name' => esc_html__( 'Name', 'noxe-core' ), 'job' => esc_html__( 'Job', 'noxe-core' ), 'excerpt' => esc_html__( 'Excerpt', 'noxe-core' ), ), ) ); /*====== Name Archive Listing Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_archive_listing_column', 'label' => esc_html__( 'Archive Listing Column', 'noxe-core' ), 'section' => 'noxe_names_layout_section', 'default' => '4', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), ), ) ); /*====== Name Archive Listing Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_archive_listing_column_space', 'label' => esc_html__( 'Archive Listing Column Space', 'noxe-core' ), 'section' => 'noxe_names_layout_section', 'default' => '20', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '10' => esc_html__( '10', 'noxe-core' ), '15' => esc_html__( '15', 'noxe-core' ), '20' => esc_html__( '20', 'noxe-core' ), '25' => esc_html__( '25', 'noxe-core' ), '30' => esc_html__( '30', 'noxe-core' ), '35' => esc_html__( '35', 'noxe-core' ), '40' => esc_html__( '40', 'noxe-core' ), '45' => esc_html__( '45', 'noxe-core' ), '50' => esc_html__( '50', 'noxe-core' ), '55' => esc_html__( '55', 'noxe-core' ), '60' => esc_html__( '60', 'noxe-core' ), ), ) ); /*====== Sidebar ======*/ /*====== Name Item Sidebar Position ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_item_sidebar_position', 'label' => esc_html__( 'Name Item Sidebar Position', 'noxe-core' ), 'section' => 'noxe_names_sidebar_section', 'default' => 'no-sidebar', 'choices' => array( 'left-sidebar' => esc_html__( 'Left Sidebar', 'noxe-core' ), 'no-sidebar' => esc_html__( 'No Sidebar', 'noxe-core' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'noxe-core' ), ), ) ); /*====== Name Item Sidebar ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_names_item_sidebar', 'label' => esc_html__( 'Name Item Sidebar', 'noxe-core' ), 'section' => 'noxe_names_sidebar_section', 'default' => 'noxe-sidebar', 'choices' => noxe_customizer_sidebar_list(), ) ); /*====== Name Archive Sidebar Position ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_names_archive_sidebar_position', 'label' => esc_html__( 'Name Archive Sidebar Position', 'noxe-core' ), 'section' => 'noxe_names_sidebar_section', 'default' => 'no-sidebar', 'choices' => array( 'left-sidebar' => esc_html__( 'Left Sidebar', 'noxe-core' ), 'no-sidebar' => esc_html__( 'No Sidebar', 'noxe-core' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'noxe-core' ), ), ) ); /*====== Name Archive Sidebar ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_names_archive_sidebar', 'label' => esc_html__( 'Name Archive Sidebar', 'noxe-core' ), 'section' => 'noxe_names_sidebar_section', 'default' => 'noxe-sidebar', 'choices' => noxe_customizer_sidebar_list(), ) ); /*====== Blog ======*/ /*====== Blog Panels ======*/ Kirki::add_panel( 'noxe_blog_panel', array( 'title' => esc_html__( 'Blog', 'noxe-core' ), 'priority' => 8, ) ); $sections = array( 'blog_general' => array( 'title' => esc_html__( 'General', 'noxe-core' ), ), 'blog_posts' => array( 'title' => esc_html__( 'Posts', 'noxe-core' ), ), 'blog_categories' => array( 'title' => esc_html__( 'Categories', 'noxe-core' ), ), 'blog_tags' => array( 'title' => esc_html__( 'Tags', 'noxe-core' ), ), 'blog_authors' => array( 'title' => esc_html__( 'Authors', 'noxe-core' ), ), 'blog_search_results' => array( 'title' => esc_html__( 'Search Results', 'noxe-core' ), ), 'blog_archives' => array( 'title' => esc_html__( 'Archives', 'noxe-core' ), ), 'blog_attachments' => array( 'title' => esc_html__( 'Attachments', 'noxe-core' ), ), ); if( !empty( $sections ) ) { foreach( $sections as $section_id => $section ) { if( !empty( $section ) ) { if( empty( $section["title"] ) ) { $section["title"] = ""; } if( empty( $section["description"] ) ) { $section["description"] = ""; } $section_args = array( 'title' => esc_attr( $section["title"] ), 'description' => esc_attr( $section["description"] ), 'panel' => 'noxe_blog_panel', ); if( isset( $section["priority"] ) ) { $section_args['type'] = esc_attr( $section["priority"] ); } Kirki::add_section( 'noxe_' . str_replace( '-', '_', $section_id ) . '_section', $section_args ); } } } /*====== General ======*/ /*====== Category ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_category_info', 'label' => esc_html__( 'Category', 'noxe-core' ), 'section' => 'noxe_blog_general_section', 'default' => '1', ) ); /*====== Author ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_author_info', 'label' => esc_html__( 'Author', 'noxe-core' ), 'section' => 'noxe_blog_general_section', 'default' => '1', ) ); /*====== Date ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_date_info', 'label' => esc_html__( 'Date', 'noxe-core' ), 'section' => 'noxe_blog_general_section', 'default' => '1', ) ); /*====== Date Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_date_info_type', 'label' => esc_html__( 'Date Type', 'noxe-core' ), 'description' => esc_html__( 'If you choose "Date Time" option, default date format will be appear but if you choose "Human Time" option, date will be appear like "23 seconds ago".', 'noxe-core' ), 'section' => 'noxe_blog_general_section', 'default' => 'human-time', 'choices' => array( 'date-time' => esc_html__( 'Date Time', 'noxe-core' ), 'human-time' => esc_html__( 'Human Time', 'noxe-core' ), ), ) ); /*====== Comment ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_comment_info', 'label' => esc_html__( 'Comment', 'noxe-core' ), 'section' => 'noxe_blog_general_section', 'default' => '1', ) ); /*====== Excerpt ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_excerpt', 'label' => esc_html__( 'Excerpt', 'noxe-core' ), 'section' => 'noxe_blog_general_section', 'default' => '1', ) ); /*====== Excerpt Length ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_blog_excerpt_length', 'label' => esc_html__( 'Excerpt Length', 'noxe-core' ), 'section' => 'noxe_blog_general_section', 'default' => '25', 'choices' => array( 'min' => 0, 'max' => 500, 'step' => 1, ), ) ); /*====== Read More Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_read_more', 'label' => esc_html__( 'Read More Button', 'noxe-core' ), 'section' => 'noxe_blog_general_section', 'default' => '1', ) ); /*====== Posts ======*/ /*====== Featured Header ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_posts_featured_header', 'label' => esc_html__( 'Featured Header', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => '1', 'choices' => array( '1' => esc_html__( 'Show', 'noxe-core' ), '0' => esc_html__( 'Hide', 'noxe-core' ), ), ) ); /*====== Category ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_posts_category_info', 'label' => esc_html__( 'Category', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => '1', ) ); /*====== Author ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_posts_author_info', 'label' => esc_html__( 'Author', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => '1', ) ); /*====== Date ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_posts_date_info', 'label' => esc_html__( 'Date', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => '1', ) ); /*====== Date Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_posts_date_info_type', 'label' => esc_html__( 'Date Type', 'noxe-core' ), 'description' => esc_html__( 'If you choose "Date Time" option, default date format will be appear but if you choose "Human Time" option, date will be appear like "23 seconds ago".', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => 'human-time', 'choices' => array( 'date-time' => esc_html__( 'Date Time', 'noxe-core' ), 'human-time' => esc_html__( 'Human Time', 'noxe-core' ), ), ) ); /*====== Comment ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_posts_comment_info', 'label' => esc_html__( 'Comment', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => '1', ) ); /*====== Tags ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_posts_tags', 'label' => esc_html__( 'Tags', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => '1', ) ); /*====== Tags Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_posts_tags_style', 'label' => esc_html__( 'Tags Style', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Author Box ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_posts_author_box', 'label' => esc_html__( 'Author Box', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => '1', ) ); /*====== Post Navigation ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_post_page_navigation', 'label' => esc_html__( 'Post Navigation', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => '1', ) ); /*====== Page Container Width ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_posts_page_container_width', 'label' => esc_html__( 'Page Container Width', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => 'narrow', 'choices' => array( 'wide' => esc_html__( 'Wide', 'noxe-core' ), 'narrow' => esc_html__( 'Narrow', 'noxe-core' ), ), ) ); /*====== Social Sharing Box ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_posts_social_sharing_box', 'label' => esc_html__( 'Social Sharing Box', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => '1', ) ); /*====== Social Sharing Box Style ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_blog_posts_social_sharing_box_style', 'label' => esc_html__( 'Social Sharing Box Style', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => 'style-13-v3', 'choices' => array( 'style-1' => esc_html__( 'Style 1 - v1', 'noxe-core' ), 'style-1-v2' => esc_html__( 'Style 1 - v2', 'noxe-core' ), 'style-1-v3' => esc_html__( 'Style 1 - v3', 'noxe-core' ), 'style-1-v4' => esc_html__( 'Style 1 - v4', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4 - v1', 'noxe-core' ), 'style-4-v2' => esc_html__( 'Style 4 - v2', 'noxe-core' ), 'style-5' => esc_html__( 'Style 5', 'noxe-core' ), 'style-6' => esc_html__( 'Style 6 - v1', 'noxe-core' ), 'style-6-v2' => esc_html__( 'Style 6 - v2', 'noxe-core' ), 'style-6-v3' => esc_html__( 'Style 6 - v3', 'noxe-core' ), 'style-6-v4' => esc_html__( 'Style 6 - v4', 'noxe-core' ), 'style-7' => esc_html__( 'Style 7', 'noxe-core' ), 'style-8' => esc_html__( 'Style 8', 'noxe-core' ), 'style-9' => esc_html__( 'Style 9', 'noxe-core' ), 'style-10' => esc_html__( 'Style 10', 'noxe-core' ), 'style-11' => esc_html__( 'Style 11', 'noxe-core' ), 'style-12' => esc_html__( 'Style 12', 'noxe-core' ), 'style-13' => esc_html__( 'Style 13 - v1', 'noxe-core' ), 'style-13-v2' => esc_html__( 'Style 13 - v2', 'noxe-core' ), 'style-13-v3' => esc_html__( 'Style 13 - v3', 'noxe-core' ), 'style-13-v4' => esc_html__( 'Style 13 - v4', 'noxe-core' ), 'style-14' => esc_html__( 'Style 14 - v1', 'noxe-core' ), 'style-14-v2' => esc_html__( 'Style 14 - v2', 'noxe-core' ), 'style-14-v3' => esc_html__( 'Style 14 - v3', 'noxe-core' ), 'style-14-v4' => esc_html__( 'Style 14 - v4', 'noxe-core' ), 'style-14-v5' => esc_html__( 'Style 14 - v5', 'noxe-core' ), 'style-14-v6' => esc_html__( 'Style 14 - v6', 'noxe-core' ), 'style-14-v7' => esc_html__( 'Style 14 - v7', 'noxe-core' ), 'style-14-v8' => esc_html__( 'Style 14 - v8', 'noxe-core' ), 'style-15' => esc_html__( 'Style 15 - v1', 'noxe-core' ), 'style-15-v2' => esc_html__( 'Style 15 - v2', 'noxe-core' ), 'style-15-v3' => esc_html__( 'Style 15 - v3', 'noxe-core' ), 'style-15-v4' => esc_html__( 'Style 15 - v4', 'noxe-core' ), 'style-15-v5' => esc_html__( 'Style 15 - v5', 'noxe-core' ), 'style-15-v6' => esc_html__( 'Style 15 - v6', 'noxe-core' ), 'style-15-v7' => esc_html__( 'Style 15 - v7', 'noxe-core' ), 'style-15-v8' => esc_html__( 'Style 15 - v8', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_blog_posts_social_sharing_box', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Social Sharing Box Size ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_posts_social_sharing_box_size', 'label' => esc_html__( 'Social Sharing Box Size', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => 'size-m', 'choices' => array( 'size-s' => esc_html__( 'Small', 'noxe-core' ), 'size-m' => esc_html__( 'Medium', 'noxe-core' ), 'size-l' => esc_html__( 'Large', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_blog_posts_social_sharing_box', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Comments Area ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_posts_comments', 'label' => esc_html__( 'Comments Area', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => '1', ) ); /*====== Rating System ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_posts_rating_system', 'label' => esc_html__( 'Rating System', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', ) ); /*====== Sidebar Position ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_posts_sidebar_position', 'label' => esc_html__( 'Sidebar Position', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => 'right-sidebar', 'choices' => array( 'left-sidebar' => esc_html__( 'Left Sidebar', 'noxe-core' ), 'no-sidebar' => esc_html__( 'No Sidebar', 'noxe-core' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'noxe-core' ), ), ) ); /*====== Sidebar ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_blog_posts_sidebar', 'label' => esc_html__( 'Sidebar', 'noxe-core' ), 'section' => 'noxe_blog_posts_section', 'default' => 'noxe-sidebar', 'choices' => noxe_customizer_sidebar_list(), ) ); /*====== Categories ======*/ /*====== Post Listing Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_categories_post_listing_style', 'label' => esc_html__( 'Post Listing Style', 'noxe-core' ), 'section' => 'noxe_blog_categories_section', 'default' => 'style-2', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Sidebar Position ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_categories_sidebar_position', 'label' => esc_html__( 'Sidebar Position', 'noxe-core' ), 'section' => 'noxe_blog_categories_section', 'default' => 'right-sidebar', 'choices' => array( 'left-sidebar' => esc_html__( 'Left Sidebar', 'noxe-core' ), 'no-sidebar' => esc_html__( 'No Sidebar', 'noxe-core' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'noxe-core' ), ), ) ); /*====== Sidebar ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_blog_categories_sidebar', 'label' => esc_html__( 'Sidebar', 'noxe-core' ), 'section' => 'noxe_blog_categories_section', 'default' => 'noxe-sidebar', 'choices' => noxe_customizer_sidebar_list(), ) ); /*====== Tags ======*/ /*====== Post Listing Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_tags_post_listing_style', 'label' => esc_html__( 'Post Listing Style', 'noxe-core' ), 'section' => 'noxe_blog_tags_section', 'default' => 'style-2', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Sidebar Position ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_tags_sidebar_position', 'label' => esc_html__( 'Sidebar Position', 'noxe-core' ), 'section' => 'noxe_blog_tags_section', 'default' => 'right-sidebar', 'choices' => array( 'left-sidebar' => esc_html__( 'Left Sidebar', 'noxe-core' ), 'no-sidebar' => esc_html__( 'No Sidebar', 'noxe-core' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'noxe-core' ), ), ) ); /*====== Sidebar ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_blog_tags_sidebar', 'label' => esc_html__( 'Sidebar', 'noxe-core' ), 'section' => 'noxe_blog_tags_section', 'default' => 'noxe-sidebar', 'choices' => noxe_customizer_sidebar_list(), ) ); /*====== Authors ======*/ /*====== Post Listing Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_authors_post_listing_style', 'label' => esc_html__( 'Post Listing Style', 'noxe-core' ), 'section' => 'noxe_blog_authors_section', 'default' => 'style-2', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Sidebar Position ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_authors_sidebar_position', 'label' => esc_html__( 'Sidebar Position', 'noxe-core' ), 'section' => 'noxe_blog_authors_section', 'default' => 'right-sidebar', 'choices' => array( 'left-sidebar' => esc_html__( 'Left Sidebar', 'noxe-core' ), 'no-sidebar' => esc_html__( 'No Sidebar', 'noxe-core' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'noxe-core' ), ), ) ); /*====== Sidebar ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_blog_authors_sidebar', 'label' => esc_html__( 'Sidebar', 'noxe-core' ), 'section' => 'noxe_blog_authors_section', 'default' => 'noxe-sidebar', 'choices' => noxe_customizer_sidebar_list(), ) ); /*====== Search Results ======*/ /*====== Post Listing Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_search_results_post_listing_style', 'label' => esc_html__( 'Post Listing Style', 'noxe-core' ), 'section' => 'noxe_blog_search_results_section', 'default' => 'style-2', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Sidebar Position ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_search_results_sidebar_position', 'label' => esc_html__( 'Sidebar Position', 'noxe-core' ), 'section' => 'noxe_blog_search_results_section', 'default' => 'right-sidebar', 'choices' => array( 'left-sidebar' => esc_html__( 'Left Sidebar', 'noxe-core' ), 'no-sidebar' => esc_html__( 'No Sidebar', 'noxe-core' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'noxe-core' ), ), ) ); /*====== Sidebar ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_blog_search_results_sidebar', 'label' => esc_html__( 'Sidebar', 'noxe-core' ), 'section' => 'noxe_blog_search_results_section', 'default' => 'noxe-sidebar', 'choices' => noxe_customizer_sidebar_list(), ) ); /*====== Archives ======*/ /*====== Post Listing Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_archives_post_listing_style', 'label' => esc_html__( 'Post Listing Style', 'noxe-core' ), 'section' => 'noxe_blog_archives_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), ), ) ); /*====== Sidebar Position ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_archives_sidebar_position', 'label' => esc_html__( 'Sidebar Position', 'noxe-core' ), 'section' => 'noxe_blog_archives_section', 'default' => 'right-sidebar', 'choices' => array( 'left-sidebar' => esc_html__( 'Left Sidebar', 'noxe-core' ), 'no-sidebar' => esc_html__( 'No Sidebar', 'noxe-core' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'noxe-core' ), ), ) ); /*====== Sidebar ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_blog_archives_sidebar', 'label' => esc_html__( 'Sidebar', 'noxe-core' ), 'section' => 'noxe_blog_archives_section', 'default' => 'noxe-sidebar', 'choices' => noxe_customizer_sidebar_list(), ) ); /*====== Attachments ======*/ /*====== Comments ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_attachments_comments', 'label' => esc_html__( 'Comments Area', 'noxe-core' ), 'section' => 'noxe_blog_attachments_section', ) ); /*====== Social Sharing Box ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_blog_attachments_social_sharing', 'label' => esc_html__( 'Social Sharing Box', 'noxe-core' ), 'section' => 'noxe_blog_attachments_section', 'default' => '1', ) ); /*====== Sidebar Position ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_blog_attachments_sidebar_position', 'label' => esc_html__( 'Sidebar Position', 'noxe-core' ), 'section' => 'noxe_blog_attachments_section', 'default' => 'no-sidebar', 'choices' => array( 'left-sidebar' => esc_html__( 'Left Sidebar', 'noxe-core' ), 'no-sidebar' => esc_html__( 'No Sidebar', 'noxe-core' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'noxe-core' ), ), ) ); /*====== Sidebar ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_blog_attachments_sidebar', 'label' => esc_html__( 'Sidebar', 'noxe-core' ), 'section' => 'noxe_blog_attachments_section', 'default' => 'noxe-sidebar', 'choices' => noxe_customizer_sidebar_list(), ) ); /*====== Pages ======*/ /*====== Pages Panels ======*/ Kirki::add_panel( 'noxe_pages_panel', array( 'title' => esc_html__( 'Pages', 'noxe-core' ), 'priority' => 9, ) ); $sections = array( 'pages_featured_header' => array( 'title' => esc_html__( 'Featured Header', 'noxe-core' ), ), 'pages_social_sharing' => array( 'title' => esc_html__( 'Social Sharing', 'noxe-core' ), ), 'pages_comments' => array( 'title' => esc_html__( 'Comments', 'noxe-core' ), ), 'pages_layout' => array( 'title' => esc_html__( 'Layout', 'noxe-core' ), ), 'pages_sidebar' => array( 'title' => esc_html__( 'Sidebar', 'noxe-core' ), ), ); if( !empty( $sections ) ) { foreach( $sections as $section_id => $section ) { if( !empty( $section ) ) { if( empty( $section["title"] ) ) { $section["title"] = ""; } if( empty( $section["description"] ) ) { $section["description"] = ""; } $section_args = array( 'title' => esc_attr( $section["title"] ), 'description' => esc_attr( $section["description"] ), 'panel' => 'noxe_pages_panel', ); if( isset( $section["priority"] ) ) { $section_args['type'] = esc_attr( $section["priority"] ); } Kirki::add_section( 'noxe_' . str_replace( '-', '_', $section_id ) . '_section', $section_args ); } } } /*====== Featured Header ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_pages_featured_header', 'label' => esc_html__( 'Featured Header', 'noxe-core' ), 'section' => 'noxe_pages_featured_header_section', 'default' => '0', 'choices' => array( '1' => esc_html__( 'Show', 'noxe-core' ), '0' => esc_html__( 'Hide', 'noxe-core' ), ), ) ); /*====== Social Sharing Box ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_pages_social_sharing_box', 'label' => esc_html__( 'Social Sharing Box', 'noxe-core' ), 'section' => 'noxe_pages_social_sharing_section', ) ); /*====== Social Sharing Box Style ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_pages_social_sharing_box_style', 'label' => esc_html__( 'Social Sharing Box Style', 'noxe-core' ), 'section' => 'noxe_pages_social_sharing_section', 'default' => 'style-13-v3', 'choices' => array( 'style-1' => esc_html__( 'Style 1 - v1', 'noxe-core' ), 'style-1-v2' => esc_html__( 'Style 1 - v2', 'noxe-core' ), 'style-1-v3' => esc_html__( 'Style 1 - v3', 'noxe-core' ), 'style-1-v4' => esc_html__( 'Style 1 - v4', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4 - v1', 'noxe-core' ), 'style-4-v2' => esc_html__( 'Style 4 - v2', 'noxe-core' ), 'style-5' => esc_html__( 'Style 5', 'noxe-core' ), 'style-6' => esc_html__( 'Style 6 - v1', 'noxe-core' ), 'style-6-v2' => esc_html__( 'Style 6 - v2', 'noxe-core' ), 'style-6-v3' => esc_html__( 'Style 6 - v3', 'noxe-core' ), 'style-6-v4' => esc_html__( 'Style 6 - v4', 'noxe-core' ), 'style-7' => esc_html__( 'Style 7', 'noxe-core' ), 'style-8' => esc_html__( 'Style 8', 'noxe-core' ), 'style-9' => esc_html__( 'Style 9', 'noxe-core' ), 'style-10' => esc_html__( 'Style 10', 'noxe-core' ), 'style-11' => esc_html__( 'Style 11', 'noxe-core' ), 'style-12' => esc_html__( 'Style 12', 'noxe-core' ), 'style-13' => esc_html__( 'Style 13 - v1', 'noxe-core' ), 'style-13-v2' => esc_html__( 'Style 13 - v2', 'noxe-core' ), 'style-13-v3' => esc_html__( 'Style 13 - v3', 'noxe-core' ), 'style-13-v4' => esc_html__( 'Style 13 - v4', 'noxe-core' ), 'style-14' => esc_html__( 'Style 14 - v1', 'noxe-core' ), 'style-14-v2' => esc_html__( 'Style 14 - v2', 'noxe-core' ), 'style-14-v3' => esc_html__( 'Style 14 - v3', 'noxe-core' ), 'style-14-v4' => esc_html__( 'Style 14 - v4', 'noxe-core' ), 'style-14-v5' => esc_html__( 'Style 14 - v5', 'noxe-core' ), 'style-14-v6' => esc_html__( 'Style 14 - v6', 'noxe-core' ), 'style-14-v7' => esc_html__( 'Style 14 - v7', 'noxe-core' ), 'style-14-v8' => esc_html__( 'Style 14 - v8', 'noxe-core' ), 'style-15' => esc_html__( 'Style 15 - v1', 'noxe-core' ), 'style-15-v2' => esc_html__( 'Style 15 - v2', 'noxe-core' ), 'style-15-v3' => esc_html__( 'Style 15 - v3', 'noxe-core' ), 'style-15-v4' => esc_html__( 'Style 15 - v4', 'noxe-core' ), 'style-15-v5' => esc_html__( 'Style 15 - v5', 'noxe-core' ), 'style-15-v6' => esc_html__( 'Style 15 - v6', 'noxe-core' ), 'style-15-v7' => esc_html__( 'Style 15 - v7', 'noxe-core' ), 'style-15-v8' => esc_html__( 'Style 15 - v8', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_pages_social_sharing_box', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Social Sharing Box Size ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_pages_social_sharing_box_size', 'label' => esc_html__( 'Social Sharing Box Size', 'noxe-core' ), 'section' => 'noxe_pages_social_sharing_section', 'default' => 'size-m', 'choices' => array( 'size-s' => esc_html__( 'Small', 'noxe-core' ), 'size-m' => esc_html__( 'Medium', 'noxe-core' ), 'size-l' => esc_html__( 'Large', 'noxe-core' ), ), 'active_callback' => array( array( 'setting' => 'noxe_pages_social_sharing_box', 'operator' => '==', 'value' => '1', ) ), ) ); /*====== Comments Area ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_pages_comments', 'label' => esc_html__( 'Comments Area', 'noxe-core' ), 'section' => 'noxe_pages_comments_section', 'default' => '1', ) ); /*====== Page Container Width ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_pages_page_container_width', 'label' => esc_html__( 'Page Container Width', 'noxe-core' ), 'section' => 'noxe_pages_layout_section', 'default' => 'narrow', 'choices' => array( 'wide' => esc_html__( 'Wide', 'noxe-core' ), 'narrow' => esc_html__( 'Narrow', 'noxe-core' ), ), ) ); /*====== Page Navigation ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_pages_page_navigation', 'label' => esc_html__( 'Page Navigation', 'noxe-core' ), 'section' => 'noxe_pages_layout_section', ) ); /*====== Sidebar Position ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_pages_sidebar_position', 'label' => esc_html__( 'Sidebar Position', 'noxe-core' ), 'section' => 'noxe_pages_sidebar_section', 'default' => 'no-sidebar', 'choices' => array( 'left-sidebar' => esc_html__( 'Left Sidebar', 'noxe-core' ), 'no-sidebar' => esc_html__( 'No Sidebar', 'noxe-core' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'noxe-core' ), ), ) ); /*====== Sidebar ======*/ noxe_customizer_add_field( array( 'type' => 'select', 'settings' => 'noxe_pages_sidebar', 'label' => esc_html__( 'Sidebar', 'noxe-core' ), 'section' => 'noxe_pages_sidebar_section', 'default' => 'noxe-sidebar', 'choices' => noxe_customizer_sidebar_list(), ) ); /*====== Featured Header ======*/ /*====== Featured Header Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio', 'settings' => 'noxe_featured_header_style', 'label' => esc_html__( 'Featured Header Style', 'noxe-core' ), 'description' => esc_html__( 'This will be your default style. You can change this specifically for each content.', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => 'image', 'choices' => array( 'image' => esc_html__( 'Image', 'noxe-core' ), 'image-slider' => esc_html__( 'Image Slider', 'noxe-core' ), 'image-gallery' => esc_html__( 'Image Gallery', 'noxe-core' ), 'video' => esc_html__( 'Video', 'noxe-core' ), 'audio' => esc_html__( 'Audio', 'noxe-core' ), 'code' => esc_html__( 'Code', 'noxe-core' ), ), ) ); /*====== Image Gallery Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_featured_header_image_gallery_column', 'label' => esc_html__( 'Image Gallery Column', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => '3', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), '7' => esc_html__( '7', 'noxe-core' ), '8' => esc_html__( '8', 'noxe-core' ), '9' => esc_html__( '9', 'noxe-core' ), ), ) ); /*====== Image Gallery Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_featured_header_image_gallery_column_space', 'label' => esc_html__( 'Image Gallery Column Space', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => '0', 'choices' => array( 'min' => 0, 'max' => 60, 'step' => 5, ), ) ); /*====== Image Slider Column ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_featured_header_image_slider_column', 'label' => esc_html__( 'Image Slider Column', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => '1', 'choices' => array( '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), ), ) ); /*====== Image Slider Column Space ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_featured_header_image_slider_column_space', 'label' => esc_html__( 'Image Slider Column Space', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => '0', 'choices' => array( 'min' => 0, 'max' => 100, 'step' => 1, ), ) ); /*====== Image Slider Autoplay ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_featured_header_image_slider_autoplay', 'label' => esc_html__( 'Image Slider Autoplay', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== Image Slider Autoplay Delay ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_featured_header_image_slider_autoplay_delay', 'label' => esc_html__( 'Image Slider Autoplay Delay', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => '10000', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), ) ); /*====== Image Slider Loop ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_featured_header_image_slider_loop', 'label' => esc_html__( 'Image Slider Loop', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== Image Slider Slide Speed ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_featured_header_image_slider_slide_speed', 'label' => esc_html__( 'Image Slider Slide Speed', 'noxe-core' ), 'description' => esc_html__( 'This is duration of transition between the slides.', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => '800', 'choices' => array( 'min' => 100, 'max' => 99999, 'step' => 100, ), ) ); /*====== Image Slider Centered Slides ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_featured_header_image_slider_centered_slides', 'label' => esc_html__( 'Image Slider Centered Slides', 'noxe-core' ), 'description' => esc_html__( 'If you choose true, then active slide will be centered, not always on the left side.', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== Image Slider Direction ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_featured_header_image_slider_direction', 'label' => esc_html__( 'Image Slider Direction', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => 'horizontal', 'choices' => array( 'horizontal' => esc_html__( 'Horizontal', 'noxe-core' ), 'vertical' => esc_html__( 'Vertical', 'noxe-core' ), ), ) ); /*====== Image Slider Effect ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_featured_header_image_slider_effect', 'label' => esc_html__( 'Image Slider Effect', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => 'fade', 'choices' => array( 'slide' => esc_html__( 'Slide', 'noxe-core' ), 'fade' => esc_html__( 'Fade', 'noxe-core' ), 'cube' => esc_html__( 'Cube', 'noxe-core' ), 'coverflow' => esc_html__( 'Coverflow', 'noxe-core' ), 'flip' => esc_html__( 'Flip', 'noxe-core' ), ), ) ); /*====== Image Slider Free Mode ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_featured_header_image_slider_free_mode', 'label' => esc_html__( 'Image Slider Free Mode', 'noxe-core' ), 'description' => esc_html__( 'If true then slides will not have fixed positions.', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== Image Slider Parallax ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_featured_header_image_slider_parallax', 'label' => esc_html__( 'Image Slider Parallax', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== Image Slider Navigation ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_featured_header_image_slider_navigation', 'label' => esc_html__( 'Image Slider Navigation', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== Image Slider Pagination ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_featured_header_image_slider_pagination', 'label' => esc_html__( 'Image Slider Pagination', 'noxe-core' ), 'section' => 'noxe_featured_header_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== Title Bar ======*/ /*====== Title Bar ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_title_bar', 'label' => esc_html__( 'Title Bar', 'noxe-core' ), 'section' => 'noxe_title_bar_section', 'default' => '1', ) ); /*====== Title Bar Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_title_bar_style', 'label' => esc_html__( 'Title Bar Style', 'noxe-core' ), 'section' => 'noxe_title_bar_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), ), ) ); /*====== Title Bar Skin ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_title_bar_skin', 'label' => esc_html__( 'Title Bar Skin', 'noxe-core' ), 'section' => 'noxe_title_bar_section', 'default' => 'dark', 'choices' => array( 'light' => esc_html__( 'Light', 'noxe-core' ), 'dark' => esc_html__( 'Dark', 'noxe-core' ), ), ) ); /*====== Title Bar Width ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_title_bar_width', 'label' => esc_html__( 'Title Bar Width', 'noxe-core' ), 'section' => 'noxe_title_bar_section', 'default' => 'narrow', 'choices' => array( 'wide' => esc_html__( 'Wide', 'noxe-core' ), 'narrow' => esc_html__( 'Narrow', 'noxe-core' ), ), ) ); /*====== Title Bar Align ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_title_bar_alignment', 'label' => esc_html__( 'Title Bar Align', 'noxe-core' ), 'section' => 'noxe_title_bar_section', 'default' => 'center', 'choices' => array( 'left' => esc_html__( 'Left', 'noxe-core' ), 'center' => esc_html__( 'Center', 'noxe-core' ), 'right' => esc_html__( 'Right', 'noxe-core' ), ), ) ); /*====== Title ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_title_bar_title', 'label' => esc_html__( 'Title', 'noxe-core' ), 'section' => 'noxe_title_bar_section', 'default' => '1', ) ); /*====== Subtitle ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_title_bar_subtitle', 'label' => esc_html__( 'Subtitle', 'noxe-core' ), 'section' => 'noxe_title_bar_section', 'default' => '1', ) ); /*====== Text ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_title_bar_text', 'label' => esc_html__( 'Text', 'noxe-core' ), 'section' => 'noxe_title_bar_section', 'default' => '1', ) ); /*====== Background ======*/ noxe_customizer_add_field( array( 'type' => 'background', 'settings' => 'noxe_title_bar_background', 'label' => esc_html__( 'Background', 'noxe-core' ), 'section' => 'noxe_title_bar_section', 'default' => array( 'background-color' => '', 'background-image' => '', 'background-repeat' => '', 'background-position' => '', 'background-size' => '', 'background-attachment' => '', ), 'output' => array( array( 'element' => '.gt-title-bar.gt-style-1, .gt-title-bar.gt-style-1.gt-dark, .gt-title-overview.gt-style-1 .gt-cover, .gt-item-subpage-hero.gt-style-1, .gt-name-overview.gt-style-1 .gt-cover', ), ), ) ); /*====== Background Overlay ======*/ noxe_customizer_add_field( array( 'type' => 'background', 'settings' => 'noxe_title_bar_background_overlay', 'label' => esc_html__( 'Background Overlay', 'noxe-core' ), 'description' => esc_html__( 'If you choose a color, the background overlay will be automatically create.', 'noxe-core' ), 'section' => 'noxe_title_bar_section', 'default' => array( 'background-color' => 'rgba(0,0,0,0.5)', ), 'output' => array( array( 'element' => '.gt-title-bar.gt-style-1:before, .gt-title-overview.gt-style-1 .gt-cover:before, .gt-item-subpage-hero.gt-style-1:before, .gt-name-overview.gt-style-1 .gt-cover:before', ), ), ) ); /*====== Sidebars ======*/ /*====== Widget Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_sidebars_widget_style', 'label' => esc_html__( 'Widget Style', 'noxe-core' ), 'section' => 'noxe_sidebars_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), ), ) ); /*====== Widget Title Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_sidebars_widget_title_style', 'label' => esc_html__( 'Widget Title Style', 'noxe-core' ), 'section' => 'noxe_sidebars_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), ), ) ); /*====== Custom Sidebars ======*/ noxe_customizer_add_field( array( 'type' => 'repeater', 'settings' => 'noxe_custom_sidebars', 'label' => esc_html__( 'Custom Sidebars', 'noxe-core' ), 'section' => 'noxe_sidebars_section', 'row_label' => array( 'type' => 'field', 'field' => 'title', ), 'fields' => array( 'id' => array( 'type' => 'text', 'label' => esc_html__( 'Sidebar ID', 'noxe-core' ), 'description' => esc_html__( 'Do not use special characters and spaces. Example: sidebar-example.', 'noxe-core' ), ), 'title' => array( 'type' => 'text', 'label' => esc_html__( 'Sidebar Title', 'noxe-core' ), ), ), ) ); /*====== Default Sidebar Position ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_sidebars_sidebar_position', 'label' => esc_html__( 'Default Sidebar Position', 'noxe-core' ), 'description' => esc_html__( 'This is default sidebar position of your site. You can change the position of the other page sidebars from other tabs.', 'noxe-core' ), 'section' => 'noxe_sidebars_section', 'default' => 'right-sidebar', 'choices' => array( 'left-sidebar' => esc_html__( 'Left Sidebar', 'noxe-core' ), 'no-sidebar' => esc_html__( 'No Sidebar', 'noxe-core' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'noxe-core' ), ), ) ); /*====== Social Media ======*/ /*====== Social Media Panels ======*/ Kirki::add_panel( 'noxe_social_media_panel', array( 'title' => esc_html__( 'Social Media', 'noxe-core' ), 'priority' => 13, ) ); $sections = array( 'social_media_links' => array( 'title' => esc_html__( 'Social Media Links', 'noxe-core' ), ), 'social_sharing' => array( 'title' => esc_html__( 'Social Sharing', 'noxe-core' ), ), ); if( !empty( $sections ) ) { foreach( $sections as $section_id => $section ) { if( !empty( $section ) ) { if( empty( $section["title"] ) ) { $section["title"] = ""; } if( empty( $section["description"] ) ) { $section["description"] = ""; } $section_args = array( 'title' => esc_attr( $section["title"] ), 'description' => esc_attr( $section["description"] ), 'panel' => 'noxe_social_media_panel', ); if( isset( $section["priority"] ) ) { $section_args['type'] = esc_attr( $section["priority"] ); } Kirki::add_section( 'noxe_' . str_replace( '-', '_', $section_id ) . '_section', $section_args ); } } } /*====== Social Media Links ======*/ /*====== Social Media Links ======*/ noxe_customizer_add_field( array( 'type' => 'repeater', 'settings' => 'noxe_social_media_links', 'label' => esc_html__( 'Social Media Links', 'noxe-core' ), 'section' => 'noxe_social_media_links_section', 'row_label' => array( 'type' => 'field', 'field' => 'link_title', ), 'fields' => array( 'icon' => array( 'type' => 'select', 'label' => esc_html__( 'Icon', 'noxe-core' ), 'default' => 'link', 'choices' => noxe_social_media_sites( $array_direction = "left" ), ), 'link_title' => array( 'type' => 'text', 'label' => esc_html__( 'Link Title', 'noxe-core' ), ), 'link_url' => array( 'type' => 'text', 'label' => esc_html__( 'Link URL', 'noxe-core' ), ), 'link_target' => array( 'type' => 'select', 'label' => esc_html__( 'Link Target', 'noxe-core' ), 'default' => '_blank', 'choices' => array( '_blank' => esc_html__( 'New Tab', 'noxe-core' ), '_self' => esc_html__( 'Same Frame', 'noxe-core' ), ), ), ), ) ); /*====== Social Sharing ======*/ /*====== Social Sharing ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_social_media_sharing', 'label' => esc_html__( 'Social Sharing', 'noxe-core' ), 'section' => 'noxe_social_sharing_section', 'default' => '1', ) ); /*====== Sites ======*/ noxe_customizer_add_field( array( 'type' => 'sortable', 'settings' => 'noxe_social_media_sharing_sites', 'label' => esc_html__( 'Sites', 'noxe-core' ), 'section' => 'noxe_social_sharing_section', 'default' => array( 'facebook', 'twitter', 'linkedin', 'whatsapp', 'pinterest', 'reddit', 'email', ), 'choices' => array( 'facebook' => esc_html__( 'Facebook', 'noxe-core' ), 'twitter' => esc_html__( 'Twitter', 'noxe-core' ), 'linkedin' => esc_html__( 'LinkedIn', 'noxe-core' ), 'whatsapp' => esc_html__( 'WhatsApp', 'noxe-core' ), 'pinterest' => esc_html__( 'Pinterest', 'noxe-core' ), 'reddit' => esc_html__( 'Reddit', 'noxe-core' ), 'tumblr' => esc_html__( 'Tumblr', 'noxe-core' ), 'vk' => esc_html__( 'VK', 'noxe-core' ), 'delicious' => esc_html__( 'Delicious', 'noxe-core' ), 'email' => esc_html__( 'Email', 'noxe-core' ), ), ) ); /*====== Title ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_social_media_sharing_title', 'label' => esc_html__( 'Title', 'noxe-core' ), 'section' => 'noxe_social_sharing_section', 'default' => '1', ) ); /*====== Custom Title ======*/ noxe_customizer_add_field( array( 'type' => 'text', 'settings' => 'noxe_social_media_sharing_custom_title', 'label' => esc_html__( 'Custom Title', 'noxe-core' ), 'description' => esc_html__( 'Default: Share This Article', 'noxe-core' ), 'section' => 'noxe_social_sharing_section', ) ); /*====== WooCommerce ======*/ /*====== WooCommerce Panels ======*/ Kirki::add_panel( 'woocommerce', array( 'title' => esc_html__( 'WooCommerce', 'noxe-core' ), 'priority' => 14, ) ); $sections = array( 'sidebar' => array( 'title' => esc_html__( 'Sidebar', 'noxe-core' ), ), ); if( !empty( $sections ) ) { foreach( $sections as $section_id => $section ) { if( !empty( $section ) ) { if( empty( $section["title"] ) ) { $section["title"] = ""; } if( empty( $section["description"] ) ) { $section["description"] = ""; } $section_args = array( 'title' => esc_attr( $section["title"] ), 'description' => esc_attr( $section["description"] ), 'panel' => 'woocommerce', ); if( isset( $section["priority"] ) ) { $section_args['type'] = esc_attr( $section["priority"] ); } Kirki::add_section( 'woocommerce_' . str_replace( '-', '_', $section_id ) . '_section', $section_args ); } } } /*====== Shop Sidebar ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_woocommerce_shop_sidebar_position', 'label' => esc_html__( 'Shop Sidebar Position', 'noxe-core' ), 'section' => 'woocommerce_sidebar_section', 'default' => 'no-sidebar', 'choices' => array( 'left-sidebar' => esc_html__( 'Left Sidebar', 'noxe-core' ), 'no-sidebar' => esc_html__( 'No Sidebar', 'noxe-core' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'noxe-core' ), ), ) ); /*====== Product Sidebar ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_woocommerce_product_sidebar_position', 'label' => esc_html__( 'Product Sidebar Position', 'noxe-core' ), 'section' => 'woocommerce_sidebar_section', 'default' => 'no-sidebar', 'choices' => array( 'left-sidebar' => esc_html__( 'Left Sidebar', 'noxe-core' ), 'no-sidebar' => esc_html__( 'No Sidebar', 'noxe-core' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'noxe-core' ), ), ) ); /*====== Extra ======*/ /*====== Extra Panels ======*/ Kirki::add_panel( 'noxe_extra_panel', array( 'title' => esc_html__( 'Extra', 'noxe-core' ), 'priority' => 14, ) ); $sections = array( 'loader' => array( 'title' => esc_html__( 'Loader', 'noxe-core' ), ), 'pagination' => array( 'title' => esc_html__( 'Pagination', 'noxe-core' ), ), 'datepicker' => array( 'title' => esc_html__( 'Datepicker', 'noxe-core' ), ), 'cookie_bar' => array( 'title' => esc_html__( 'Cookie Bar', 'noxe-core' ), ), 'lazy_load' => array( 'title' => esc_html__( 'Lazy Load', 'noxe-core' ), ), 'rtl' => array( 'title' => esc_html__( 'RTL', 'noxe-core' ), ), 'fancybox' => array( 'title' => esc_html__( 'Fancybox', 'noxe-core' ), ), 'instantclick' => array( 'title' => esc_html__( 'InstantClick', 'noxe-core' ), ), 'google_maps' => array( 'title' => esc_html__( 'Google Maps', 'noxe-core' ), ), 'breadcrumbs' => array( 'title' => esc_html__( 'Breadcrumbs', 'noxe-core' ), ), '404_page' => array( 'title' => esc_html__( '404 Page', 'noxe-core' ), ), 'password_protected' => array( 'title' => esc_html__( 'Password Protected', 'noxe-core' ), ), ); if( !empty( $sections ) ) { foreach( $sections as $section_id => $section ) { if( !empty( $section ) ) { if( empty( $section["title"] ) ) { $section["title"] = ""; } if( empty( $section["description"] ) ) { $section["description"] = ""; } $section_args = array( 'title' => esc_attr( $section["title"] ), 'description' => esc_attr( $section["description"] ), 'panel' => 'noxe_extra_panel', ); if( isset( $section["priority"] ) ) { $section_args['type'] = esc_attr( $section["priority"] ); } Kirki::add_section( 'noxe_' . str_replace( '-', '_', $section_id ) . '_section', $section_args ); } } } /*====== Loader ======*/ /*====== Loader ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_loader', 'label' => esc_html__( 'Loader', 'noxe-core' ), 'section' => 'noxe_loader_section', ) ); /*====== Loader Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_loader_style', 'label' => esc_html__( 'Loader Style', 'noxe-core' ), 'section' => 'noxe_loader_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), 'style-4' => esc_html__( 'Style 4', 'noxe-core' ), 'style-5' => esc_html__( 'Style 5', 'noxe-core' ), 'style-6' => esc_html__( 'Style 6', 'noxe-core' ), ), ) ); /*====== Loader Skin ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_loader_skin', 'label' => esc_html__( 'Loader Skin', 'noxe-core' ), 'section' => 'noxe_loader_section', 'default' => 'dark', 'choices' => array( 'light' => esc_html__( 'Light', 'noxe-core' ), 'dark' => esc_html__( 'Dark', 'noxe-core' ), ), ) ); /*====== Loader Light Skin Logo ======*/ noxe_customizer_add_field( array( 'type' => 'image', 'settings' => 'noxe_loader_light_skin_logo', 'label' => esc_html__( 'Loader Light Skin Logo', 'noxe-core' ), 'description' => esc_html__( 'If you leave it blank, the text logo will be appear.', 'noxe-core' ), 'section' => 'noxe_loader_section', 'choices' => array( 'save_as' => 'id', ), 'active_callback' => array( array( 'setting' => 'noxe_loader_style', 'operator' => 'contains', 'value' => array( 'style-3', 'style-6' ), ), ), ) ); /*====== Loader Dark Skin Logo ======*/ noxe_customizer_add_field( array( 'type' => 'image', 'settings' => 'noxe_loader_dark_skin_logo', 'label' => esc_html__( 'Loader Dark Skin Logo', 'noxe-core' ), 'description' => esc_html__( 'If you leave it blank, the text logo will be appear.', 'noxe-core' ), 'section' => 'noxe_loader_section', 'choices' => array( 'save_as' => 'id', ), 'active_callback' => array( array( 'setting' => 'noxe_loader_style', 'operator' => 'contains', 'value' => array( 'style-3', 'style-6' ), ), ), ) ); /*====== Loader Logo Sizes ======*/ noxe_customizer_add_field( array( 'type' => 'dimensions', 'settings' => 'noxe_loader_logo_sizes', 'label' => esc_html__( 'Loader Logo Sizes', 'noxe-core' ), 'section' => 'noxe_loader_section', 'default' => array( 'width' => '71', 'height' => '21', ), 'active_callback' => array( array( 'setting' => 'noxe_loader_style', 'operator' => 'contains', 'value' => array( 'style-3', 'style-6' ), ), ), ) ); /*====== Paginations ======*/ /*====== Pagination Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_pagination_style', 'label' => esc_html__( 'Pagination Style', 'noxe-core' ), 'section' => 'noxe_pagination_section', 'default' => 'style-1', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), ), ) ); /*====== Pagination Align ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_pagination_align', 'label' => esc_html__( 'Pagination Align', 'noxe-core' ), 'section' => 'noxe_pagination_section', 'default' => 'center', 'choices' => array( 'left' => esc_html__( 'Left', 'noxe-core' ), 'center' => esc_html__( 'Center', 'noxe-core' ), 'right' => esc_html__( 'Right', 'noxe-core' ), ), ) ); /*====== Prev & Next Buttons ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_pagination_prev_next', 'label' => esc_html__( 'Prev & Next Buttons', 'noxe-core' ), 'section' => 'noxe_pagination_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'Hide', 'noxe-core' ), 'true' => esc_html__( 'Show', 'noxe-core' ), ), ) ); /*====== Datepicker ======*/ /*====== Datepicker Format ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_datepicker_date_format', 'label' => esc_html__( 'Date Format', 'noxe-core' ), 'description' => esc_html__( 'Default: MM dd, yy. Date formats: https://goo.gl/jU7msW', 'noxe-core' ), 'section' => 'noxe_datepicker_section', 'default' => 'MM dd, yy', ) ); /*====== Other Months ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_datepicker_other_months', 'label' => esc_html__( 'Other Months', 'noxe-core' ), 'section' => 'noxe_datepicker_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== Apply Button ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_datepicker_apply_button', 'label' => esc_html__( 'Apply Button', 'noxe-core' ), 'section' => 'noxe_datepicker_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== First Day ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_datepicker_first_day', 'label' => esc_html__( 'First Day', 'noxe-core' ), 'description' => esc_html__( 'Sunday is 0, Monday is 1, etc.', 'noxe-core' ), 'section' => 'noxe_datepicker_section', 'default' => '1', 'choices' => array( '0' => esc_html__( '0', 'noxe-core' ), '1' => esc_html__( '1', 'noxe-core' ), '2' => esc_html__( '2', 'noxe-core' ), '3' => esc_html__( '3', 'noxe-core' ), '4' => esc_html__( '4', 'noxe-core' ), '5' => esc_html__( '5', 'noxe-core' ), '6' => esc_html__( '6', 'noxe-core' ), ), ) ); /*====== Duration ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_datepicker_duration', 'label' => esc_html__( 'Duration', 'noxe-core' ), 'section' => 'datepicker_duration', 'default' => 'normal', 'choices' => array( 'slow' => esc_html__( 'Slow', 'noxe-core' ), 'normal' => esc_html__( 'Normal', 'noxe-core' ), 'fast' => esc_html__( 'Fast', 'noxe-core' ), ), ) ); /*====== Cookie Bar ======*/ /*====== Cookie Bar ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_cookie_bar', 'label' => esc_html__( 'Cookie Bar', 'noxe-core' ), 'section' => 'noxe_cookie_bar_section', ) ); /*====== Cookie Bar Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_cookie_bar_style', 'label' => esc_html__( 'Cookie Bar Style', 'noxe-core' ), 'section' => 'noxe_cookie_bar_section', 'default' => 'style-2', 'choices' => array( 'style-1' => esc_html__( 'Style 1', 'noxe-core' ), 'style-2' => esc_html__( 'Style 2', 'noxe-core' ), 'style-3' => esc_html__( 'Style 3', 'noxe-core' ), ), ) ); /*====== Cookie Bar Skin ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_cookie_bar_skin', 'label' => esc_html__( 'Cookie Bar Skin', 'noxe-core' ), 'section' => 'noxe_cookie_bar_section', 'default' => 'dark', 'choices' => array( 'light' => esc_html__( 'Light', 'noxe-core' ), 'dark' => esc_html__( 'Dark', 'noxe-core' ), ), ) ); /*====== Container Width ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_cookie_bar_container_width', 'label' => esc_html__( 'Container Width', 'noxe-core' ), 'section' => 'noxe_cookie_bar_section', 'default' => 'wide', 'choices' => array( 'wide' => esc_html__( 'Wide', 'noxe-core' ), 'narrow' => esc_html__( 'Narrow', 'noxe-core' ), ), ) ); /*====== Inner Width ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_cookie_bar_inner_width', 'label' => esc_html__( 'Inner Width', 'noxe-core' ), 'section' => 'noxe_cookie_bar_section', 'default' => 'wide', 'choices' => array( 'wide' => esc_html__( 'Wide', 'noxe-core' ), 'narrow' => esc_html__( 'Narrow', 'noxe-core' ), ), ) ); /*====== Description Text ======*/ noxe_customizer_add_field( array( 'type' => 'editor', 'settings' => 'noxe_cookie_bar_text', 'label' => esc_html__( 'Description Text', 'noxe-core' ), 'section' => 'noxe_cookie_bar_section', ) ); /*====== Button Text ======*/ noxe_customizer_add_field( array( 'type' => 'text', 'settings' => 'noxe_cookie_bar_button_text', 'label' => esc_html__( 'Button Text', 'noxe-core' ), 'description' => esc_html__( 'Default: I Accept', 'noxe-core' ), 'section' => 'noxe_cookie_bar_section', ) ); /*====== Cookie Time ======*/ noxe_customizer_add_field( array( 'type' => 'text', 'settings' => 'noxe_cookie_bar_time', 'label' => esc_html__( 'Cookie Time', 'noxe-core' ), 'description' => esc_html__( 'This time is a day value. Default: 15', 'noxe-core' ), 'section' => 'noxe_cookie_bar_section', 'default' => '15', ) ); /*====== Lazy Load ======*/ /*====== Lazy Load ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_lazy_load', 'label' => esc_html__( 'Lazy Load', 'noxe-core' ), 'description' => esc_html__( 'LazyLoad is a lightweight (2.4 kB) and flexible script that speeds up your web application by deferring the loading of your below-the-fold images, videos and iframes to when they will enter the viewport.', 'noxe-core' ), 'tooltip' => sprintf( esc_html__( 'Using the %s library.', 'noxe-core' ), '<a target="_blank" href="' . esc_url( 'https://github.com/verlok/vanilla-lazyload' ) . '">' . esc_html__( 'verlok/vanilla-lazyload', 'noxe-core' ) . '</a>' ) , 'section' => 'noxe_lazy_load_section', ) ); /*====== RTL ======*/ /*====== RTL ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_rtl', 'label' => esc_html__( 'RTL', 'noxe-core' ), 'section' => 'noxe_rtl_section', ) ); /*====== Fancybox ======*/ /*====== Fancybox ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_fancybox', 'label' => esc_html__( 'Fancybox', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => '1', ) ); /*====== Loop ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_fancybox_loop', 'label' => esc_html__( 'Loop', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== Keyboard Control ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_fancybox_keyboard', 'label' => esc_html__( 'Keyboard Control', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== Infobar ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_fancybox_infobar', 'label' => esc_html__( 'Infobar', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== Animation Effect ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_fancybox_animation_effect', 'label' => esc_html__( 'Animation Effect', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => 'fade', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'zoom' => esc_html__( 'Zoom', 'noxe-core' ), 'fade' => esc_html__( 'Fade', 'noxe-core' ), 'zoom-in-out' => esc_html__( 'Zoom in Out', 'noxe-core' ), ), ) ); /*====== Animation Duration ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_fancybox_animation_duration', 'label' => esc_html__( 'Animation Duration', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => '366', 'choices' => array( 'min' => 0, 'max' => 100000, 'step' => 10, ), ) ); /*====== Transition Effect ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_fancybox_transition_effect', 'label' => esc_html__( 'Transition Effect', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => 'fade', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'fade' => esc_html__( 'Fade', 'noxe-core' ), 'slide' => esc_html__( 'Slide', 'noxe-core' ), 'circular' => esc_html__( 'Circular', 'noxe-core' ), 'tube' => esc_html__( 'Tube', 'noxe-core' ), 'zoom-in-out' => esc_html__( 'Zoom in Out', 'noxe-core' ), 'rotate' => esc_html__( 'Rotate', 'noxe-core' ), ), ) ); /*====== Transition Duration ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_fancybox_transition_duration', 'label' => esc_html__( 'Transition Duration', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => '366', 'choices' => array( 'min' => 0, 'max' => 100000, 'step' => 10, ), ) ); /*====== Zoom Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_fancybox_zoom_button', 'label' => esc_html__( 'Zoom Button', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => '1', ) ); /*====== Social Sharing Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_fancybox_social_sharing_button', 'label' => esc_html__( 'Social Sharing Button', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => '1', ) ); /*====== Slideshow Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_fancybox_slideshow_button', 'label' => esc_html__( 'Slideshow Button', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => '1', ) ); /*====== Slideshow Auto Start ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_fancybox_slideshow_auto_start', 'label' => esc_html__( 'Slideshow Auto Start', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => 'true', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== Slideshow Speed ======*/ noxe_customizer_add_field( array( 'type' => 'slider', 'settings' => 'noxe_fancybox_slideshow_speed', 'label' => esc_html__( 'Slideshow Speed', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => '3000', 'choices' => array( 'min' => 0, 'max' => 100000, 'step' => 10, ), ) ); /*====== Fullscreen Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_fancybox_fullscreen_button', 'label' => esc_html__( 'Fullscreen Button', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => '1', ) ); /*====== Download Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_fancybox_download_button', 'label' => esc_html__( 'Download Button', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => '1', ) ); /*====== Thumbs Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_fancybox_thumbs_button', 'label' => esc_html__( 'Thumbs Button', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => '1', ) ); /*====== Thumbs Auto Start ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_fancybox_thumbs_button_auto_start', 'label' => esc_html__( 'Thumbs Auto Start', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => 'false', 'choices' => array( 'false' => esc_html__( 'False', 'noxe-core' ), 'true' => esc_html__( 'True', 'noxe-core' ), ), ) ); /*====== Close Button ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_fancybox_close_button', 'label' => esc_html__( 'Close Button', 'noxe-core' ), 'section' => 'noxe_fancybox_section', 'default' => '1', ) ); /*====== InstantClick ======*/ /*====== InstantClick ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_instant_click', 'label' => esc_html__( 'InstantClick', 'noxe-core' ), 'description' => esc_html__( 'InstantClick is a JavaScript library that dramatically speeds up your website, making navigation effectively instant in most cases. Before visitors click on a link, they hover over that link. Between these two events, 200 ms to 300 ms usually pass by (test yourself here). InstantClick makes use of that time to preload the page, so that the page is already there when you click.', 'noxe-core' ), 'section' => 'noxe_instantclick_section', ) ); /*====== Google Maps ======*/ /*====== Google Maps API ======*/ noxe_customizer_add_field( array( 'type' => 'text', 'settings' => 'noxe_google_maps_api', 'label' => esc_html__( 'Google Maps API', 'noxe-core' ), 'section' => 'noxe_google_maps_section', ) ); /*====== Breadcrumbs ======*/ /*====== Breadcrumbs ======*/ noxe_customizer_add_field( array( 'type' => 'toggle', 'settings' => 'noxe_breadcrumbs', 'label' => esc_html__( 'Breadcrumbs', 'noxe-core' ), 'section' => 'noxe_breadcrumbs_section', ) ); /*====== 404 Page ======*/ /*====== 404 Page Skin ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_404_page_skin', 'label' => esc_html__( '404 Page Skin', 'noxe-core' ), 'section' => 'noxe_404_page_section', 'default' => 'dark', 'choices' => array( 'light' => esc_html__( 'Light', 'noxe-core' ), 'dark' => esc_html__( 'Dark', 'noxe-core' ), ), ) ); /*====== Background Style ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_404_page_background_style', 'label' => esc_html__( 'Background Style', 'noxe-core' ), 'section' => 'noxe_404_page_section', 'default' => 'color', 'choices' => array( 'color' => esc_html__( 'Color', 'noxe-core' ), 'noise' => esc_html__( 'Noise', 'noxe-core' ), 'image' => esc_html__( 'Image', 'noxe-core' ), ), ) ); /*====== Background Image ======*/ noxe_customizer_add_field( array( 'type' => 'background', 'settings' => 'noxe_404_page_background', 'label' => esc_html__( 'Background', 'noxe-core' ), 'section' => 'noxe_404_page_section', 'default' => array( 'background-color' => '', 'background-image' => '', 'background-repeat' => '', 'background-position' => '', 'background-size' => '', 'background-attachment' => '', ), 'output' => array( array( 'element' => '.gt-404-page.gt-style-1.gt-image-background', ), ), 'active_callback' => array( array( 'setting' => 'noxe_404_page_background_style', 'operator' => '==', 'value' => 'image', ), ), ) ); /*====== Password Protected ======*/ /*====== Password Protected Skin ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_password_protected_skin', 'label' => esc_html__( 'Password Protected Skin', 'noxe-core' ), 'section' => 'noxe_password_protected_section', 'default' => 'dark', 'choices' => array( 'light' => esc_html__( 'Light', 'noxe-core' ), 'dark' => esc_html__( 'Dark', 'noxe-core' ), ), ) ); /*====== Title Type ======*/ noxe_customizer_add_field( array( 'type' => 'radio-buttonset', 'settings' => 'noxe_password_protected_title', 'label' => esc_attr__( 'Title Type', 'noxe-core' ), 'section' => 'noxe_password_protected_section', 'default' => 'custom-title', 'choices' => array( 'post-title' => esc_attr__( 'Post Title', 'noxe-core' ), 'custom-title' => esc_attr__( 'Custom Title', 'noxe-core' ), ), ) ); /*====== Custom Title ======*/ noxe_customizer_add_field( array( 'type' => 'text', 'settings' => 'noxe_password_protected_custom_title', 'label' => esc_attr__( 'Custom Title', 'noxe-core' ), 'description' => esc_attr__( 'Default: Protected Page', 'noxe-core' ), 'section' => 'noxe_password_protected_section', ) ); /*====== Text ======*/ noxe_customizer_add_field( array( 'type' => 'editor', 'settings' => 'noxe_password_protected_text', 'label' => esc_attr__( 'Text', 'noxe-core' ), 'section' => 'noxe_password_protected_section', ) ); /*====== Background ======*/ noxe_customizer_add_field( array( 'type' => 'background', 'settings' => 'noxe_password_protected_background', 'label' => esc_html__( 'Background', 'noxe-core' ), 'section' => 'noxe_password_protected_section', 'default' => array( 'background-color' => '', 'background-image' => '', 'background-repeat' => '', 'background-position' => '', 'background-size' => '', 'background-attachment' => '', ), 'output' => array( array( 'element' => '.gt-protected-page', ), ), ) ); } add_action( 'init', 'noxe_customizer' , 10 , 1 );