So I’m getting to at the point of development where I begin building the custom admin panel (Save the best for last eh..) . This being my first Wordpress skinning I find this part of the process incredibly intimidating (mostly because I can’t find any sort of guide). To get to my questions I was wondering:
1) Do any of you Wordpress Veterans have used a guide to get you started in the past?
2) Do you make your own forms and pass data using your own php scripts?
3) Does Wordpress provide any sort of help or documentation on this subject?
The most I know right now is that the functions.php file is what I’m going to be using. I have very little – some knowledge of php, but I’m willing to learn what I need to to get this done.
Thanks a ton for any help,
Hey, when I started to create options pages I followed this tutorial: http://theundersigned.net/2006/06/wordpress-how-to-theme-options/
Helped a great deal, hopefully it will help you.
I used the same tutorial posted by simnor. Just take a while to look through the final code from it, and it should become pretty clear as to what to do.
Yeah when I first looked at it I was overwhelmed but studying it made me realise that it actually wasn’t that difficult. As Dan Harper said take your time and read through it carefully.
Alrighty, So Here we go.
After following the Tutorial, I’ve got some questions.
Secondly, Do I add This inside the Head Tags or inside the body of my header?
Finally, If all goes well, I should be able to just echo my variable names straight into my html as long this is pasted correctly, correct?
Thanks so much for all the help so far!
Well, I modified the main code slightly to a way I prefer.
I’ve found that to be a lot easier rather than using a load of ‘if’ statements.
As for referencing the options in your templates code, you can use this
(where ‘cocoa_custom_header’ is the option’s ID you included in the array).
Hope that helped.
I’ve looked at it every which way and I’m just stumped.
This is the code I’ve ended up with this and it still gives me the
Parse error: syntax error, unexpected $end in C:\wamp\www\wordpress\wp-content\themes\DeepBlue Theme\functions.php (template directory) on line 266 (the last line of my code)
I’ve counted all my brackets and it seems like valid code..
Now, I’ve no idea why, but even the fully working code from you still give me the same parse error as if I’m missing a bracket.
I tried randomly placing brackets in different places, and there was only one area where I could put a bracket without it giving me the unexpected “}” error. Even then, it would put the forms on the from page of my theme.
I’m fairly lost, is it a problem with my code, am I missing code snippets?
Any help is deeply appreciated.