31 lines
660 B
PHP
31 lines
660 B
PHP
<?php
|
|
/**
|
|
* Gustavo Portfolio theme bootstrap.
|
|
*
|
|
* @package Gustavo_Portfolio
|
|
*/
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit;
|
|
}
|
|
|
|
$gustavoo_portfolio_includes = array(
|
|
'/inc/defaults.php',
|
|
'/inc/setup.php',
|
|
'/inc/enqueue.php',
|
|
'/inc/template-tags.php',
|
|
'/inc/customizer.php',
|
|
'/inc/forms.php',
|
|
'/inc/widgets.php',
|
|
);
|
|
|
|
foreach ( $gustavoo_portfolio_includes as $gustavoo_portfolio_file ) {
|
|
$gustavoo_portfolio_path = get_theme_file_path( $gustavoo_portfolio_file );
|
|
|
|
if ( file_exists( $gustavoo_portfolio_path ) ) {
|
|
require_once $gustavoo_portfolio_path;
|
|
}
|
|
}
|
|
|
|
unset( $gustavoo_portfolio_file, $gustavoo_portfolio_includes, $gustavoo_portfolio_path );
|