WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

how do I add some options to a theme? I would like to add support, in my thmes, for dinamically changing the page background. I don't even know how to start.

I think I can break down this issue in two questions:

  1. how do I add a "theme options page"
  2. how do I create a function that prints the link to an uploaded image, so I can hardcode the css in my header.php

thank you!

share|improve this question

For theme Settings see Chip Bennett's tutorial, also WordPress supports custom background, you can add support to your theme with add_custom_background, see reference for more information.

share|improve this answer
For the purposes of the question as stated, the OP should definitely be using add_custom_background() to implement custom backgrounds. – Chip Bennett Aug 30 '11 at 18:09

Your Answer


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.