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: custom_controls.php
<?php /** * Custom Controls for Customizer * * @package indofinance */ if ( class_exists( 'WP_Customize_Control' ) ) { class indofinance_Range_Value_Control extends WP_Customize_Control { public $type = 'indofinance-range-value'; /** * Render the control's content. * * @author soderlind * @version 1.2.0 */ public function render_content() { ?> <label> <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span> <div class="range-slider" style="width:100%; display:flex;flex-direction: row;justify-content: flex-start;"> <span style="width:100%; flex: 1 0 0; vertical-align: middle;"><input class="range-slider__range" type="range" value="<?php echo esc_attr( $this->value() ); ?>" <?php $this->input_attrs(); $this->link(); ?> > <span class="range-slider__value">0</span></span> </div> <?php if ( ! empty( $this->description ) ) : ?> <span class="description customize-control-description"><?php echo esc_html( $this->description ); ?></span> <?php endif; ?> </label> <?php } } class indofinance_Separator_Control extends WP_Customize_Control { public $type = "indofinance-separator"; public function render_content() { ?> <hr> <?php } } class indofinance_Heading_Control extends WP_Customize_Control { public $type = "indofinance-heading"; public function render_content() { ?> <h4><?php echo esc_html( $this->label ); ?></h4> <?php } } // Text Paragraph Control class indofinance_Para_Control extends WP_Customize_Control { public $type = "indofinance-para"; public function render_content() { ?> <p><?php echo $this->label; ?></p> <?php } } class indofinance_Custom_Button_Control extends WP_Customize_Control { public $type = "indofinance-button"; public function render_content() { ?> <label> <div id="<?php echo $this->id ?>"> <?php if ( $this->description ) : ?> <p><?php echo $this->description ?></p> <?php endif; ?> <button type="button" class="button button-primary" tabindex="0"><?php echo $this->label ?></a> </div> </label> <?php } } }
Upload File
Create Folder