<?php

/**
 * Sophia Theme functions and definitions
 *
 * @link https://developer.wordpress.org/themes/basics/theme-functions/
 *
 * @package Sophia
 * @since 1.0.0
 */


/**
 * Theme setup and configuration
 */
require get_template_directory() . '/inc/theme-setup.php';

/**
 * Asset enqueuing
 */
require get_template_directory() . '/inc/enqueue-assets.php';

/**
 * Implement fallback logo with hidden default title
 */
require get_template_directory() . '/inc/fallback-logo.php';

/**
 * Block functionality
 */
require get_template_directory() . '/inc/block-patterns.php';
require get_template_directory() . '/inc/block-styles.php';
require get_template_directory() . '/inc/block-filters.php';

/**
 * Additional theme functionality
 */
require get_template_directory() . '/inc/icon-function.php';
require get_template_directory() . '/inc/about-theme.php';


/**
 * Include editor background override and font loading
 */
require_once get_template_directory() . '/inc/editor-background.php';
require_once get_template_directory() . '/inc/font-loader.php';

/**
 *  Redirect empty search queries (e.g., ?s= or ?s with no value) to homepage
 */
require_once get_template_directory() . '/inc/redirect-empty-search.php';
