|
Server : LiteSpeed System : Linux srv104790275 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : dewac4139 ( 1077) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /home/mentaribetslot.com/public_html/wp-content/themes/mabar88/inc/customizer/ |
Upload File : |
<?php
/**
* Override default customizer panels, sections, settings or controls.
*
* @package Astra
* @author Astra
* @copyright Copyright (c) 2020, Astra
* @link https://wpastra.com/
* @since Astra 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* Override Sections
*/
$wp_customize->get_section( 'title_tagline' )->priority = 5;
$wp_customize->get_section( 'title_tagline' )->panel = 'panel-header-group';
/**
* Override Settings
*/
$wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
$wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
$wp_customize->get_setting( 'custom_logo' )->transport = 'refresh';
/**
* Override Controls
*/
$wp_customize->get_control( 'custom_logo' )->priority = 5;
$wp_customize->get_control( 'blogname' )->priority = 8;
$wp_customize->get_control( 'blogdescription' )->priority = 12;
$wp_customize->get_control( 'header_textcolor' )->priority = 9;
if ( isset( $wp_customize->selective_refresh ) ) {
$wp_customize->selective_refresh->add_partial(
'blogname',
array(
'selector' => '.main-header-bar .site-title a, .ast-small-footer-wrap .ast-footer-site-title',
'container_inclusive' => false,
'render_callback' => 'Astra_Customizer_Partials::render_partial_site_title',
)
);
}
if ( isset( $wp_customize->selective_refresh ) ) {
$wp_customize->selective_refresh->add_partial(
'blogdescription',
array(
'selector' => '.main-header-bar .site-description',
'container_inclusive' => false,
'render_callback' => 'Astra_Customizer_Partials::render_partial_site_tagline',
)
);
}
/*
* Modify WooCommerce default section priorities
*/
if ( class_exists( 'WooCommerce' ) ) {
$wp_customize->get_section( 'woocommerce_store_notice' )->priority = 9;
$wp_customize->get_section( 'woocommerce_product_catalog' )->priority = 11;
$wp_customize->get_section( 'woocommerce_checkout' )->priority = 21;
$wp_customize->get_panel( 'woocommerce' )->priority = 70;
}