get_setting('header_textcolor')->transport = 'postMessage'; $wp_customize->get_setting('blogdescription')->transport = 'postMessage'; $wp_customize->get_setting('blogname')->transport = 'postMessage'; $wp_customize->remove_section("header_image"); $list_fonts = array(); // 1 $list_font_weights = array(); // 2 $webfonts_array = file(get_template_directory_uri() . '/assets/fonts.json'); $webfonts = implode('', $webfonts_array); $list_fonts_decode = json_decode($webfonts, true); foreach ($list_fonts_decode['items'] as $key => $value) { $item_family = $list_fonts_decode['items'][$key]['family']; $list_fonts[$item_family] = $item_family; $list_font_weights[$item_family] = $list_fonts_decode['items'][$key]['variants']; } $list_all_font_weights = array(// 3 '100' => __('Ultra Light', 'artwork-lite'), '100italic' => __('Ultra Light Italic', 'artwork-lite'), '200' => __('Light', 'artwork-lite'), '200italic' => __('Light Italic', 'artwork-lite'), '300' => __('Book', 'artwork-lite'), '300italic' => __('Book Italic', 'artwork-lite'), '400' => __('Regular', 'artwork-lite'), '400italic' => __('Regular Italic', 'artwork-lite'), '500' => __('Medium', 'artwork-lite'), '500italic' => __('Medium Italic', 'artwork-lite'), '600' => __('Semi-Bold', 'artwork-lite'), '600italic' => __('Semi-Bold Italic', 'artwork-lite'), '700' => __('Bold', 'artwork-lite'), '700italic' => __('Bold Italic', 'artwork-lite'), '800' => __('Extra Bold', 'artwork-lite'), '800italic' => __('Extra Bold Italic', 'artwork-lite'), '900' => __('Ultra Bold', 'artwork-lite'), '900italic' => __('Ultra Bold Italic', 'artwork-lite') ); $list_all_font_size = array( '14px' => '14px', '15px' => '15px', '16px' => '16px', '18px' => '18px', '20px' => '20px', '22px' => '22px', '24px' => '24px', '26px' => '26px', '28px' => '28px', '30px' => '30px', '32px' => '32px', '34px' => '34px', '36px' => '36px', '38px' => '38px', '40px' => '40px', '42px' => '42px', '44px' => '44px', '48px' => '48px', '50px' => '50px', '52px' => '52px', '54px' => '54px', '56px' => '56px', '58px' => '58px', '60px' => '60px', '62px' => '62px', '64px' => '64px', '66px' => '66px', '68px' => '68px', '70px' => '70px', '72px' => '72px', '74px' => '74px', '76px' => '76px', '78px' => '78px', '80px' => '80px', '82px' => '82px', '84px' => '84px', '86px' => '86px', '88px' => '88px', '90px' => '90px', '92px' => '92px', '96px' => '96px', '94px' => '94px', '96px' => '96px', '98px' => '98px' ); $wp_customize->add_setting('theme_title_font_family', array( 'default' => 'Roboto', 'sanitize_callback' => 'theme_sanitize_select', )); $wp_customize->add_control('theme_title_font_family', array( 'type' => 'select', 'label' => __('Site Title Font Family', 'artwork-lite'), 'section' => 'title_tagline', 'priority' => 10, 'choices' => $list_fonts )); $wp_customize->add_setting('theme_title_font_weight', array( 'default' => '700', 'sanitize_callback' => 'theme_sanitize_select', )); $wp_customize->add_control('theme_title_font_weight', array( 'type' => 'select', 'label' => __('Site Title Font Weight', 'artwork-lite'), 'section' => 'title_tagline', 'priority' => 11, 'choices' => $list_all_font_weights )); $wp_customize->add_setting('theme_title_font_size', array( 'default' => '90px', 'sanitize_callback' => 'theme_sanitize_select', )); $wp_customize->add_control('theme_title_font_size', array( 'type' => 'select', 'label' => __('Site Title Font Size', 'artwork-lite'), 'section' => 'title_tagline', 'priority' => 12, 'choices' => $list_all_font_size )); /* * Add 'gemeral' section */ $wp_customize->add_section( 'theme_general_section', array( 'title' => esc_html__('General', 'artwork-lite'), 'priority' => 20, 'capability' => 'edit_theme_options' ) ); /* * Add the 'copyright ' setting. */ $wp_customize->add_setting('theme_copyright', array( 'sanitize_callback' => 'theme_sanitize_pro_version') ); $wp_customize->add_control(new Theme_Support($wp_customize, 'theme_copyright', array( 'label' => __('"Designed and Powered..." text in footer', 'artwork-lite' ), 'section' => 'theme_general_section', 'settings' => 'theme_copyright', 'priority' => 2 ) )); $color_scheme = theme_get_color_scheme(); /* * Brand Color */ $wp_customize->add_setting('theme_color_text', array( 'default' => THEME_TEXT_COLOR, 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_hex_color' )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'theme_color_text', array( 'label' => __('Text Color', 'artwork-lite'), 'section' => 'colors', 'settings' => 'theme_color_text' ))); $wp_customize->add_setting('theme_color_primary', array( 'default' => $color_scheme[0], 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_hex_color' )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'theme_color_primary', array( 'label' => __('Accent Color', 'artwork-lite'), 'section' => 'colors', 'settings' => 'theme_color_primary' ))); $wp_customize->add_setting('theme_color_second', array( 'default' => $color_scheme[1], 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_hex_color' )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'theme_color_second', array( 'label' => __('Second Accent Color', 'artwork-lite'), 'section' => 'colors', 'settings' => 'theme_color_second' ))); $wp_customize->add_setting('theme_color_third', array( 'default' => $color_scheme[2], 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_hex_color' )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'theme_color_third', array( 'label' => __('Third Accent Color', 'artwork-lite'), 'section' => 'colors', 'settings' => 'theme_color_third' ))); $wp_customize->add_setting('theme_color_fourth', array( 'default' => $color_scheme[3], 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_hex_color' )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'theme_color_fourth', array( 'label' => __('Fourth Accent Color', 'artwork-lite'), 'section' => 'colors', 'settings' => 'theme_color_fourth' ))); /* * Add 'logo/favicon' section */ $theme_logo_section_title = esc_html__('Logo', 'artwork-lite'); if (!function_exists('has_site_icon')) { $theme_logo_section_title = esc_html__('Logo & Favicon', 'artwork-lite'); } $wp_customize->add_section( 'theme_logo_section', array( 'title' => $theme_logo_section_title, 'priority' => 30, 'capability' => 'edit_theme_options' ) ); /* * Add the 'logo ' upload setting. */ $wp_customize->add_setting( 'theme_logo', array( 'default' => $color_scheme[4], 'capability' => 'edit_theme_options', 'sanitize_callback' => 'esc_url_raw', ) ); /* * Add the upload control for the 'theme_logo' setting. */ $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'theme_logo', array( 'label' => esc_html__('Logo', 'artwork-lite'), 'section' => 'theme_logo_section', 'settings' => 'theme_logo', ) ) ); /* * Add the 'logo footer' upload setting. */ $wp_customize->add_setting( 'theme_logo_footer', array( 'default' => $color_scheme[5], 'capability' => 'edit_theme_options', 'sanitize_callback' => 'esc_url_raw', ) ); /* * Add the upload control for the 'theme_logo_footer' setting. */ $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'theme_logo_footer', array( 'label' => esc_html__('Footer logo', 'artwork-lite'), 'section' => 'theme_logo_section', 'settings' => 'theme_logo_footer', ) ) ); if (!function_exists('has_site_icon')) { /* * Add the 'favicon' upload setting. */ $wp_customize->add_setting( 'theme_favicon', array( 'default' => get_template_directory_uri() . '/images/headers/favicon.png', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'esc_url_raw', ) ); /* * Add the upload control for the 'theme_favicon' setting. */ $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'theme_favicon', array( 'label' => esc_html__('Favicon', 'artwork-lite'), 'section' => 'theme_logo_section', 'settings' => 'theme_favicon', ) ) ); } /* * Add 'header_info' section */ $wp_customize->add_section( 'theme_header_info', array( 'title' => esc_html__('Contact Information', 'artwork-lite'), 'priority' => 60, 'capability' => 'edit_theme_options' ) ); $wp_customize->add_setting('theme_location_info_label', array( 'default' => __('Opening hours', 'artwork-lite'), 'capability' => 'edit_theme_options', 'sanitize_callback' => 'theme_sanitize_text', 'transport' => 'postMessage' )); $wp_customize->add_control('theme_location_info_label', array( 'label' => __('Title Contact Information 1', 'artwork-lite'), 'section' => 'theme_header_info', 'settings' => 'theme_location_info_label', )); $wp_customize->add_setting('theme_location_info', array( 'default' => THEME_DEFAULT_ADDRESS, 'capability' => 'edit_theme_options', 'sanitize_callback' => 'theme_sanitize_text', 'transport' => 'postMessage' )); $wp_customize->add_control(new Theme_Customize_Textarea_Control($wp_customize, 'theme_location_info', array( 'label' => __('Contact Information 1', 'artwork-lite'), 'section' => 'theme_header_info', 'settings' => 'theme_location_info', ))); $wp_customize->add_setting('theme_hours_info_label', array( 'default' => __('Address', 'artwork-lite'), 'capability' => 'edit_theme_options', 'sanitize_callback' => 'theme_sanitize_text', 'transport' => 'postMessage' )); $wp_customize->add_control('theme_hours_info_label', array( 'label' => __('Title Contact Information 2', 'artwork-lite'), 'section' => 'theme_header_info', 'settings' => 'theme_hours_info_label', )); $wp_customize->add_setting('theme_hours_info', array( 'default' => THEME_DEFAULT_OPEN_HOURS, 'capability' => 'edit_theme_options', 'sanitize_callback' => 'theme_sanitize_text', 'transport' => 'postMessage' )); $wp_customize->add_control(new Theme_Customize_Textarea_Control($wp_customize, 'theme_hours_info', array( 'label' => __('Contact Information 2', 'artwork-lite'), 'section' => 'theme_header_info', 'settings' => 'theme_hours_info', ))); /* * Add 'about' section */ $wp_customize->add_section( 'theme_about_section', array( 'title' => esc_html__('About Page', 'artwork-lite'), 'priority' => 70, 'capability' => 'edit_theme_options' ) ); /* * Add the 'phone info' setting. */ $wp_customize->add_setting('theme_about_content', array( 'sanitize_callback' => 'theme_sanitize_text_all', 'default' => '', 'capability' => 'edit_theme_options', 'transport' => 'postMessage' )); /* * Add the control for the 'phone info' setting. */ $wp_customize->add_control(new Theme_Customize_Textarea_Control($wp_customize, 'theme_about_content', array( 'label' => __('Description', 'artwork-lite'), 'section' => 'theme_about_section', 'settings' => 'theme_about_content', ))); if (get_theme_mod('theme_about_content', false) === false) : set_theme_mod('theme_about_content', (__('
Artistique is a fine art gallery located in 24 Hillside Gardens Northwood, Greater London UK. The gallery was established in 1993 and is dedicated to the exhibition, education and research of contemporary figurative art. Our aim is to contribute, initiate, develop and inspire viewers about the visual arts.
Artistique Artwork Gallery is always open for submissions from all creative artists. Get your opportunity to exhibit your works at a prestigious gallery and have them seen by thousands of visitors who appreciate the art.
10.30am to 5.30pm, Tuesday to Sunday during exhibitions.
Closed on Mondays (except bank holidays) and during exhibition changeovers.