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: panel-footer.php
<?php /* * Custom Copyright Text * Enable Additional Footer Menu * */ function indofinance_footer_customize_register($wp_customize) { $wp_customize->add_panel( 'indofinance-footer-panel', array( 'title' => __('Footer', 'indofinance'), 'priority' => 20 ) ); $wp_customize->add_section( 'indofinance-footer-section', array( 'title' => __('Copyright Text', 'indofinance'), 'panel' => 'indofinance-footer-panel', 'priority' => 20 ) ); $wp_customize->add_setting( 'indofinance-copyright-text', array( 'sanitize_callback' => 'sanitize_text_field', 'default' => __('© ','indofinance').esc_html(get_bloginfo('name')).__(" ", 'indofinance').date('Y'), ) ); $wp_customize->add_control( 'indofinance-copyright-text', array( 'type' => 'text', 'section' => 'indofinance-footer-section', 'label' => __( 'Copyright Text','indofinance' ), 'description' => __( 'Enter your own Copyright text. Default Copyright Message is (c) Sitename and Year.','indofinance' ), ) ); $wp_customize->add_section( 'indofinance-footer-layout', array( 'title' => __('Footer Layout', 'indofinance'), 'panel' => 'indofinance-footer-panel', 'priority' => 20 ) ); // Add Setting $wp_customize->add_setting( 'indofinance_footer_column_choice', array( 'default' => 'four-columns', // Set default value 'sanitize_callback' => 'indofinance_sanitize_select', // Sanitize input 'transport' => 'refresh', // How the customizer should update the setting (refresh the page by default) )); // Add Control $wp_customize->add_control( 'indofinance_footer_column_choice', array( 'label' => __( 'Footer Column Layout', 'indofinance' ), 'section' => 'indofinance-footer-layout', 'settings' => 'indofinance_footer_column_choice', 'type' => 'select', 'choices' => array( 'one-column' => __( 'One Column', 'indofinance' ), 'two-columns' => __( 'Two Columns', 'indofinance' ), 'three-columns' => __( 'Three Columns', 'indofinance' ), 'four-columns' => __( 'Four Columns', 'indofinance' ), ), )); // Add section for footer settings $wp_customize->add_section('indofinance_footer_section', array( 'title' => __('Footer Background Image', 'indofinance'), 'priority' => 30, 'panel' => 'indofinance-footer-panel' )); // Add setting for footer background image $wp_customize->add_setting('indofinance_footer_background_image', array( 'default' => '', 'sanitize_callback' => 'esc_url_raw', 'transport' => 'refresh', )); // Add control for footer background image $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'indofinance_footer_background_image', array( 'label' => __('Footer Background Image', 'indofinance'), 'section' => 'indofinance_footer_section', 'settings' => 'indofinance_footer_background_image', ))); } add_action('customize_register','indofinance_footer_customize_register');
Upload File
Create Folder