This commit is contained in:
Matt Batchelder
2026-02-20 21:28:00 -05:00
commit 19ee98c68d
37 changed files with 9405 additions and 0 deletions

29
theme/functions.php Normal file
View File

@@ -0,0 +1,29 @@
<?php
/**
* Oribi Tech — Theme Bootstrap
*
* @package OTS_Theme
* @since 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'ORIBI_VERSION', wp_get_theme()->get( 'Version' ) );
define( 'ORIBI_DIR', get_template_directory() );
define( 'ORIBI_URI', get_template_directory_uri() );
/* ── Includes ──────────────────────────────────────────────── */
require_once ORIBI_DIR . '/inc/setup.php';
require_once ORIBI_DIR . '/inc/enqueue.php';
require_once ORIBI_DIR . '/inc/ajax.php';
/* ── Customisable design-token system ──────────────────────── */
require_once ORIBI_DIR . '/inc/theme-defaults.php';
require_once ORIBI_DIR . '/inc/font-manager.php';
require_once ORIBI_DIR . '/inc/theme-generator.php';
require_once ORIBI_DIR . '/inc/theme-settings.php';
/* ── Custom Blocks (render callbacks + editor assets) ──────── */
require_once ORIBI_DIR . '/blocks/index.php';