Title: Theme Dev, Custom Header, Default Image
Last modified: August 22, 2016

---

# Theme Dev, Custom Header, Default Image

 *  [RivardIT](https://wordpress.org/support/users/rivardit/)
 * (@rivardit)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/theme-dev-custom-header-default-image/)
 * Either I’ve found a gaping bug in WordPress or I’m doing something wrong (presumably
   the latter). I’m developing a theme and experimenting with various customization
   options. I’m having trouble getting the default_image to behave as I expect it
   to for custom headers.
 * Here are the steps I take:
    1. (in my theme code) I include `add_theme_support('
   custom_header', $args)` and in my `$args` there is a `default_image` specified.
   2. (in the dashboard) I activate the theme and there’s my default image. So far
   so good. 3. I customize and say to Hide Image, click Save and Publish. Now the
   image is gone. Excellent. 4. I customize again and this time I click Suggested
   Image. I click Save and Publish and there – in my preview – is the default image
   back again. 5. I close the customization and look at the site. Or, I open the
   customization again. Either way, the default graphic is not saved.
 * I figured I would find a theme that does it right to find out what I was doing
   wrong. So I used the Feature Filter to find only themes that had a custom header,
   and selected several which appeared to have a masthead graphic.
 * Every theme I tried had a default image set. And every theme I tried behaved 
   exactly as mine did. Once the default image is removed, it never comes back. 
   The themes I tried were Violinesth Forever, Indore, and Irrigation.
 * As an added bonus, Indore seems to have given my theme an ugly icon which will
   not go away even after I delete the (Indore) theme. At first I thought it was
   an IE bug, but the same thing happened in Chrome.
 * Anyone have any ideas? Thanks in advance.

Viewing 1 replies (of 1 total)

 *  Thread Starter [RivardIT](https://wordpress.org/support/users/rivardit/)
 * (@rivardit)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/theme-dev-custom-header-default-image/#post-5680227)
 * My question is more or less a duplicate of [this](https://wordpress.org/support/topic/custom-header-default-image-dont-save-customize).
   Sorry I missed that before I posted my question.

Viewing 1 replies (of 1 total)

The topic ‘Theme Dev, Custom Header, Default Image’ is closed to new replies.

## Tags

 * [default image](https://wordpress.org/support/topic-tag/default-image/)
 * [theme development](https://wordpress.org/support/topic-tag/theme-development/)

 * 1 reply
 * 1 participant
 * Last reply from: [RivardIT](https://wordpress.org/support/users/rivardit/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/theme-dev-custom-header-default-image/#post-5680227)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
