<?php
/**
 * ALFASMART theme bootstrap.
 *
 * @package ALFASMART
 */

if (! defined('ABSPATH')) {
    exit;
}

$alfasmart_includes = array(
    'functions/navwalker.php',
    'functions/excerpt.php',
    'functions/helpers.php',
    'functions/theme-setup.php',
    'functions/enqueue.php',
    'functions/custom-post-types.php',
    'functions/acf-options.php',
    'functions/polylang.php',
    'functions/admin-customization.php',
    'functions/content-seeder.php',
    'functions/comment-function.php',
);

foreach ($alfasmart_includes as $alfasmart_include) {
    $alfasmart_path = get_template_directory() . '/' . $alfasmart_include;

    if (file_exists($alfasmart_path)) {
        require_once $alfasmart_path;
    }
}
