Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

The custom header feature allows (in some code I have found) to suggest several default images to use in the custom header.

Could the same be built in the custom background?

The idea is to have already some textures available for the user to choose from in the theme.

Any ideas?

share|improve this question

1 Answer

I would suggest outputting a line of CSS in your header.php file, something like

<?='.body {background-image:url(/your/path/to/images/'.$YOUR_CHOSEN_IMAGE.'.png);}'?>
share|improve this answer
1  
That's not really what I was looking for. – Offcourse Jul 13 '12 at 11:17
I could use something that presents 4 or 5 default background images to choose from in the admin area, in the background section of the theme options. – Offcourse Jul 13 '12 at 15:49

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.