X7ROOT File Manager
Current Path:
/home/notabjze/hourglass.life/wp-content/themes/smart-mag/inc
home
/
notabjze
/
hourglass.life
/
wp-content
/
themes
/
smart-mag
/
inc
/
ðŸ“
..
ðŸ“
admin
📄
admin.php
(6.3 KB)
ðŸ“
amp
📄
archives.php
(3.35 KB)
📄
authenticate.php
(3.25 KB)
📄
bunyad.php
(711 B)
ðŸ“
core
📄
custom-codes.php
(8.22 KB)
📄
custom-css.php
(5.5 KB)
📄
customizer.php
(1.5 KB)
📄
dark-mode.php
(1.61 KB)
ðŸ“
demos
ðŸ“
integrations
📄
lazyload.php
(9.45 KB)
📄
legacy.php
(5.03 KB)
📄
media.php
(22.27 KB)
📄
navigation.php
(1.15 KB)
📄
schema.php
(6.7 KB)
📄
search.php
(2 KB)
📄
social.php
(3.71 KB)
📄
theme.php
(30.59 KB)
Editing: customizer.php
<?php /** * WordPress Customizer registration. */ class Bunyad_Theme_Customizer { public $module; public function __construct() { require_once get_template_directory() . '/inc/core/customizer/module.php'; $this->module = new Bunyad_Customizer_Module; // Register extra assets. add_action('customize_controls_enqueue_scripts', [$this, 'register_assets'], 9); // Set some sphere core features options priorities. add_filter('sphere/social-follow/options', function($options) { $options['priority'] = 34; return $options; }); add_filter('sphere/alp/options', function($options) { $options['priority'] = 33; return $options; }); // Delete logo cache for the 1x logos that save the dimensions. add_action('customize_save_after', function() { $logos = [ 'image_logo_sd', 'image_logo', 'footer_logo' ]; foreach ($logos as $logo) { delete_transient('bunyad_logo_' . md5(Bunyad::options()->get($logo))); } }); } public function register_assets() { wp_enqueue_script( 'bunyad-theme-customizer', get_theme_file_uri('/js/admin/customizer.js'), ['bunyad-customizer-controls'], Bunyad::options()->get_config('theme_version') ); } /** * Proxy to module for backward compatibility. */ public function __call($name, $arguments) { return call_user_func_array([$this->module, $name], $arguments); } } // Init and make available in Bunyad::get('customizer') Bunyad::register('customizer', array( 'class' => 'Bunyad_Theme_Customizer', 'init' => true ));
Upload File
Create Folder