front page progress

This commit is contained in:
Adam Piontek 2021-08-03 20:04:38 -04:00
parent 4e8c1c1917
commit 765073354c
10 changed files with 92 additions and 86 deletions

View file

@ -17,6 +17,12 @@ require_once( WP_RDNYC_DIR . '/custom-functions.php' );
/**
* Autoloader for browersync
*/
require_once( WP_RDNYC_DIR . '/vendor/autoload.php' );
\A7\autoload( __DIR__ . '/src' );
if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) {
require_once( WP_RDNYC_DIR . '/vendor/autoload.php' );
\A7\autoload( __DIR__ . '/src' );
} else {
require_once( WP_RDNYC_DIR . '/src/classes.php' );
require_once( WP_RDNYC_DIR . '/src/enqueue.php' );
require_once( WP_RDNYC_DIR . '/src/setup.php' );
require_once( WP_RDNYC_DIR . '/src/sidebars.php' );
}