Created
July 20, 2017 11:20
-
-
Save dmtrmrv/d188968afd6cebf8414e3d62a32bcdac to your computer and use it in GitHub Desktop.
Regular Expression Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The current version of the theme. | |
*/ | |
define( 'INTEGER_VERSION', '1.0.0' ); | |
/* Pro Start -----------------------------------------------------------------*/ | |
/** | |
* Load theme updater functions. | |
*/ | |
function integer_theme_updater() { | |
require( get_template_directory() . '/inc/updater/theme-updater.php' ); | |
} | |
add_action( 'after_setup_theme', 'integer_theme_updater' ); | |
/* Pro End -------------------------------------------------------------------*/ | |
/* Some more buggy code */ | |
/** | |
* Customizer settings. | |
*/ | |
require get_template_directory() . '/inc/customizer.php'; | |
/** | |
* Customizer Custom CSS. | |
*/ | |
require get_template_directory() . '/inc/customizer-custom-css.php'; | |
/** | |
* Load Jetpack compatibility file. | |
*/ | |
require get_template_directory() . '/inc/jetpack.php'; | |
/* Pro Start -----------------------------------------------------------------*/ | |
/** | |
* Theme Info Screen | |
*/ | |
if ( is_admin() ) { | |
require get_template_directory() . '/inc/theme-info-screen/theme-info-screen.php'; | |
} | |
/* Pro End -------------------------------------------------------------------*/ | |
/* Some more buggy code */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment