Add Custom Backgrounds to WordPress 3

This month’s .net magazine arrived with a great section on WordPress 3 features. One of the features is the ability to change your background image on your theme. The code is really simple. In your theme functions.php file, add the following line:


If your theme doesn’t have a theme functions.php file, just add one! It’s a default theme file that WordPress will automatically include. The finished result is that you now have a background menu option in the Appearance section of the administration:

Download a Sponsored Marketing Whitepaper:
B2B Marketer's Guide to Account-Based Marketing

B2B Marketer's Guide to Account-Based Marketing

Ready to learn how Account-Based Marketing addresses all the challenges you face throughout the funnel and how you can execute on it? Download Now