| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/themes/glaza/theme_options/ |
Upload File : |
<?php
//default config
require get_parent_theme_file_path( '/theme_options/config_default.php' );
if ( ! class_exists( 'ReduxFramework' ) ) {
return false;
}
/**
* redux style
*/
if ( ! function_exists( 'glaza_register_style_redux' ) ) {
function glaza_register_style_redux() {
wp_register_style( 'glaza-style-redux', get_theme_file_uri( 'assets/css/redux-style.css' ), array( 'redux-admin-css' ), GLAZA_CORE_VERSION, 'all' );
wp_enqueue_style( 'glaza-style-redux' );
wp_dequeue_script( 'redux-rtl-css' );
}
};
if ( is_admin() ) {
add_action( 'redux/page/glaza_theme_options/enqueue', 'glaza_register_style_redux' );
}
require get_parent_theme_file_path( '/theme_options/panel_general.php' );
require get_parent_theme_file_path( '/theme_options/panel_styling.php' );
require get_parent_theme_file_path( '/theme_options/panel_logo.php' );
require get_parent_theme_file_path( '/theme_options/panel_header.php' );
require get_parent_theme_file_path( '/theme_options/panel_sidebar.php' );
require get_parent_theme_file_path( '/theme_options/panel_footer.php' );
require get_parent_theme_file_path( '/theme_options/panel_post.php' );
require get_parent_theme_file_path( '/theme_options/panel_page.php' );
require get_parent_theme_file_path( '/theme_options/panel_color.php' );
require get_parent_theme_file_path( '/theme_options/panel_social.php' );
require get_parent_theme_file_path( '/theme_options/panel_translation.php' );
require get_parent_theme_file_path( '/theme_options/panel_typo.php' );
require get_parent_theme_file_path( '/theme_options/panel_wc.php' );
require get_parent_theme_file_path( '/theme_options/panel_amp.php' );
$glaza_theme = wp_get_theme();
$glaza_opt_name = 'glaza_theme_options';
$glaza_args = array(
'opt_name' => $glaza_opt_name,
'display_name' => $glaza_theme->get( 'Name' ),
'display_version' => $glaza_theme->get( 'Version' ),
'menu_type' => 'menu',
'allow_sub_menu' => true,
'menu_title' => esc_html__( 'Theme Options', 'glaza' ),
'page_title' => esc_html__( 'Theme Options', 'glaza' ),
'google_api_key' => '',
'google_update_weekly' => false,
'async_typography' => false,
'admin_bar' => true,
'admin_bar_icon' => 'dashicons-admin-generic',
'admin_bar_priority' => 50,
'global_variable' => $glaza_opt_name,
'dev_mode' => false,
'update_notice' => false,
'customizer' => true,
'page_priority' => 54,
'page_parent' => 'themes.php',
'page_permissions' => 'manage_options',
'menu_icon' => '',
'last_tab' => '',
'page_icon' => 'icon-themes',
'page_slug' => '',
'show_options_object' => false,
'save_defaults' => true,
'default_show' => false,
'default_mark' => '',
'show_import_export' => true,
'transient_time' => 6400,
'use_cdn' => true,
'output' => true,
'output_tag' => true,
'disable_tracking' => true,
'database' => '',
'system_info' => false,
);
Redux::setArgs( $glaza_opt_name, $glaza_args );
Redux::setSection( $glaza_opt_name, glaza_theme_options_general() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_logo() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_header() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_sidebar() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_footer() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_styling() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_index() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_category() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_search() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_author() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_archive() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_page() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_single_post() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_single_post_styling() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_single_post_layout() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_single_post_share() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_single_post_related() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_social_profile() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_typo() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_typo_body() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_typo_title() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_typo_meta() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_typo_heading() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_typo_navigation() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_typo_logo() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_typo_h() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_color() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_translation() );
if ( class_exists( 'WooCommerce' ) ) {
Redux::setSection( $glaza_opt_name, glaza_theme_options_wc() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_wc_styling() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_wc_page() );
Redux::setSection( $glaza_opt_name, glaza_theme_options_wc_stp() );
}
Redux::setSection( $glaza_opt_name, glaza_theme_options_amp() );