WordPress

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:
31 Marketing Barriers and How to Break Through Them -- Marketing Edition 2017

31 Marketing Barriers and How to Break Through Them -- Marketing Edition 2017

Subscribe to the small business trends digital magazine. Download Now

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