Server IP : 162.0.217.223 / Your IP : 216.73.216.150 Web Server : LiteSpeed System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : mypckeys ( 1539) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mypckeys/tu-international.com/wp-content/themes/motorx/inc/customizer/color/ |
Upload File : |
<?php // Top bar Background $wp_customize->add_setting( 'topbar_background_color', array( 'default' => themesflat_customize_default('topbar_background_color'), 'sanitize_callback' => 'esc_attr', ) ); $wp_customize->add_control( new themesflat_ColorOverlay( $wp_customize, 'topbar_background_color', array( 'label' => esc_html__('Background', 'motorx'), 'section' => 'color_topbar', 'priority' => 1 ) ) ); // Top bar text color $wp_customize->add_setting( 'topbar_textcolor', array( 'default' => themesflat_customize_default('topbar_textcolor'), 'sanitize_callback' => 'esc_attr', ) ); $wp_customize->add_control( new themesflat_ColorOverlay( $wp_customize, 'topbar_textcolor', array( 'label' => esc_html__('Text Color', 'motorx'), 'section' => 'color_topbar', 'settings' => 'topbar_textcolor', 'priority' => 3 ) ) ); // Topbar Link Color Hover $wp_customize->add_setting( 'topbar_link_color', array( 'default' => themesflat_customize_default('topbar_link_color'), 'sanitize_callback' => 'esc_attr', ) ); $wp_customize->add_control( new themesflat_ColorOverlay( $wp_customize, 'topbar_link_color', array( 'label' => esc_html__('Link Color', 'motorx'), 'section' => 'color_topbar', 'settings' => 'topbar_link_color', 'priority' => 4 ) ) ); // Topbar Link Color Hover $wp_customize->add_setting( 'topbar_link_color_hover', array( 'default' => themesflat_customize_default('topbar_link_color_hover'), 'sanitize_callback' => 'esc_attr', ) ); $wp_customize->add_control( new themesflat_ColorOverlay( $wp_customize, 'topbar_link_color_hover', array( 'label' => esc_html__('Link Color Hover', 'motorx'), 'section' => 'color_topbar', 'settings' => 'topbar_link_color_hover', 'priority' => 5 ) ) );