__( 'Header Navigation', 'austria' ), ) ); // This theme allows users to set a custom background add_custom_background(); // Your changeable header business starts here if ( ! defined( 'HEADER_TEXTCOLOR' ) ) define( 'HEADER_TEXTCOLOR', '' ); // No CSS, just IMG call. The %s is a placeholder for the theme template directory URI. if ( ! defined( 'HEADER_IMAGE' ) ) define( 'HEADER_IMAGE', '%s/images/headers/harald.jpg' ); // The height and width of your custom header. You can hook into the theme's own filters to change these values. // Add a filter to austria_header_image_width and austria_header_image_height to change these values. define( 'HEADER_IMAGE_WIDTH', apply_filters( 'austria_header_image_width', 940 ) ); define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'austria_header_image_height', 244 ) ); // We'll be using post thumbnails for custom header images on posts and pages. // We want them to be 940 pixels wide by 244 pixels tall. // Larger images will be auto-cropped to fit, smaller ones will be ignored. See header.php. set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true ); // Don't support text inside the header image. if ( ! defined( 'NO_HEADER_TEXT' ) ) define( 'NO_HEADER_TEXT', true ); // Add a way for the custom header to be styled in the admin panel that controls // custom headers. See austria_admin_header_style(), below. add_custom_image_header( '', 'austria_admin_header_style' ); // ... and thus ends the changeable header business. // Default custom headers packaged with the theme. %s is a placeholder for the theme template directory URI. register_default_headers( array( 'harald' => array( 'url' => '%s/images/headers/harald.jpg', 'thumbnail_url' => '%s/images/headers/harald-thumbnail.jpg', /* translators: header image description */ 'description' => __( 'Austria theme', 'austria' ) ) ) ); } endif; add_action('after_setup_theme', 'austria_setup'); if ( ! function_exists( 'austria_admin_header_style' ) ) : /** * Styles the header image displayed on the Appearance > Header admin panel. * * Referenced via add_custom_image_header() in austria_setup(). * * @since Twenty Ten 1.0 */ function austria_admin_header_style() { ?> __( 'Austrian Widget Area', 'austria' ), 'id' => 'austrian-widget-area', 'description' => __( 'The Austrian widget area', 'austria' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); } add_action('widgets_init', 'my_austrian_sidebar'); if ( ! function_exists( 'austria_content_nav' ) ) : /** * Display navigation to next/previous pages when applicable */ function austria_content_nav( $nav_id ) { global $wp_query; if ( $wp_query->max_num_pages > 1 ) : ?> comment_type ) : case 'pingback' : case 'trackback' : ?>
  • ', '' ); ?>

  • id="li-comment-">
    comment_parent ) $avatar_size = 39; echo get_avatar( $comment, $avatar_size ); /* translators: 1: comment author, 2: date and time */ printf( __( '%1$s on %2$s said:', 'austria' ), sprintf( '%s', get_comment_author_link() ), sprintf( '', esc_url( get_comment_link( $comment->comment_ID ) ), get_comment_time( 'c' ), /* translators: 1: date, 2: time */ sprintf( __( '%1$s at %2$s', 'austria' ), get_comment_date(), get_comment_time() ) ) ); ?> ', '' ); ?>
    comment_approved == '0' ) : ?>
    __( 'Reply ', 'austria' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>