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 currently try to make a theme for wordpress and I'm confused about lots of things. I'm not sure what's the order of loading wordpress elements, where some variables are available, where they are saved, etc.

So, about get_option(), in documentation says it's for retriving informations from database, but when you make some fields in theme options and user saves something he entered, that is not stored in database. So this variable is available only during loading wordpress each time?

Thanks for any help

share|improve this question

1 Answer 1

WordPress load is complicated process and hard to grasp in full. The very basic overview would be like this.

What you should do for starters - think in specifics. A lot of common tasks (adding scripts, using hooks, etc) are standardized technically or conventionally. So go by task - decide what you want to do and search (and ask if search fails you) what is appropriate way to do it.

PS latter part of your question makes little sense to me, please try to clarify.

share|improve this answer
    
ok thanks for your answer, second part was about get_option(). In wordpress documentation it say "A safe way of getting values for a named option from the options database table", after value is entered here in theme options, it's not saved in database. If I make footer text field, something is saved there, than I can access that field in template files with $array['footer'], but it's NOT saved anywhere in database –  Teodora-Tea Ilic Apr 13 '12 at 13:29

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.