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.

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?

Update

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.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

There are indeed some frameworks

share|improve this answer
    
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

 
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.