PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/allinonecryptonews.kerihosting.com/wp-content/themes/supermag/acmethemes/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/allinonecryptonews.kerihosting.com/wp-content/themes/supermag/acmethemes/init.php

<?php
/**
 * Main include functions ( to support child theme )
 *
 * @since SuperMag 1.0.0
 *
 * @param string $file_path, path from the theme
 * @return string full path of file inside theme
 *
 */
if( !function_exists('supermag_file_directory') ){

    function supermag_file_directory( $file_path ){
        $located = locate_template( $file_path );
        if( '' != $located ){
            return $located;
        }
        return false;
    }
}

/**
 * Check empty or null
 *
 * @since SuperMag 1.0.0
 *
 * @param string $str, string
 * @return boolean
 *
 */
if( !function_exists('supermag_is_null_or_empty') ){
	function supermag_is_null_or_empty( $str ){
		return ( !isset($str) || trim($str)==='' );
	}
}

/*file for library*/
require_once supermag_file_directory('acmethemes/library/tgm/class-tgm-plugin-activation.php');

/*
* file for customizer theme options
*/
require_once supermag_file_directory('acmethemes/customizer/customizer.php');

/*
* file for additional functions files
*/
require_once supermag_file_directory('acmethemes/functions.php');

require_once supermag_file_directory('acmethemes/functions/header.php');

require_once supermag_file_directory('acmethemes/functions/sidebar-selection.php');

/*
* files for hooks
*/
require_once supermag_file_directory('acmethemes/hooks/tgm.php');

require_once supermag_file_directory('acmethemes/hooks/front-page.php');

require_once supermag_file_directory('acmethemes/hooks/slider-selection.php');

require_once supermag_file_directory('acmethemes/hooks/slider-side.php');

require_once supermag_file_directory('acmethemes/hooks/header.php');

require_once supermag_file_directory('acmethemes/hooks/social-links.php');

require_once supermag_file_directory('acmethemes/hooks/dynamic-css.php');

require_once supermag_file_directory('acmethemes/hooks/footer.php');

require_once supermag_file_directory('acmethemes/hooks/comment-forms.php');

require_once supermag_file_directory('acmethemes/hooks/excerpts.php');

require_once supermag_file_directory('acmethemes/hooks/related-posts.php');

require_once supermag_file_directory('acmethemes/hooks/siteorigin-panels.php');

require_once supermag_file_directory('acmethemes/hooks/acme-demo-setup.php');

/*WooCommerce*/
require_once supermag_file_directory('acmethemes/woocommerce/functions-woocommerce.php');

/*
* file for sidebar and widgets
*/
require_once supermag_file_directory('acmethemes/sidebar-widget/acme-ad.php');

require_once supermag_file_directory('acmethemes/sidebar-widget/acme-col-posts.php');

require_once supermag_file_directory('acmethemes/sidebar-widget/sidebar.php');

/*
* file for core functions imported from functions.php while downloading Underscores
*/
require_once supermag_file_directory('acmethemes/core.php');
require_once supermag_file_directory('acmethemes/gutenberg/gutenberg-init.php'); 

/**
 * Implement Custom Metaboxes
 */
require_once supermag_file_directory('acmethemes/metabox/metabox.php');

/**
 * Theme options page.
 */
if ( is_admin() ) {
    require_once supermag_file_directory('acmethemes/at-theme-info/class-at-theme-info.php');
    require_once supermag_file_directory('acmethemes/admin-notice/class-admin-notice-handler.php');
}