Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the debloat
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 /home/excipiqs/makeupfiles/wp-includes/functions.php on line 6121
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the jetpack
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 /home/excipiqs/makeupfiles/wp-includes/functions.php on line 6121
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the sphere-post-views
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 /home/excipiqs/makeupfiles/wp-includes/functions.php on line 6121
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the all-in-one-wp-migration
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 /home/excipiqs/makeupfiles/wp-includes/functions.php on line 6121
/**
* SmartMag Theme!
*
* This is the typical theme initialization file. Sets up the Bunyad Framework
* and the theme functionality.
*
* ----
*
* Other Code Locations:
*
* / - WordPress default template files.
* lib/ - Contains the core Bunyad framework files.
* inc/ - Functions & Classes: Helpers, Hooks, Objects.
* admin/ - Admin-only content.
* blocks/ - Several loops and components used in the theme.
* partials/ - Template parts (partials): Views & HTML.
* page-templates/ - Custom page templates.
*
* NOTE: If you're looking to edit HTML, look for default WordPress templates in
* top-level / and in partials/ folder. Use same location in a Child Theme.
*
*/
define('BUNYAD_THEME_VERSION', '10.1.0');
// Already initialized - some buggy plugin call?
if (class_exists('Bunyad_Core')) {
return;
}
/**
* Initialize Framework
*
* Include the Bunyad_Base and extend it using our theme-specific class.
*/
require_once get_theme_file_path('lib/bunyad.php');
require_once get_theme_file_path('inc/bunyad.php');
/**
* Main Theme File: Contains most theme-related functionality
*
* See file: inc/theme.php
*/
require_once get_theme_file_path('inc/theme.php');
// Fire up the theme - make available in Bunyad::get('theme')
Bunyad::register('theme', [
'class' => 'Bunyad_Theme_SmartMag',
'init' => true
]);
// Legacy compat: Alias
Bunyad::register('smart_mag', ['object' => Bunyad::get('theme')]);
/**
* Main Framework Configuration
*/
$bunyad = Bunyad::core()->init(apply_filters('bunyad_init_config', [
// Due to legacy compatibility, it's named smartmag without dash.
'theme_name' => 'smartmag',
// For retrieving meta values from core plugin.
'meta_prefix' => '_bunyad',
// Legacy compat.
'theme_version' => BUNYAD_THEME_VERSION,
// Widgets enabled.
'post_formats' => ['gallery', 'image', 'video', 'audio'],
// Sphere Core plugin components
'sphere_components' => [
'social-follow',
'breadcrumbs',
'auto-load-post',
'adblock-detect',
'elementor\layouts',
'elementor\dynamic-tags'
],
'customizer' => [
'font_aliases' => true
],
'add_sidebar_class' => false,
]));
Warning: Cannot modify header information - headers already sent by (output started at /home/excipiqs/makeupfiles/wp-content/themes/smart-mag/functions.php:1) in /home/excipiqs/makeupfiles/wp-includes/pluggable.php on line 1450
Warning: Cannot modify header information - headers already sent by (output started at /home/excipiqs/makeupfiles/wp-content/themes/smart-mag/functions.php:1) in /home/excipiqs/makeupfiles/wp-includes/pluggable.php on line 1453