mirror of
https://github.com/woocommerce/storefront.git
synced 2025-08-21 04:11:59 +08:00
65 lines
No EOL
1.7 KiB
PHP
65 lines
No EOL
1.7 KiB
PHP
<?php
|
|
/**
|
|
* storefront engine room
|
|
*
|
|
* @package storefront
|
|
*/
|
|
|
|
/**
|
|
* Implement the Custom Header feature.
|
|
*/
|
|
require get_template_directory() . '/inc/customizer/custom-header.php';
|
|
|
|
/**
|
|
* Setup.
|
|
* Enqueue styles, register widget regions, etc.
|
|
*/
|
|
require get_template_directory() . '/inc/functions/setup.php';
|
|
|
|
/**
|
|
* Hooks.
|
|
* Template tags hooked into actions.
|
|
*/
|
|
require get_template_directory() . '/inc/structure/hooks.php';
|
|
|
|
/**
|
|
* Structure.
|
|
* Template functions used throughout the theme.
|
|
*/
|
|
require get_template_directory() . '/inc/structure/post.php';
|
|
require get_template_directory() . '/inc/structure/header.php';
|
|
require get_template_directory() . '/inc/structure/footer.php';
|
|
require get_template_directory() . '/inc/structure/comments.php';
|
|
require get_template_directory() . '/inc/structure/template-tags.php';
|
|
|
|
/**
|
|
* Custom functions that act independently of the theme templates.
|
|
*/
|
|
require get_template_directory() . '/inc/functions/extras.php';
|
|
|
|
/**
|
|
* Customizer additions.
|
|
*/
|
|
if ( current_theme_supports( 'storefront-customizer-settings' ) ) {
|
|
require get_template_directory() . '/inc/customizer/customizer.php';
|
|
}
|
|
|
|
/**
|
|
* Load Jetpack compatibility file.
|
|
*/
|
|
require get_template_directory() . '/inc/jetpack/jetpack.php';
|
|
|
|
/**
|
|
* Load welcome screen
|
|
*/
|
|
require get_template_directory() . '/inc/admin/welcome-screen.php';
|
|
|
|
/**
|
|
* Load WooCommerce compatibility files.
|
|
*/
|
|
if ( is_woocommerce_activated() ) {
|
|
require get_template_directory() . '/inc/woocommerce/hooks.php';
|
|
require get_template_directory() . '/inc/woocommerce/functions.php';
|
|
require get_template_directory() . '/inc/woocommerce/template-tags.php';
|
|
require get_template_directory() . '/inc/woocommerce/integrations.php';
|
|
} |