Skip to content


Subversion checkout URL

You can clone with
Download ZIP
NHP Theme Options Framework has been replaced by the Fluent Framework which is out now!. Please direct all issues / requests to The Fluent Framework:
PHP CSS JavaScript
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

NHP Theme Options V1.0.3

Theme options framework which uses the WordPress Settings API, Custom Error/Validation Handling, Custom Field/Validation Types (which are easily extendable), and import/export functionality.

Simple Usage

Simply require the theme-options.php file in your themes functions.php file, like so:

require( dirname( __FILE__ ) . '/theme-options.php' );

Then change the settings as written in the theme-options.php file.


  • Uses the WordPress Settings API
  • Multiple built in field types: View WIKI
  • Multple layout field types: View WIKI
  • Fields can be over-ridden with a callback function, for custom field types
  • Easily extendable by creating Field Classes (more info in the View WIKI)
  • Built in Validation Classes: View WIKI
  • Easily extendable by creating Validation Classes (more in the View WIKI)
  • Custom Validation error handling, including error counts for each section, and custom styling for error fields
  • Custom Validation warning handling, including warning counts for each section, and custom styling for warning fields
  • Multiple Hook Points for customisation
  • Import / Export Functionality - including cross site importing of settings
  • Easily add page help through the class
  • Much more
Something went wrong with that request. Please try again.