Exemplo n.º 1
0
 static function setup()
 {
     load_theme_textdomain('myThemes');
     load_theme_textdomain('myThemes', get_template_directory() . '/media/languages');
     if (function_exists('load_child_theme_textdomain')) {
         load_child_theme_textdomain('myThemes');
     }
     add_editor_style();
     add_theme_support('custom-background', array('default-color' => 'ffffff', 'default-image' => ''));
     add_theme_support('automatic-feed-links');
     add_theme_support('post-thumbnails');
     if (function_exists('add_image_size')) {
         add_image_size('full-thumbnail', 1140, 410, true);
         add_image_size('grid-thumbnail', 555, 440, true);
     }
     header::setup();
 }
 static function setup()
 {
     global $content_width;
     if (!isset($content_width)) {
         $content_width = 1140;
     }
     add_theme_support('content-width', 1140);
     add_theme_support('custom-background', array('default-color' => 'ffffff', 'default-image' => ''));
     add_theme_support('automatic-feed-links');
     add_theme_support('post-thumbnails');
     load_theme_textdomain('myThemes');
     load_theme_textdomain('myThemes', get_template_directory() . '/media/languages');
     load_child_theme_textdomain('myThemes');
     add_editor_style();
     header::setup();
 }
Exemplo n.º 3
0
 static function setup()
 {
     global $content_width;
     $content_width = 1140;
     add_theme_support('content-width', $content_width);
     add_theme_support('custom-background', array('default-color' => '090909'));
     add_theme_support('automatic-feed-links');
     add_theme_support('post-thumbnails');
     load_theme_textdomain('myThemes');
     load_theme_textdomain('myThemes', get_template_directory() . '/media/languages');
     load_child_theme_textdomain('myThemes');
     add_editor_style();
     add_image_size('full-thumbnail', 1140, 410, true);
     add_image_size('grid-thumbnail', 555, 440, true);
     header::setup();
 }