I need help.
I'm making a wordpress theme with some admin interface.
My mission is towards "No Hand Code For User".
After reading the WordPress codex about a week ago, I manage to register my admin page under the Appearance tab which what I want.
Now I want to put form in that page which I already know how to and yes, the form appear at that page. But I don't know where to save that options and how to call back the value of the option.
My goal is to make css selector for my users.
This is how I do it so far.
I put all the css files inside one directory and using scandir and readdir, I manage to display the css filename in <option> by using a loop.
What I want, when the users select which css file name and the click save, that file name will be saved.
And then, I will need to call the chosen filename again and then use add_action to hook it to <head> so it will import the css.
Am I making myself clear?
Please enlighten me, I have read the WordPress codex and still don't get it, and I don't have formal lesson on PHP and mySQL database. I'm just enthusiast.
- Guan -