When creating plug-ins for WordPress, there are times when you need to make a settings panel. Sometimes, you need more than one page, and they can be quite complicated.

So far, I have been programming/coding them alone. I try to make most of the WordPress original Admin design, but for sophisticated panels, I get a spaghetti of PHP and HTML code. Also, every time, I have to write code that gets the data submitted by the user, analyses and saves it, and return a response.

What solution are you using for your plugins? Are you using a template engine, or just mixing PHP code with HTML? Are there ready framework that offers such a solution?


I found the solution to this problem. It's provided by WordPress, and it's very simple and intuitive. This blog post describes how to use the settings API which allows to create a settings/option page with ease.


There are indeed some frameworks

  • Thanks, but Google didn't help. – Omar Abid Sep 9 '11 at 17:08
  • Hope the in site search helps: WP Alchemy and Rilwis – kaiser Sep 9 '11 at 17:15
  • Well, I checked Alchemy and I'm not sure if that's what I really need. I don't need a custom metabox or post type. I need a template/framework to generate a personalized admin panel. – Omar Abid Sep 9 '11 at 17:17
  • Jep. And you can use that to build all the input stuff and meta boxes. Else search on github for the bigger well known frameworks. They normally got stuff like that. – kaiser Sep 9 '11 at 17:40

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.