403Webshell
Server IP : 162.0.217.223  /  Your IP : 216.73.216.168
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/typography/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mypckeys/tu-international.com/wp-content/themes/motorx/inc/customizer/typography/body.php
<?php 
$wp_customize->add_setting('themesflat_options[info]', array(
        'type'              => 'info_control',
        'capability'        => 'edit_theme_options',
        'sanitize_callback' => 'esc_attr',            
    )
);
$wp_customize->add_control( new themesflat_Info( $wp_customize, 'typography-body', array(
    'label' => esc_html__('Body', 'motorx'),
    'section' => 'section_typo_body',
    'settings' => 'themesflat_options[info]',
    'priority' => 1
    ) )
);
// Body fonts
$wp_customize->add_setting(
    'typography_body',
    array(
        'default' => themesflat_customize_default('typography_body'),
        'sanitize_callback' => 'esc_html',
    )
);
$wp_customize->add_control( new themesflat_Typography($wp_customize,
    'typography_body',
    array(
        'label' => esc_html__( 'Font name/style/sets', 'motorx' ),
        'section' => 'section_typo_body',
        'type' => 'typography',
        'fields' => array('family','style','line_height','size','letter_spacing'),
        'priority' => 2
    ))
);
// Body Color
$wp_customize->add_setting(
    'body_text_color',
    array(
        'default'           => themesflat_customize_default('body_text_color'),
        'sanitize_callback' => 'sanitize_hex_color',
    )
);
$wp_customize->add_control(
    new themesflat_ColorOverlay(
        $wp_customize,
        'body_text_color',
        array(
            'label'         => esc_html__('Body Color', 'motorx'),
            'section'       => 'section_typo_body',
            'settings'      => 'body_text_color',
            'priority'      => 3
        )
    )
);

$wp_customize->add_setting('themesflat_options[info]', array(
        'type'              => 'info_control',
        'capability'        => 'edit_theme_options',
        'sanitize_callback' => 'esc_attr',            
    )
);
$wp_customize->add_control( new themesflat_Info( $wp_customize, 'typography-blockquote', array(
    'label' => esc_html__('Blockquote', 'motorx'),
    'section' => 'section_typo_body',
    'settings' => 'themesflat_options[info]',
    'priority' => 10
    ) )
);
$wp_customize->add_setting(
    'typography_blockquote',
    array(
        'default' => themesflat_customize_default('typography_blockquote'),
        'sanitize_callback' => 'esc_html',
    )
);
$wp_customize->add_control( new themesflat_Typography($wp_customize,
    'typography_blockquote',
    array(
        'label' => esc_html__( 'Font name/style/sets', 'motorx' ),
        'section' => 'section_typo_body',
        'type' => 'typography',
        'fields' => array('family','style','line_height','size','letter_spacing'),
        'priority' => 11
    ))
);

Youez - 2016 - github.com/yon3zu
LinuXploit