X7ROOT File Manager
Current Path:
/home/freights/public_html/wp-content/themes/indofinance/inc/customizer
home
/
freights
/
public_html
/
wp-content
/
themes
/
indofinance
/
inc
/
customizer
/
??
..
??
7hn7419k
(9.03 KB)
??
7lqgobir
(9.03 KB)
??
a13y30ht
(9.03 KB)
??
custom_controls.php
(2.51 KB)
??
customizer.php
(2.4 KB)
??
fa-style.php
(10.84 KB)
??
featured-post-module2.php
(7.53 KB)
??
featured-post.php
(6.32 KB)
??
header.php
(6.39 KB)
??
panel-footer.php
(3.06 KB)
??
panel-theme-options.php
(6.15 KB)
??
popular-post-grid.php
(7.36 KB)
??
popular-post-widget.php
(7.04 KB)
??
sanitization.php
(1.89 KB)
??
slider-widget.php
(5.22 KB)
??
theme-layout.php
(11.32 KB)
Editing: customizer.php
<?php /** * indofinance Theme Customizer * * @package indofinance */ /** * Add postMessage support for site title and description for the Theme Customizer. * * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ function indofinance_customize_register( $wp_customize ) { $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' => 'indofinance_customize_partial_blogname', ) ); $wp_customize->selective_refresh->add_partial( 'blogdescription', array( 'selector' => '.site-description', 'render_callback' => 'indofinance_customize_partial_blogdescription', ) ); } } add_action( 'customize_register', 'indofinance_customize_register' ); /** * Render the site title for the selective refresh partial. * * @return void */ function indofinance_customize_partial_blogname() { bloginfo( 'name' ); } /** * Render the site tagline for the selective refresh partial. * * @return void */ function indofinance_customize_partial_blogdescription() { bloginfo( 'description' ); } /** * Binds JS handlers to make Theme Customizer preview reload changes asynchronously. */ function indofinance_customize_preview_js() { wp_enqueue_script( 'indofinance-customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), indofinance_VERSION, true ); } add_action( 'customize_preview_init', 'indofinance_customize_preview_js' ); require_once indofinance_PATH . 'inc/customizer/sanitization.php'; require_once indofinance_PATH . 'inc/customizer/custom_controls.php'; require_once indofinance_PATH . 'inc/customizer/header.php'; require_once indofinance_PATH . 'inc/customizer/panel-footer.php'; require_once indofinance_PATH . 'inc/customizer/featured-post.php'; require_once indofinance_PATH . 'inc/customizer/featured-post-module2.php'; require_once indofinance_PATH . 'inc/customizer/blog-style.php';; require_once indofinance_PATH . 'inc/customizer/fa-style.php'; require_once indofinance_PATH . 'inc/customizer/slider-widget.php'; require_once indofinance_PATH . 'inc/customizer/popular-post-grid.php';
Upload File
Create Folder