/** * Functions */ $includes_path = TEMPLATEPATH . '/includes/'; include_once $includes_path . 'shortcode-setup.php'; include_once $includes_path . 'metaboxes-setup.php'; if (!session_id()) { session_start(); } include_once $includes_path . 'class.messages.php'; // include_once $includes_path.'roles_init.php'; // Education class! include_once $includes_path . 'education/education.class.php'; $education = new Education(); $education->registerHooks(); $education->registerStrings(); // init these only once: // $education->createTables(); // $education->initRoles(); // add_filter('pll_get_post_types', 'add_custom_post_types_which_will_become_translatable'); // function add_custom_post_types_which_will_become_translatable($types) { // return array_merge($types, array('bubble' => 'bubble')); // } // theme setup add_action('after_setup_theme', 'kcsite_theme_setup'); if (!function_exists('kcsite_theme_setup')) { function kcsite_theme_setup() { //define global static (hardcoded) vars global $staticVars;