2 ) && $parts[0] == 'Widget' && $parts[1] == 'Newspaper' ) { $path = get_template_directory() . '/inc/libraries/widgets/' . strtolower( $bind ) . '/class-' . strtolower( $bind ) . '.php'; if ( file_exists( $path ) ) { require_once $path; } } } } $autoloader = new Newspaper_X_Autoloader();