Skip to content

Instantly share code, notes, and snippets.

@richardegil
Created January 16, 2013 16:52
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 richardegil/4548756 to your computer and use it in GitHub Desktop.
Save richardegil/4548756 to your computer and use it in GitHub Desktop.
cpt
//sets definittions for base folder
define( 'TEMPLATE_URI', get_template_directory() );
define( 'TEMPLATE_INCLUDES', get_template_directory(). '/includes' );
//sets definititions for current theme folder
define( 'HOME_URI', home_url() );
define( 'THEME_URI', get_stylesheet_directory() );
define( 'THEME_INCLUDE', THEME_URI . '/includes' );
define( 'THEME_IMAGES', THEME_URI . '/images' );
define( 'THEME_CSS', THEME_URI . '/css' );
define( 'THEME_JS', THEME_URI . '/js' );
//includes cpt helper from base
include( TEMPLATE_INCLUDES . '/cuztom_helper/cuztom_helper.php' );
// Loading in the desired Custom Post Types from the base
// include( TEMPLATE_INCLUDES . '/cpt/faculty.php' );
// include( TEMPLATE_INCLUDES . '/cpt/clinic_locations.php' );
// include( TEMPLATE_INCLUDES . '/cpt/specialties.php' );
// include( TEMPLATE_INCLUDES . '/cpt/news.php' );
// include( TEMPLATE_INCLUDES . '/cpt/events.php' );
include( THEME_INCLUDE . '/cpt/documents.php' );
include( THEME_INCLUDE . '/cpt/physician.php' );
include( THEME_INCLUDE . '/cpt/departments.php' );
include( THEME_INCLUDE . '/cpt/specialties.php' );
include( THEME_INCLUDE . '/cpt/eom.php' );
include( THEME_INCLUDE . '/cpt/clinic-locations.php' );
include( THEME_INCLUDE . '/cpt/news.php' );
include( THEME_INCLUDE . '/cpt/training.php' );
include( THEME_INCLUDE . '/cpt/active-contracts.php' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment