Tuesday, 21 May 2013

WordPress 3.0 Theme Tip: Custom Backgrounds

April 12, 2010, 9:35 am The Custom Background screen is easy to add to any themeQuick and simple way to add the new custom background selector to your WordPress 3.0 theme. 1add_custom_background();Seriously. That’s it. Just add that to the theme’s functions.php file. DetailsOkay, so your theme does need to have the normal wp_head() call in it. For those of you more CSS inclined, this basically creates CSS code for the body and adds that code to the head output directly. Voila, your theme gets styled. Note that you will need to also not define your own background stuff in the theme for this to work. If the user tries to put in a solid color...

No comments:

Post a Comment

Popular Posts

Best Blogger Gadgets