2014-12-10 11:36:38 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2016-11-21 18:47:05 +00:00
|
|
|
* Understrap functions and definitions
|
2014-12-10 11:36:38 +00:00
|
|
|
*
|
|
|
|
* @package understrap
|
|
|
|
*/
|
|
|
|
|
2018-09-10 21:59:04 +00:00
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
|
|
exit; // Exit if accessed directly.
|
|
|
|
}
|
|
|
|
|
2017-12-01 13:32:22 +00:00
|
|
|
/**
|
|
|
|
* Initialize theme default settings
|
|
|
|
*/
|
|
|
|
require get_template_directory() . '/inc/theme-settings.php';
|
|
|
|
|
2014-12-10 11:36:38 +00:00
|
|
|
/**
|
|
|
|
* Theme setup and custom theme supports.
|
|
|
|
*/
|
|
|
|
require get_template_directory() . '/inc/setup.php';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Register widget area.
|
|
|
|
*/
|
|
|
|
require get_template_directory() . '/inc/widgets.php';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enqueue scripts and styles.
|
|
|
|
*/
|
2014-12-11 16:41:11 +00:00
|
|
|
require get_template_directory() . '/inc/enqueue.php';
|
2014-12-10 11:36:38 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Custom template tags for this theme.
|
|
|
|
*/
|
|
|
|
require get_template_directory() . '/inc/template-tags.php';
|
|
|
|
|
2016-11-23 09:42:53 +00:00
|
|
|
/**
|
2018-03-29 22:49:31 +00:00
|
|
|
* Custom pagination for this theme.
|
2016-11-23 09:42:53 +00:00
|
|
|
*/
|
|
|
|
require get_template_directory() . '/inc/pagination.php';
|
|
|
|
|
2018-08-09 20:00:43 +00:00
|
|
|
/**
|
|
|
|
* Custom hooks.
|
|
|
|
*/
|
|
|
|
require get_template_directory() . '/inc/hooks.php';
|
|
|
|
|
2014-12-10 11:36:38 +00:00
|
|
|
/**
|
|
|
|
* Custom functions that act independently of the theme templates.
|
|
|
|
*/
|
|
|
|
require get_template_directory() . '/inc/extras.php';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Customizer additions.
|
|
|
|
*/
|
|
|
|
require get_template_directory() . '/inc/customizer.php';
|
|
|
|
|
2015-03-31 14:17:52 +00:00
|
|
|
/**
|
2017-10-03 08:18:29 +00:00
|
|
|
* Custom Comments file.
|
2015-03-31 14:17:52 +00:00
|
|
|
*/
|
|
|
|
require get_template_directory() . '/inc/custom-comments.php';
|
|
|
|
|
2014-12-10 11:36:38 +00:00
|
|
|
/**
|
|
|
|
* Load Jetpack compatibility file.
|
|
|
|
*/
|
|
|
|
require get_template_directory() . '/inc/jetpack.php';
|
|
|
|
|
|
|
|
/**
|
2016-11-21 18:47:05 +00:00
|
|
|
* Load custom WordPress nav walker.
|
|
|
|
*/
|
2018-04-16 21:28:31 +00:00
|
|
|
require get_template_directory() . '/inc/class-wp-bootstrap-navwalker.php';
|
2015-09-09 08:58:25 +00:00
|
|
|
|
|
|
|
/**
|
2016-11-21 18:47:05 +00:00
|
|
|
* Load WooCommerce functions.
|
|
|
|
*/
|
2017-01-17 23:04:04 +00:00
|
|
|
require get_template_directory() . '/inc/woocommerce.php';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Load Editor functions.
|
|
|
|
*/
|
|
|
|
require get_template_directory() . '/inc/editor.php';
|