This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
understrap/functions.php

81 lines
1.5 KiB
PHP
Raw Normal View History

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.
*/
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';
/**
* 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';
/**
* Custom Comments file.
*/
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.
*/
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';