#4060 closed enhancement (duplicate)
Custom Header Support in Default Theme
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Themes | Version: | 2.1.2 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: |
Description
Default theme contain custom header in it, version 2.1 implemented it in WP core, but default theme still use its custom code, it should use Custom_Header class.
Attachments (2)
Change History (21)
Or are you suggesting we create a new class to deal with custom headers?
I think he's talking about the add_custom_image_header() function in wp_includes/theme.php and the Custom_image_header class wp_admin/custom-header.php.
- Keywords needs-patch added
As Otto42 said, i mean Custom_image_header class in custom-header.php. As i said in description, custom header support implemented in WP 2.1, see [4673] and #3465.
Currently some (or most) of WP.com themes supports this feature, you can use them as a reference for create a patch.
- Milestone changed from 2.2 to 2.3
- Owner changed from anonymous to rob1n
- Keywords has-patch needs-testing added; needs-patch removed
- Milestone changed from 2.3 to 2.2
The patch needs testing by another developer. It looks bad, but works.
comment:10
foolswisdom — 6 years ago
- Milestone changed from 2.2 to 2.3
Thanks for the patch!
Can wait till 2.3 , no reason to rush it in at the end.
comment:11
rob1n — 6 years ago
- Cc rob1n removed
comment:12
ryan — 6 years ago
The default theme does support custom coloring in the header though. It allows color fades. On worpress.com, Kubrick has both custom header image and custom header coloring, but they don't cooperate very well and the corner curves show beneath the custom image. I'll attach the default theme with the wpcom changes if someone wants to try making both custom coloring and custom images play nice together.
comment:13
ryan — 6 years ago
- Milestone changed from 2.3 to 2.4 (next)
comment:14
rob1n — 5 years ago
- Owner rob1n deleted
comment:15
ryan — 5 years ago
- Milestone changed from 2.5 to 2.6
comment:16
spikeyslam — 5 years ago
Are color fades necessary? Don't most users who use Custom Image Header, upload their own images? It should be one or the other and not both at the same time. Custom Image Header should trump color fade if used.
- Component changed from Template to Themes
- Keywords needs-patch added; has-patch needs-testing removed
- Milestone changed from 2.9 to Future Release
- Type changed from defect (bug) to enhancement
comment:18
markmcwilliams — 3 years ago
- Resolution set to duplicate
- Status changed from new to closed
comment:19
nacin — 3 years ago
- Milestone Future Release deleted

Hate to sound stupid, but I can't find a Custom_Header class in the core...