'Sidebar',
'name' => __( 'Sidebar', 'Blackskyline' ),
'description' => __( 'This is the primary widget in the sidebar, it´s placed in the right column' ),
'before_widget' => '
',
'after_widget' => '',
'before_title' => '',
));
/* Register the sidebar in the footer, position 'left'. */
register_sidebar(
array(
'id' => 'footer_left',
'name' => __( 'Footer (Left side)', 'Blackskyline' ),
'description' => __( 'This is the first widget in the footer, it´s placed in the left column' ),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
)
);
/* Register the sidebar in the footer, position 'center'. */
register_sidebar(
array(
'id' => 'footer_center',
'name' => __( 'Footer (Center)', 'Blackskyline' ),
'description' => __( 'This is the second widget in the footer, it´s placed in the center column' ),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
)
);
/* Register the sidebar in the footer, position 'right'. */
register_sidebar(
array(
'id' => 'footer_right',
'name' => __( 'Footer (Right side)', 'Blackskyline' ),
'description' => __( 'This is the third widget in the footer, it´s placed in the right column' ),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
)
);
}
?>
__( 'Main menu', 'Blackskyline'),
'top-menu' => __( 'Top Menu', 'Blackskyline' ),
));
}
add_action( 'init', 'Blackskyline_register_my_menus' );
}
// Make theme available for translation
// Translations can be filed in the /languages/ directory
load_theme_textdomain( 'Blackskyline', TEMPLATEPATH . '/languages' );
$locale = get_locale();
$locale_file = TEMPLATEPATH . "/languages/$locale.php";
if ( is_readable( $locale_file ) )
require_once( $locale_file );
if ( ! function_exists( 'Blackskyline_comment' ) ) :
/*Comment function */
function Blackskyline_comment( $comment, $args, $depth ) {
$GLOBALS['comment'] = $comment;
switch ( $comment->comment_type ) :
case '' :
?>
id="li-comment-">