'',
'random-default' => false,
'width' => 300,
'height' => 60,
'flex-height' => true,
'flex-width' => true,
'default-text-color' => '',
'header-text' => false,
'uploads' => true,
'wp-head-callback' => '',
'admin-head-callback' => '',
'admin-preview-callback' => '',
);
// Support for custom header
add_theme_support( 'custom-header', $args );
// Support for custom background
add_theme_support( 'custom-background', $args );
// Thumbnail Support
add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size( 920, 0, TRUE );
// Widgets area
register_sidebar( array(
'name' => __( 'Right Sidebar: Global', 'basicco'),
'id' => 'global-right-column',
'description' => __( 'This is a widget area positioned in the top of the right sidebar. If you put something here, appear throughout the site.' , 'basicco'),
'before_widget' => '
',
'after_widget' => '',
'before_title' => '',
) );
register_sidebar( array(
'name' => __( 'Right Sidebar: Home', 'basicco'),
'id' => 'front-page-right-column',
'description' => __( 'This is the second widget area on the right sidebar. What to put here will only appear on the homepage.' , 'basicco'),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
) );
register_sidebar( array(
'name' => __( 'Right Sidebar: Single Post', 'basicco'),
'id' => 'posts-right-column',
'description' => __( 'This is the second widget area on the right sidebar. What to put here appear only in single posts.' , 'basicco'),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
) );
register_sidebar( array(
'name' => __( 'Right Sidebar: Page', 'basicco'),
'id' => 'pages-right-column',
'description' => __( 'This is the second widget area on the right sidebar. What to put here will appear only on static pages,
but does not appear on a page that you put as homepage.' , 'basicco'),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
) );
register_sidebar( array(
'name' => __( 'Right Sidebar: Fallback', 'basicco'),
'id' => 'fallback-right-column',
'description' => __( 'This is the second widget area on the right sidebar for fallback.' , 'basicco'),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
) );
// Comments
function custom_comments($comment, $args, $depth) {
$GLOBALS['comment'] = $comment;
$GLOBALS['comment_depth'] = $depth;
?>