2014-12-10 11:36:38 +00:00
< ? php
/**
2019-07-18 16:21:25 +00:00
* UnderStrap functions and definitions
2014-12-10 11:36:38 +00:00
*
* @ package understrap
*/
2019-06-20 08:57:12 +00:00
// Exit if accessed directly.
defined ( 'ABSPATH' ) || exit ;
2018-09-10 21:59:04 +00:00
2018-09-12 11:27:29 +00:00
$understrap_includes = array (
'/theme-settings.php' , // Initialize theme default settings.
'/setup.php' , // Theme setup and custom theme supports.
'/widgets.php' , // Register widget area.
'/enqueue.php' , // Enqueue scripts and styles.
'/template-tags.php' , // Custom template tags for this theme.
'/pagination.php' , // Custom pagination for this theme.
'/hooks.php' , // Custom hooks.
'/extras.php' , // Custom functions that act independently of the theme templates.
'/customizer.php' , // Customizer additions.
'/custom-comments.php' , // Custom Comments file.
'/jetpack.php' , // Load Jetpack compatibility file.
2019-10-30 10:16:58 +00:00
'/class-wp-bootstrap-navwalker.php' , // Load custom WordPress nav walker. Trying to get deeper navigation? Check out: https://github.com/understrap/understrap/issues/567
2018-09-12 11:27:29 +00:00
'/woocommerce.php' , // Load WooCommerce functions.
'/editor.php' , // Load Editor functions.
2019-01-28 23:05:11 +00:00
'/deprecated.php' , // Load deprecated functions.
2018-09-12 11:27:29 +00:00
);
foreach ( $understrap_includes as $file ) {
2019-07-30 20:30:15 +00:00
require_once get_template_directory () . '/inc' . $file ;
2018-09-12 11:27:29 +00:00
}