function __construct() { parent::__construct(); $this->theme_info = $this->theme_cfg(); $this->prefix = $this->theme_info['prefix']; define('TF_THEME_PREFIX', $this->prefix); $this->load_developer_settings(); $this->mods_version = $this->theme_info['mods_version']; $this->theme_version = $this->theme_info['theme_version']; $custom_theme_name = get_option($this->prefix . '_theme_display_name'); //$this->disabled_extensions = $this->theme_info['disabled_extensions']; $this->theme_name = $custom_theme_name != '' ? $custom_theme_name : $this->theme_info['theme_name']; $this->author_name = $this->theme_info['author_name']; $this->theme_author = $this->theme_info['theme_author']; $this->forum_url = $this->theme_info['forum_url']; $this->manual_url = $this->theme_info['manual_url']; $this->action = !empty($_REQUEST['action']) ? strtolower(trim(strip_tags($_REQUEST['action']))) : ''; $this->page = !empty($_REQUEST['page']) ? strtolower(trim(strip_tags($_REQUEST['page']))) : ''; $this->taxonomy = !empty($_REQUEST['taxonomy']) ? strtolower(trim(strip_tags($_REQUEST['taxonomy']))) : ''; $this->redirect_after_activation(); #do some actions when theme is loaded do_action($this->prefix . "_preinit"); do_action("themefuse_preinit"); $this->add_js_constants(); }
public function __construct() { parent::__construct(); $this->template_directory = str_replace('//', '/', str_replace('\\', '/', get_template_directory())); $this->template_directory_uri = get_template_directory_uri(); $this->stylesheet_directory = str_replace('//', '/', str_replace('\\', '/', get_stylesheet_directory())); $this->stylesheet_directory_uri = get_stylesheet_directory_uri(); }
function __construct() { parent::__construct(); // Hack: Remove bloginfo_rss('name') form title because SEO maybe allready added it $this->bloginfo_rss_name = ''; ob_start(); bloginfo_rss('name'); $this->bloginfo_rss_name = ob_get_clean(); }
function __construct() { parent::__construct(); $this->wp_option = TF_THEME_PREFIX . '_tfuse_newsletter'; }
function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->magic_quotes_gpc = get_magic_quotes_gpc(); }
function __construct() { parent::__construct(); $this->wp_option = TF_THEME_PREFIX . '_tfuse_framework_options'; }
public function __construct() { parent::__construct(); $this->get_available_extensions(); }
function __construct() { parent::__construct(); $this->wp_option = TF_THEME_PREFIX . '_tfuse_sidebars'; }
public function __construct() { parent::__construct(); //$this->check_url = 'http://' . $_SERVER['HTTP_HOST'] . '/wp-updater/'; $this->check_url = 'http://themefuse.com/update-themes/'; }
function __construct() { parent::__construct(); $this->wp_option_general = TF_THEME_PREFIX . '_tfuse_reservation_form_general'; }
function __construct() { parent::__construct(); $this->wp_option = TF_THEME_PREFIX . '_tfuse_contact_forms'; $this->wp_option_general = TF_THEME_PREFIX . '_tfuse_contact_form_general'; }
function __construct() { parent::__construct(); //$this->framework=&get_instance(); }
function __construct() { parent::__construct(); $this->wp_option = TF_THEME_PREFIX . '_tfuse_slider'; include_once ABSPATH . 'wp-admin/includes/theme.php'; }