WordPress 3.0 introduces a brand new characteristic referred to as tradition backgrounds for WordPress subject matters. This characteristic will give the person a capability to upload tradition backgrounds to their website online which is able to give their blogs/websites a novel contact. Even even though this selection is added to the core, it’ll most effective be activated in case your theme helps it. In this newsletter, we can display you the way you’ll allow Custom Background in WordPress subject matters for WordPress 3.0.
Note: This article is intermediate degree article targeted specifically for theme designers.
Update: the code used in the video add_custom_background is depracated. Look on the code under in this newsletter.
Simply open your purposes.php record and upload the next line:
Then beneath look you must be ready to see an choice for Custom backgrounds.
The default twenty ten theme for WordPress 3.0 already has this selection enabled in it.