<?php /** * The `kadence()` function. * * @package kadence */ namespace Kadence; use Kadence\Template_Tags; use Kadence\Theme; use function get_template_directory; /** * Provides access to all available template tags of the theme. * * When called for the first time, the function will initialize the theme. * * @return Template_Tags Template tags instance exposing template tag methods. */ function kadence() : Template_Tags { static $theme = null; if ( null === $theme ) { $theme = Theme::instance(); } return $theme->template_tags(); } // Load the CSS class. require get_template_directory() . '/inc/class-kadence-css.php'; // Load the Local Font class. require get_template_directory() . '/inc/class-local-gfonts.php'; // Load the Customizer class. require get_template_directory() . '/inc/customizer/class-theme-customizer.php'; // Load Settings Page Class. require get_template_directory() . '/inc/dashboard/class-theme-dashboard.php'; // Load the Meta class. require get_template_directory() . '/inc/meta/class-theme-meta.php'; // Load the template functions. require get_template_directory() . '/inc/template-functions/header-functions.php'; require get_template_directory() . '/inc/template-functions/title-functions.php'; require get_template_directory() . '/inc/template-functions/single-functions.php'; require get_template_directory() . '/inc/template-functions/footer-functions.php'; require get_template_directory() . '/inc/template-functions/archive-functions.php'; // Load the template hooks. require get_template_directory() . '/inc/template-hooks.php';
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
components | Folder | 0755 |
|
|
customizer | Folder | 0755 |
|
|
dashboard | Folder | 0755 |
|
|
meta | Folder | 0755 |
|
|
template-functions | Folder | 0755 |
|
|
back-compat.php | File | 2.87 KB | 0644 |
|
class-kadence-css.php | File | 43.6 KB | 0644 |
|
class-local-gfonts.php | File | 19.61 KB | 0644 |
|
class-theme.php | File | 9.15 KB | 0644 |
|
functions.php | File | 1.56 KB | 0644 |
|
template-hooks.php | File | 6.76 KB | 0644 |
|
wordpress-shims.php | File | 519 B | 0644 |
|