/** * Salient functions and definitions. * * @package Salient * @since 1.0 */ /** * Define Constants. */ define( 'NECTAR_THEME_DIRECTORY', get_template_directory() ); define( 'NECTAR_FRAMEWORK_DIRECTORY', get_template_directory_uri() . '/nectar/' ); define( 'NECTAR_THEME_NAME', 'salient' ); if ( ! function_exists( 'get_nectar_theme_version' ) ) { function nectar_get_theme_version() { return '18.1.1'; } } /** * Load text domain. */ add_action( 'after_setup_theme', 'nectar_lang_setup' ); if ( ! function_exists( 'nectar_lang_setup' ) ) { function nectar_lang_setup() { load_theme_textdomain( 'salient', get_template_directory() . '/lang' ); } } /** * General WordPress. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/wp-general.php'; /** * Get Salient theme options. */ function get_nectar_theme_options() { $legacy_options = get_option( 'salient' ); $current_options = get_option( 'salient_redux' ); if ( ! empty( $current_options ) && is_array($current_options) ) { return $current_options; } elseif ( ! empty( $legacy_options ) && is_array($legacy_options) ) { return $legacy_options; } else { return array(); } } $nectar_options = get_nectar_theme_options(); $nectar_get_template_directory_uri = get_template_directory_uri(); require_once NECTAR_THEME_DIRECTORY . '/includes/class-nectar-theme-manager.php'; /** * Register/Enqueue theme assets. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/icon-collections.php'; require_once NECTAR_THEME_DIRECTORY . '/includes/element-dynamic-styles/loader.php'; require_once NECTAR_THEME_DIRECTORY . '/includes/class-nectar-element-assets.php'; require_once NECTAR_THEME_DIRECTORY . '/includes/class-nectar-element-styles.php'; require_once NECTAR_THEME_DIRECTORY . '/includes/class-nectar-lazy.php'; require_once NECTAR_THEME_DIRECTORY . '/includes/class-nectar-delay-js.php'; require_once NECTAR_THEME_DIRECTORY . '/includes/class-nectar-login.php'; require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/enqueue-scripts.php'; require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/enqueue-styles.php'; require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/dynamic-styles.php'; /** * Salient Plugin notices. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/plugin-notices/salient-plugin-notices.php'; /** * Salient welcome page. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/welcome/welcome-page.php'; /** * Theme hooks & actions. */ function nectar_hooks_init() { require_once NECTAR_THEME_DIRECTORY . '/nectar/hooks/hooks.php'; require_once NECTAR_THEME_DIRECTORY . '/nectar/hooks/actions.php'; } add_action( 'after_setup_theme', 'nectar_hooks_init', 10 ); /** * Post category meta. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/meta/category-meta.php'; /** * Media and theme image sizes. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/media.php'; /** * Navigation menus */ require_once NECTAR_THEME_DIRECTORY . '/nectar/assets/functions/wp-menu-custom-items/menu-item-custom-fields.php'; require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/nav-menus.php'; /** * TGM Plugin inclusion. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/tgm-plugin-activation/class-tgm-plugin-activation.php'; require_once NECTAR_THEME_DIRECTORY . '/nectar/tgm-plugin-activation/required_plugins.php'; require_once NECTAR_THEME_DIRECTORY . '/nectar/tgm-plugin-activation/class-salient-plugin-updates.php'; /** * WPBakery functionality. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/wpbakery-init.php'; /** * Theme skin specific class and assets. */ $nectar_theme_skin = NectarThemeManager::$skin; $nectar_header_format = ( ! empty( $nectar_options['header_format'] ) ) ? $nectar_options['header_format'] : 'default'; add_filter( 'body_class', 'nectar_theme_skin_class' ); function nectar_theme_skin_class( $classes ) { global $nectar_theme_skin; $classes[] = $nectar_theme_skin; return $classes; } function nectar_theme_skin_css() { global $nectar_theme_skin; wp_enqueue_style( 'skin-' . $nectar_theme_skin ); } add_action( 'wp_enqueue_scripts', 'nectar_theme_skin_css' ); /** * Search related. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/search.php'; /** * Register Widget areas. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/widget-related.php'; /** * Header navigation helpers. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/header.php'; /** * Blog helpers. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/blog.php'; /** * Page helpers. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/page.php'; require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/footer.php'; /** * Theme options panel (Redux). */ require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/redux-salient.php'; /** * WordPress block editor helpers (Gutenberg). */ require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/gutenberg.php'; /** * Admin assets. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/admin-enqueue.php'; /** * Pagination Helpers. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/pagination.php'; /** * Page header. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/page-header.php'; /** * Third party. */ require_once NECTAR_THEME_DIRECTORY . '/includes/third-party-integrations/class-salient-third-party.php'; require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/wpml.php'; require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/woocommerce.php'; /** * v10.5 update assist. */ require_once NECTAR_THEME_DIRECTORY . '/nectar/helpers/update-assist.php'; Namaa InfoLogistics https://validator.w3.org/feed/docs/rss2.html Mother your children are like birds Home Как правильные личные данные влияют на регистрацию в Pin Up? adobe generative ai 1 “offizielles Plinko In Deutschland Spielen 97, 56 % Rtp Pin Up Maksimum Uduş Limiti və İdman Mərc Strategiyaları Anlayış: Mostbet az lisenziya məlumatları – Əsas Aspektlərin İzahı Техники курирования контента с использованием принципов 1вин Использование аффирмаций для достижения вашей главной цели De beste online casino welkomstbonussen maart 2026 Путь от сомнений к вашей главной победе SpinCity signs with Flows Azur Slot Casino Review 2026 Bonus, Free Spins & Games Best Online Casinos in the UK 2026 15 Expert-Rated Sites Goldenbet Casino Review And Free Chips Bonus Help We regret to inform you that your IP address has been blocked Изучение живых казино 1win для максимального удовольствия Как интерактивный контент улучшает опыт использования 1win Понимание Условий и Положений Казино 1win Darmowe Gry Hazardowe w Polsce Najlepszy Gry Maszyny za Darmo Testosterone Cypionate 200 Dosierung: Was Sie Wissen Sollten New Slots 2026 Play Casino Slot Games & Slot Machines Live Baccarat Best Live Casino Games Online Casino Betway Play Casino Games Online Kazino loyallıq proqramlarının təkamülü The Future of Casino Loyalty Programs 1xbet зеркало: Переход от настольного к мобильному опыту Вывод денег из Пин Ап: полный гид по возможностям платформы Największe skandale związane z zakładami e-sportowymi w historii Kazino loyallıq proqramlarının təkamülü Скачать Pin Up: честный разбор функционала и возможностей официального сайта Die Zukunft der Live-Dealer-Casinos news Tryst Hyperlink Usa Discover Independent Escorts Differenze nei Cicli di Perdita di Grasso negli Atleti più Anziani best name for dog 77 New Netent Games Not On Gamstop Welcome Bonus Offers This Month Как выигрывать с Pin Up спорт и ставками на реальное время Mejores casinos online Chile 2025: juega con dinero real Лучшие практики ответственного использования 1win вход Najlepsze praktyki korzystania z aplikacji Mostbet z zachowaniem bezpieczeństwa Is Mostbet Aplikacja Safe for Online Betting? рост мобильных казино в индустрии азартных игр The Evolution of Casino Loyalty Programs Казино адалдық бағдарламаларының эволюциясы Официальный сайт Pin Up Казахстан: ставьте на свежие линии ставок Kde najít nové české online casino s nejlepším zákaznickým servisem? Официальный сайт Pin Up Казахстан: ставьте на свежие линии ставок The Founding of YouTube A Short History Bettor mərc qoyun zamanı risklərin idarəsi üçün ən yaxşı strategiyalar