Exemplo n.º 1
0
 function load_rttheme()
 {
     if (rt_check_WP_version()) {
         if (is_admin()) {
             add_action('admin_notices', $c = create_function('', 'echo "' . addcslashes($load_msg, '"') . '";'));
         } else {
             exit($load_msg);
         }
     } else {
         require_once get_template_directory() . '/rt-framework/classes/loading.php';
         $rttheme = new RTTheme();
         /*
          * 	 DO NOT CHANGE slug => "" !!! 
          */
         $rttheme->start(array('theme' => 'RT-THEME 18', 'slug' => 'rttheme18', 'version' => '1.0'));
     }
 }
Exemplo n.º 2
0
        echo $PHP_version_error;
        die;
    }
    function errorfunction()
    {
        global $PHP_version_error;
        echo $PHP_version_error;
    }
    return $load_msg;
}
# Define Content Width
if (!isset($content_width)) {
    $content_width = 606;
}
# Load the theme
if (rt_check_WP_version()) {
    if (is_admin()) {
        add_action('admin_notices', $c = create_function('', 'echo "' . addcslashes($load_msg, '"') . '";'));
    } else {
        exit($load_msg);
    }
} else {
    require_once get_template_directory() . '/rt-framework/classes/loading.php';
    $rttheme = new RTTheme();
    $rttheme->start(array('theme' => 'RT-THEME 17', 'slug' => 'rttheme', 'version' => '1.0'));
}
# Remove Google Fonts
class Disable_Google_Fonts
{
    public function __construct()
    {