Initial commit: gustavoo portfolio project
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?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 );
|
||||
Reference in New Issue
Block a user