Server IP : 162.0.217.223 / Your IP : 216.73.216.112 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/content/ |
Upload File : |
<?php // Customize Blog Featured Title $wp_customize->add_setting ( 'blog_featured_title', array( 'default' => themesflat_customize_default('blog_featured_title'), 'sanitize_callback' => 'themesflat_sanitize_text' ) ); $wp_customize->add_control( 'blog_featured_title', array( 'type' => 'text', 'label' => esc_html__('Customize Blog Featured Title', 'motorx'), 'section' => 'section_content_blog_single', 'priority' => 1 ) ); //Blog Single Layout $wp_customize->add_setting( 'blog_layout_single', array( 'default' => themesflat_customize_default('blog_layout_single'), 'sanitize_callback' => 'esc_attr', ) ); $wp_customize->add_control( 'blog_layout_single', array ( 'type' => 'select', 'section' => 'section_content_blog_single', 'priority' => 1, 'label' => esc_html__('Sidebar Single Position', 'motorx'), 'choices' => array ( 'sidebar-right' => esc_html__( 'Sidebar Right','motorx' ), 'sidebar-left' => esc_html__( 'Sidebar Left','motorx' ), ), ) ); // Social Share $wp_customize->add_setting( 'show_social_share', array( 'sanitize_callback' => 'themesflat_sanitize_checkbox', 'default' => themesflat_customize_default('show_social_share'), ) ); $wp_customize->add_control( new themesflat_Checkbox( $wp_customize, 'show_social_share', array( 'type' => 'checkbox', 'label' => esc_html__('Social Share Blog ( OFF | ON )', 'motorx'), 'section' => 'section_content_blog_single', 'priority' => 3, )) ); // Enable Entry Footer Content $wp_customize->add_setting( 'show_entry_footer_content', array( 'sanitize_callback' => 'themesflat_sanitize_checkbox', 'default' => themesflat_customize_default('show_entry_footer_content'), ) ); $wp_customize->add_control( new themesflat_Checkbox( $wp_customize, 'show_entry_footer_content', array( 'type' => 'checkbox', 'label' => esc_html__('Entry Footer ( OFF | ON )', 'motorx'), 'section' => 'section_content_blog_single', 'priority' => 4, )) );