• Resolved whits

    (@whits)


    I would like to remove the header image and just use text in that field, OR make the header image white and be able to have text on top of it. Might make more sense when you see my site…

    Is there any way to do this? I’ve poked around in the .php files and did nothing but mess things up.

    My WordPress site is at http://www.freshbornmarket.com/

    Thanks.

Viewing 1 replies (of 1 total)
  • theme Twenty Ten:
    in header.php, this is the code that shows the header image:

    <?php
    					// Check if this is a post or page, if it has a thumbnail, and if it's a big one
    					if ( is_singular() &&
    							has_post_thumbnail( $post->ID ) &&
    							( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) &&
    							$image[1] >= HEADER_IMAGE_WIDTH ) :
    						// Houston, we have a new header image!
    						echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
    					else : ?>
    						<img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />
    					<?php endif; ?>

    replace it with html tags and your text if you like.

Viewing 1 replies (of 1 total)

The topic ‘Text Instead of Header Image?’ is closed to new replies.