__( 'Primary Navigation', 'anIMass' ), ) ); // This theme allows users to set a custom background add_custom_background(); // Your changeable header business starts here define( 'HEADER_TEXTCOLOR', '444444' ); // No CSS, just IMG call. The %s is a placeholder for the theme template directory URI. define( 'HEADER_IMAGE', '%s/images/headers/header.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 twentyten_header_image_width and twentyten_header_image_height to change these values. define( 'HEADER_IMAGE_WIDTH', apply_filters( 'anIMass_header_image_width', 860 ) ); define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'anIMass_header_image_height', 162 ) ); // We'll be using post thumbnails for custom header images on posts and pages. // We want them to be 940 pixels wide by 198 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 ); // Add a way for the custom header to be styled in the admin panel that controls // custom headers. See twentyten_admin_header_style(), below. add_custom_image_header( '', 'anIMass_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( 'mview' => array( 'url' => '%s/images/headers/mview.jpg', 'thumbnail_url' => '%s/images/headers/mview-thumbnail.jpg', /* translators: header image description */ 'description' => __( 'Mountain View', 'anIMass' ) ), 'anewday' => array( 'url' => '%s/images/headers/anewday.jpg', 'thumbnail_url' => '%s/images/headers/anewday-thumbnail.jpg', /* translators: header image description */ 'description' => __( 'A New Day', 'anIMass' ) ), 'dream-on' => array( 'url' => '%s/images/headers/dream-on.jpg', 'thumbnail_url' => '%s/images/headers/dream-on-thumbnail.jpg', /* translators: header image description */ 'description' => __( 'Dream-On', 'anIMass' ) ), 'pastValencia' => array( 'url' => '%s/images/headers/pastValencia.jpg', 'thumbnail_url' => '%s/images/headers/pastValencia-thumbnail.jpg', /* translators: header image description */ 'description' => __( 'Past Valencia', 'anIMass' ) ) ) ); } endif; if ( ! function_exists( 'anIMass_admin_header_style' ) ) : /** * Styles the header image displayed on the Appearance > Header admin panel. * * Referenced via add_custom_image_header() in anIMass_setup(). * * @since anIMass 7.0 */ function anIMass_admin_header_style() { ?> comment_type ) : case '' : ?>
  • id="li-comment-">
    says:', 'anIMass' ), sprintf( '%s', get_comment_author_link() ) ); ?>
    comment_approved == '0' ) : ?>
    $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>