Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the content-views-query-and-display-post-page domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/contiuht/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the easy-accordion-free domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/contiuht/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the tpebl domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/contiuht/public_html/wp-includes/functions.php on line 6114
/** * * @author Gaviasthemes Team * @copyright Copyright (C) 2022 Gaviasthemes. All Rights Reserved. * @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html * */ define('CONULT_THEME_DIR', get_template_directory()); define('CONULT_THEME_URL', get_template_directory_uri()); // Include list of files of theme. require_once(CONULT_THEME_DIR . '/includes/functions.php'); require_once(CONULT_THEME_DIR . '/includes/template.php'); require_once(CONULT_THEME_DIR . '/includes/hook.php'); require_once(CONULT_THEME_DIR . '/includes/comment.php'); require_once(CONULT_THEME_DIR . '/includes/metaboxes.php'); require_once(CONULT_THEME_DIR . '/includes/customize.php'); require_once(CONULT_THEME_DIR . '/includes/menu.php'); require_once(CONULT_THEME_DIR . '/includes/elementor/hooks.php'); //Load Woocommerce plugin if(class_exists('WooCommerce')){ add_theme_support('woocommerce'); require_once(CONULT_THEME_DIR . '/includes/woocommerce/functions.php'); require_once(CONULT_THEME_DIR . '/includes/woocommerce/hooks.php'); } // Load Redux - Theme options framework if(class_exists('Redux')){ require(CONULT_THEME_DIR . '/includes/options/init.php'); require_once(CONULT_THEME_DIR . '/includes/options/opts-general.php'); require_once(CONULT_THEME_DIR . '/includes/options/opts-header.php'); require_once(CONULT_THEME_DIR . '/includes/options/opts-footer.php'); require_once(CONULT_THEME_DIR . '/includes/options/opts-styling.php'); require_once(CONULT_THEME_DIR . '/includes/options/opts-page.php'); require_once(CONULT_THEME_DIR . '/includes/options/opts-portfolio.php'); if(class_exists('WooCommerce')){ require_once(CONULT_THEME_DIR . '/includes/options/opts-woo.php'); } } // TGM plugin activation if (is_admin()) { require_once(CONULT_THEME_DIR . '/includes/tgmpa/class-tgm-plugin-activation.php'); require(CONULT_THEME_DIR . '/includes/tgmpa/config.php'); } load_theme_textdomain('conult', get_template_directory() . '/languages'); //-------- Register sidebar default in theme ----------- //------------------------------------------------------ function conult_widgets_init() { register_sidebar(array( 'name' => esc_html__('Default Sidebar', 'conult'), 'id' => 'default_sidebar', 'description' => esc_html__('Appears in the Default Sidebar section of the site.', 'conult'), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', )); if(class_exists('WooCommerce')){ register_sidebar( array( 'name' => esc_html__('WooCommerce Shop Sidebar', 'conult'), 'id' => 'woocommerce_sidebar', 'description' => esc_html__('Appears in the Plugin WooCommerce section of the site.', 'conult'), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', )); } register_sidebar(array( 'name' => esc_html__('After Offcanvas Mobile', 'conult'), 'id' => 'offcanvas_sidebar_mobile', 'description' => esc_html__('Appears in the Offcanvas section of the site.', 'conult'), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', )); } add_action('widgets_init', 'conult_widgets_init'); function conult_fonts_url() { $fonts_url = ''; $fonts = array(); $subsets = ''; $protocol = is_ssl() ? 'https' : 'http'; if('off' !== _x('on', 'DM Sans font: on or off', 'conult')){ $fonts[] = 'DM+Sans:ital,wght@0,400;0,500;0,700'; } if($fonts){ $fonts_url = add_query_arg( array( 'family' => (implode('&family=', $fonts)), 'display' => 'swap', ), $protocol.'://fonts.googleapis.com/css2'); } return $fonts_url; } function conult_custom_styles() { $custom_css = get_option('conult_theme_custom_styles'); if($custom_css){ wp_enqueue_style( 'conult-custom-style', CONULT_THEME_URL . '/assets/css/custom_script.css' ); wp_add_inline_style('conult-custom-style', $custom_css); } } add_action('wp_enqueue_scripts', 'conult_custom_styles', 9999); function conult_init_scripts(){ global $post; $protocol = is_ssl() ? 'https' : 'http'; if ( is_singular() && comments_open() && get_option('thread_comments') ){ wp_enqueue_script('comment-reply'); } $theme = wp_get_theme('conult'); $theme_version = $theme['Version']; wp_enqueue_style('conult-fonts', conult_fonts_url(), array(), null ); wp_enqueue_script('bootstrap', CONULT_THEME_URL . '/assets/js/bootstrap.min.js', array('jquery') ); wp_enqueue_script('jquery-magnific-popup', CONULT_THEME_URL . '/assets/js/magnific/jquery.magnific-popup.min.js'); wp_enqueue_script('jquery-cookie', CONULT_THEME_URL . '/assets/js/jquery.cookie.js', array('jquery')); wp_enqueue_script('swiper', CONULT_THEME_URL . '/assets/js/swiper/swiper.min.js'); wp_enqueue_script('jquery-appear', CONULT_THEME_URL . '/assets/js/jquery.appear.js'); wp_enqueue_script('conult-main', CONULT_THEME_URL . '/assets/js/main.js', array('imagesloaded', 'jquery-masonry')); wp_enqueue_style('dashicons'); wp_enqueue_style('swiper', CONULT_THEME_URL .'/assets/js/swiper/swiper.min.css'); wp_enqueue_style('magnific', CONULT_THEME_URL .'/assets/js/magnific/magnific-popup.css'); wp_enqueue_style('fontawesome', CONULT_THEME_URL . '/assets/css/fontawesome/css/all.min.css'); wp_enqueue_style('line-awesome', CONULT_THEME_URL . '/assets/css/line-awesome/css/line-awesome.min.css'); wp_enqueue_style('conult-style', CONULT_THEME_URL . '/style.css'); wp_enqueue_style('bootstrap', CONULT_THEME_URL . '/assets/css/bootstrap.css', array(), $theme_version , 'all'); wp_enqueue_style('conult-template', CONULT_THEME_URL . '/assets/css/template.css', array(), $theme_version , 'all'); //Woocommerce if(class_exists('WooCommerce')){ wp_enqueue_style('conult-woocoomerce', CONULT_THEME_URL . '/assets/css/woocommerce.css', array(), $theme_version , 'all'); wp_dequeue_script('wc-add-to-cart'); wp_enqueue_script('wc-add-to-cart', CONULT_THEME_URL . '/assets/js/add-to-cart.js' , array('jquery')); } } add_action('wp_enqueue_scripts', 'conult_init_scripts', 999);
Fatal error: Uncaught Error: Call to undefined function conult_get_options() in /home2/contiuht/public_html/wp-content/themes/conult/header-default.php:11 Stack trace: #0 /home2/contiuht/public_html/wp-includes/template.php(812): require() #1 /home2/contiuht/public_html/wp-includes/template.php(745): load_template('/home2/contiuht...', false, Array) #2 /home2/contiuht/public_html/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #3 /home2/contiuht/public_html/wp-content/themes/conult/header.php(18): get_template_part('header', 'default') #4 /home2/contiuht/public_html/wp-includes/template.php(810): require_once('/home2/contiuht...') #5 /home2/contiuht/public_html/wp-includes/template.php(745): load_template('/home2/contiuht...', true, Array) #6 /home2/contiuht/public_html/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #7 /home2/contiuht/public_html/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(9): get_header() #8 /home2/contiuht/public_html/wp-includes/template-loader.php(106): include('/home2/contiuht...') #9 /home2/contiuht/public_html/wp-blog-header.php(19): require_once('/home2/contiuht...') #10 /home2/contiuht/public_html/index.php(17): require('/home2/contiuht...') #11 {main} thrown in /home2/contiuht/public_html/wp-content/themes/conult/header-default.php on line 11