Ejemplo n.º 1
0
<?php

define('TEMPL_FRAMWORK_CHANGE_LOG_PATH', 'http://templatic.com/updates/change_log.txt');
define('TEMPL_FRAMWORK_ZIP_FOLDER_PATH', 'http://templatic.com/updates/framework.zip');
define('TEMPL_FRAMWORK_CURRENT_VERSION', '1.0.2');
define('TT_FRAMEWORK_FOLDER_PATH', TT_ADMIN_FOLDER_PATH);
if (file_exists(TT_ADMIN_FOLDER_PATH . 'constants.php')) {
    include_once TT_ADMIN_FOLDER_PATH . 'constants.php';
    //ALL CONSTANTS FILE INTEGRATOR
}
include_once TT_ADMIN_FOLDER_PATH . 'functions/custom_functions.php';
include_once TT_ADMIN_FOLDER_PATH . 'functions/hooks.php';
include_once TT_ADMIN_FOLDER_PATH . 'functions/tpl_control.php';
//include_once (TT_ADMIN_FOLDER_PATH . 'breadcrumbs/yoast-canonical.php'); //BREAD CRUMS RELATED FILE FOR WP-ADMIN SETTINGS
include_once TT_ADMIN_FOLDER_PATH . 'breadcrumbs/yoast-breadcrumbs.php';
//BREAD CRUMS RELATED FILE FOR FRONT END
if (is_wp_admin()) {
    include_once TT_ADMIN_FOLDER_PATH . 'admin_menu.php';
    if ((strtolower(get_option('ptthemes_use_third_party_data')) == 'no' || !get_option('ptthemes_use_third_party_data')) && (strtolower(get_option('pttheme_seo_hide_fields')) == 'no' || !get_option('pttheme_seo_hide_fields'))) {
        include_once TT_ADMIN_FOLDER_PATH . 'seo_settings.php';
    }
    if (file_exists(TT_ADMIN_FOLDER_PATH . 'theme_options/option_settings.php')) {
        include_once TT_ADMIN_FOLDER_PATH . 'theme_options/option_settings.php';
    }
    if (file_exists(TT_ADMIN_FOLDER_PATH . 'theme_options/functions/functions.load.php')) {
        include_once TT_ADMIN_FOLDER_PATH . 'theme_options/functions/functions.load.php';
    }
}
Ejemplo n.º 2
0
}
if (file_exists(TT_MODULES_FOLDER_PATH . 'package/db_package.php')) {
    include_once TT_MODULES_FOLDER_PATH . 'package/db_package.php';
}
if (is_wp_admin() && file_exists(TT_MODULES_FOLDER_PATH . 'notifications/notification_functions.php')) {
    include_once TT_MODULES_FOLDER_PATH . 'notifications/notification_functions.php';
}
/********** Affiliates module *************/
if (is_wp_admin() && file_exists(TT_MODULES_FOLDER_PATH . 'affiliates/affiliates_function.php')) {
    include_once TT_MODULES_FOLDER_PATH . 'affiliates/affiliates_function.php';
}
/********** Affiliates module *************/
if (file_exists(TT_MODULES_FOLDER_PATH . 'manage_city/city_functions.php')) {
    include_once TT_MODULES_FOLDER_PATH . 'manage_city/city_functions.php';
}
if (is_wp_admin() && file_exists(TT_MODULES_FOLDER_PATH . 'bulk_upload/bulk_upload_function.php')) {
    include_once TT_MODULES_FOLDER_PATH . 'bulk_upload/bulk_upload_function.php';
}
if (file_exists(TT_MODULES_FOLDER_PATH . 'manage_custom_fields/db_mange_custom_fields.php')) {
    include_once TT_MODULES_FOLDER_PATH . 'manage_custom_fields/db_mange_custom_fields.php';
}
if (file_exists(TT_MODULES_FOLDER_PATH . 'registration/registration_functions.php')) {
    include_once TT_MODULES_FOLDER_PATH . 'registration/registration_functions.php';
}
if (file_exists(TT_MODULES_FOLDER_PATH . 'add_post/add_main.php')) {
    include_once TT_MODULES_FOLDER_PATH . 'add_post/add_main.php';
}
if (file_exists(TT_MODULES_FOLDER_PATH . 'report/function_report.php')) {
    include_once TT_MODULES_FOLDER_PATH . 'report/function_report.php';
}
if (file_exists(TT_MODULES_FOLDER_PATH . 'general_function.php')) {