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.

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

2 Answers 2

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

Check this out, It'll give you more insight into theme customizer, if you wish to add customisation to more than just the background.

http://themefoundation.com/wordpress-theme-customizer/

Google is also your friend here :)

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.