5

I have some options I want my client to be able to change, and so I need an options page for my theme that I can show for those with "editor" status. How can I do this and utilise the options in my pages?

5

This tutorial is pretty awesome for explaining the basics, and you end up with a nicely styled options panel at the end of it too. There are a few such tutorials around, it's surprisingly easy to get the hang of.

I've never tried it but you should be able to add a bit of PHP checking whether the current user has a high enough permission level and displaying an error message if not, or just to stop it from adding the link to the options page in the first place. Best to get familiar with how to actually build the page first, however.

1
  • That is one of the better tutorials available. Great recommendation! – EAMann Aug 12 '10 at 0:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.