Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am developing a theme for my blog using Twenty Ten as starting point.

Now, I am trying to understand how it manages the background image that can be set in theme options but I wasn't able to find the code. Can you help find where is that implementation?

share|improve this question
    
do you mean the code where background image is displayed or the code where the options is set in the theme? –  Amit Singh Apr 10 '11 at 9:50
    
@Amit I mean the code where background image is displayed, thanks –  Drake Apr 10 '11 at 10:17

1 Answer 1

up vote 2 down vote accepted

This is native WP feature, it is set up in Twenty Ten with simple add_custom_background() call in functions.php.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.