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/ |
Upload File : |
<?php $wp_customize->add_setting( 'layout_version', array( 'default' => themesflat_customize_default('layout_version'), 'sanitize_callback' => 'esc_attr', ) ); $wp_customize->add_control( 'layout_version', array( 'type' => 'select', 'section' => 'background_image', 'priority' => 1, 'label' => esc_html__('Layout version', 'motorx'), 'choices' => array( 'wide' => esc_html__('Wide','motorx'), 'boxed' => esc_html__('Boxed','motorx'), )) ); // body background color $wp_customize->add_setting( 'body_background_color', array( 'default' => themesflat_customize_default('body_background_color'), 'sanitize_callback' => 'esc_attr', ) ); $wp_customize->add_control( new themesflat_ColorOverlay( $wp_customize, 'body_background_color', array( 'label' => esc_html__('Body Background Color', 'motorx'), 'section' => 'background_image', 'priority' => 2 ) ) ); // Content Box control $wp_customize->add_setting( 'content_controls', array( 'default' => themesflat_customize_default('content_controls'), 'sanitize_callback' => 'themesflat_sanitize_text', ) ); $wp_customize->add_control( new themesflat_BoxControls($wp_customize, 'content_controls', array( 'label' => esc_html__( 'Content Box Controls (px)', 'motorx' ), 'section' => 'background_image', 'type' => 'box-controls', 'priority' => 10 )) ); $wp_customize->add_setting( 'page_sidebar_layout', array( 'default' => themesflat_customize_default('page_sidebar_layout'), 'sanitize_callback' => 'esc_attr', ) ); $wp_customize->add_control( 'page_sidebar_layout', array ( 'type' => 'select', 'section' => 'background_image', 'priority' => 11, 'label' => esc_html__('Page Sidebar Position', 'motorx'), 'choices' => array ( 'sidebar-right' => esc_html__( 'Sidebar Right','motorx' ), 'sidebar-left' => esc_html__( 'Sidebar Left','motorx' ), 'fullwidth' => esc_html__( 'Full Width','motorx' ), 'fullwidth-small' => esc_html__( 'Full Width Small','motorx' ), 'fullwidth-center' => esc_html__( 'Full Width Center','motorx' ), ), ) );