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:

add_custom_background();

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:
7 Top Tips for a Successful Employee Communications Strategy

7 Top Tips for a Successful Employee Communications Strategy

Make it easier to cut through and break down negative perceptions about the value of an IC strategy by using these steps. Download Now

This site uses Akismet to reduce spam. Learn how your comment data is processed.