Skip to content

Instantly share code, notes, and snippets.

@dmtrmrv
Created July 20, 2017 11:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmtrmrv/d188968afd6cebf8414e3d62a32bcdac to your computer and use it in GitHub Desktop.
Save dmtrmrv/d188968afd6cebf8414e3d62a32bcdac to your computer and use it in GitHub Desktop.
Regular Expression Test
/**
* 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