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_bak
<?php

/**
 * 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';