Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I don't see in my custom theme any option for uploading the header image (although there is a code for it in the header)
Do I need to register it somehow?

Also, I have a specific size I want to implement, is it possible to hard-crop the header image on upload? (I want it to be cropped, not resized with CSS)

Solution I found:

I used custom_header_support

$custom_header_support = array(
    'width' => 260,
    'height' => 300,
    'header-text' => false,
);

add_theme_support( 'custom-header', $custom_header_support );
share|improve this question
    
Re: uploading header in custom theme: what code do you have? :::::: Re: hard crop: are there so many header images? Why don't you crop it in Photoshop? –  brasofilo Jul 1 '12 at 20:09

1 Answer 1

I think you can do that by adding the function add_image_size in your functions.php file of the theme folder.

Read more on how to add add_image_size here: http://codex.wordpress.org/Function_Reference/add_image_size

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.