There are many great theme option frameworks out there already, like the Options Framework, and the UP Theme Framework. Which is great, alot of this frameworks ideas, and functionality has been built upon the knowledge gained from those frameworks. But neither of them provided me with the extendability i needed/wanted. What i really wanted to do was merge those frameworks and add a little spice. I wanted a few specific things that have been the core reason for this framework.
- Section Tabs - I wanted each settings section to have its own "tab" which can be clicked through.
- Use the WordPress Core Settings API - I wanted the settings to use the core WordPress functions for creating/editing settings (no point reinventing the wheel).
- Custom Error Handling - Inline with the custom tabs i wanted to be able to display error totals, and custom messages for each section/setting.
- Easily Extendable - I wanted to be able to extend the framework for custom use applications. For settings fields and custom validation.
- Customisable - I wanted to be able to customise the functionality, and style without hacking at the core.
This is why the NHP Theme Options Framework has been created. Every function/action can be customised, with more hook points and configuration options being added with every update.Lee Mason - No Half Pixels
Simple Theme Options Framework for WordPress, Leaving you to concentrate on creating beutiful WP Themes.
Contains many built in field types for easy use (all basic field types like text, checkbox, select, upload are built in).
Contains many built in validation methods for clean data saving (email, url, numeric, escape js, no html, html).
The most basic of form fields. Basic, but important.
Again basic, but essencial.
The humble "Check if you want to.....".
The expanded "Check if you want to.....".
Makes sure the users inputs a valid email address.
Checks the submitted value is a URL.
Makes sure the value is numerical.