Close

3 May 2011

Add Custom Backgrounds to any WordPress Theme

First, my apologies for not writing for so long. There has been so much happening and so many cool things out there now.

We especially enjoy finding new features that anyone can implement. Even someone without any coding knowledge what-so-ever.

With the new releases of WordPress, it is now extremely easy to customize the background of your WordPress theme, for self hosted installations.

From your Admin Dashboard, click on the Appearance button on the left and then click Editor.

Locate the file called functions.php in the list on the right and click the file name.

In the editor window, scroll down to the bottom of the file just before the last “?>” and type in the following text:

add_custom_background();

Now click the save button at the bottom of the page.

If you now click on the Appearance button on the left again, you should now see a choice for Backgrounds appear in the list. If you click on this, you will be able to replace the current background with an image or any color you choose.

You can also control the way images repeat and their alignment.

So easy isn’t it?

One Comment on “Add Custom Backgrounds to any WordPress Theme

Martin Malden
3 May 2011 at 21:00

Hey Dude,

That’s quite a neat feature – and they kept it pretty quiet! You’d think they’d make more noise about things like this.

Cheers,

M.

Leave a Reply