[theme-reviewers] Updating Custom Backgrounds and Custom Headers for WordPress 3.4

David Law wp-hackers at google-adsense-templates.co.uk
Mon Apr 16 15:09:19 UTC 2012

On Fri, 6 Apr 2012 10:00:04 -0500, you wrote:

>Just posted to the make.themes site:
>Feel free to discuss and/or ask questions, either on the post or here in
>the mail list.

Has anyone got the new Custom Headers code working on WordPress 3.4
beta and WordPress 3.3 as well? Got it working in 3.4 using Chip's
tutorial and

I can see the new code won't be compatible with 3.3, but still need to
make themes backwards compatible to some degree (I try for 3.*

Updating a theme in advance of WordPress 3.4 and looking for a good
way to make it backwards compatible.

custom-background was easy, since it's a small amount of code so added
conditional code.

if ($wp_version >= '3.4') {
add_theme_support( 'custom-background', array(
	'default-color' => '',
) );

Can do the same for Custom Headers, but think it will be messy. Anyone
got a 'good' solution up and running?

http://www.stallion-theme.com/ Stallion All In One WordPress SEO Theme
http://www.stallion-theme.com/stallion-wordpress-seo-plugin Stallion
WordPress SEO Plugin

More information about the theme-reviewers mailing list