Top

Daily Tip: How to Enable Custom Backgrounds for WordPress 3.0 Themes

August 24, 2010

Enabling custom backgrounds is probably one of the easiest things you can do to improve a WordPress theme that you’re building or customizing. It takes one small addition to your theme’s functions.php file:

add_custom_background();

Save that and you’ll get Backgrounds added to the Dashboard >> Appearance menu, as shown here.

This will allow you or others using the theme to easily upload a background image and/or set a background color through the WordPress dashboard:

Tweet This Post

Comments

Got something to say?

Bottom
Article Archive  |  This site is a historical archive of pressography.com, a WordPress plugin and theme blog that published between 2006 and 2012. It is preserved for reference and is not operated by, affiliated with, or endorsed by its original authors. Nothing here is for sale and no form on this site is active. If you are the original owner and would like this domain returned, please get in touch.