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.

I found that the longest part of a plugin or theme development is creating the options panel, at least in my case. So i like to know what's your take on that. Do you use a ready made framework or class? And if so witch one? Or do you write it up from scratch? Use the settings API or plain options?

Thanks.

share|improve this question

closed as not constructive by Rarst Oct 22 '12 at 19:25

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
4  
@One Trick Pony I don't think this is duplicate, asking about components to speed up development is considerably different from asking how to do it in vanilla WP –  Rarst Jan 22 '11 at 13:02
    
@Rarst , that's right , and also your take on in, (your being the community) –  Bainternet Jan 22 '11 at 14:02
    
@בניית אתרים by the way if you end up using something in practice please write about that solution in WordPress frameworks and parent themes community wiki question. –  Rarst Jan 22 '11 at 15:24
    
Great question! –  Michal Mau Jan 22 '11 at 15:47

6 Answers 6

up vote 22 down vote accepted

OK so found some more:

  • JeffreyWay / WordPress-Theme-Options-Page - open source class the project is hosted on github aimed at theme developers, looks nice, haven't used it. (link dead) .

  • devinsays / Options-Framework - open source Framework the project is hosted on github aimed at theme developers , i later learned that is has evolved in to Thematic-options very large scaled project that has lots of features. (link dead)

  • helgatheviking / thematic-options-KIA - open source Framework the project is
    hosted on github aimed at help developers build options into their thematic child themes , witch was forked for Thematic-options very much up to date.(link dead)

  • Wordpress AdminPage Class - a commercial solution, packed it features and very easy to use.

  • OptionTree plugin - and IDE for creating option panels , lots of feature and constantly updated, downside is: it's not easily integrated in plugins or themes and default options are not an option (up to version 1.1.1).

that's it for now but still looking to here about your experience.

Update

After a long time of trying I've managed to integrate Options tree with my plugin and after that part was done , I have to say that its never been easier to add options to my plugin, EVER! all done with no code, but using the slick UI that comes with it. So as of now its my favorite with a small exception of being a plugin by it self and not a framework witch makes the integration part a lot harder.

Update2

If you read the first update then this will be 180 degree turn, i have stopped using Option-Tree witch was hard to integrate in the first place but mainly for the reason that it create an option row in the options database table for each option you add to it so my plugin has created 287 rows in the database and thats bad for many reasons but the main ones are its hard to remove all of them at plugin deactivation and you have to create a get-option call for each one of them so that's a lot of database calls. Since that little set back,I found that most of the frameworks listed up here work in the same manner of each option gets its own row. So i modified AdminPage Class to save all options per admin page in an array of options and and now my plugin only generates 7 Rows in the database and at most i only need to call the get_option function 7 times so that saves lots of database calls, I'll contact the creator of AdminPage Class and ask him to consider this modification but other then that it very easy to use and even easier to manage.

Last Update

if anyone is still keeping score here, then i ended up coding my own

option panel class

enter image description here which it's main features are:

  • Open source, GPL licensed.
  • Works with plugins as well as themes
  • OOP Code all the way (which means easy to extend and modify).
  • Import Export Options.
  • All Options saved as a single row in a database.
  • Available fields are:
    • Input
    • Textarea
    • Radio button
    • Checkbox
    • Select Dropdown
    • File Upload
    • Image Upload
    • WYSIWYG editor
    • Date Picker
    • Time Picker
    • Color Picker
    • Taxonomy List Dropdwon or checkboxes
    • Post list Dropdown or checkboxes
    • WordPress User Roles Dropdown or checkboxes
    • Syntax Highlighted Code Editor (PHP, CSS, HTML, JAVASCRIPT)
    • Typography Field (set of size, color, face, family fields)
    • Sortable Drag & Drop
    • Repeater Field
    • Plupload field
    • hooks and filters all over the place so you can customize just the way you'd like
share|improve this answer
    
Great work! Any plans to add tabular data? –  Kevin May 4 '12 at 4:41
    
@Kevin, tabular like what? –  Bainternet May 6 '12 at 10:06
1  
Simply jaw droping... Mi∫∫ing wørds here... Basically this A deserves this score, no less. . . . Cannot wait to play with this :o[) . . . . Wouldn't the Last Update be better placed on top? . . . And option panel class in <h1>? . . . Again: WOW, gazzillions thanks for this! –  brasofilo Jul 24 '12 at 15:17
1  
thanks for the kind words, let me know what you think after you use it. –  Bainternet Jul 24 '12 at 15:34
2  
is this what i have been looking for my whole life!? :) i'm honored my humble options panel got included in the answer. i actually think devin's OF framework evolved out of his thematic options and not the other way around. i tried to one-up him, but then he blew me out of the water w/ OF. i wish i could use OF for plugins and have toyed w/ porting it. can't wait to check out your class. thanks!! –  helgatheviking Aug 26 '12 at 2:23

The UpThemes team has just released their options framework as an opensource for everyone. It worth to take a look.

share|improve this answer

The devinsays Options-Framework has now evolved more, into the Options Framework Plugin/Options Framework Theme.

This is beautiful and user-friendly, and there is documentation about including it right in your theme code. However, if you wanted to incorporate it into a plugin, that would take some work.

share|improve this answer

I think we can add Infinity Theme Anti-Framework to this list. http://infinity.presscrew.com/

share|improve this answer
    
I've heard of it but never seen or used it, share you exp. –  Bainternet Nov 16 '11 at 16:40
    
First of all, they have best image upload system. I am 100% certain on that. I am exploring other sections. –  Ünsal Korkmaz Nov 16 '11 at 19:53
    
Update: I think i found my theme system for wordpress. I dont think there is any other theme framework like infinity. –  Ünsal Korkmaz Nov 19 '11 at 18:15
    
Care to elaborate? –  Bainternet Nov 19 '11 at 18:34
    
Its soon going out of beta. I think it will be more better to wait for it. –  Ünsal Korkmaz Nov 19 '11 at 22:06

I had been using this , I liked how it outputs a iframe preview, but I started to just write my own since I'm figuring this stuff out.

http://clark-technet.com/2010/01/wordpress-theme-options-framework-ver-2

share|improve this answer
  • scbFramework has related classes, I used it for one plugin and it saved me plenty of time;

  • WPAlchemy MetaBox I see a lot of mentions for this around, hadn't used it myself yet;

  • Hybrid Core has set of functions for pages/metaboxes/settings, but it probably won't make sense to use it just for that.

share|improve this answer
    
Thanks fir the input –  Bainternet Jan 22 '11 at 13:22
    
That is interesting for some reason I never though just using a page template with meta boxes for a theme options page and WpAlchemy looks interesting. –  Wyck Jan 22 '11 at 16:36

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