Skip to content
leemason edited this page Jun 6, 2012 · 27 revisions

Welcome to the NHP-Theme-Options-Framework wiki!

Using the Framework

The $args array

The $sections array

Using The Options


Field Types

The Text Field The Textarea Field
The TinyMCE (editor) Field The Checkbox Field
The Multi Checkbox Field The Radio Field
The Radio IMG Field The Button Set Field
The Select Field The Multi Select Field
The Date Field The Color Field
The Upload Field The WordPress Pages Select Field
The WordPress Pages Multi Select Field The WordPress Posts Select Field
The WordPress Posts Multi Select Field The WordPress Tags Select Field
The WordPress Tags Multi Select Field The WordPress Categories Select Field
The WordPress Categories Multi Select Field The WordPress Menu Select Field
The WordPress Menu Location Select Field The WordPress Post Type Select Field
The Checkbox Hide Below Field The Select Hide Below Field
Non Value Field Types
The Info Field The Divide Field

Validation Classes

Email Validation Class URL Validation Class
Numeric Validation Class JS Validation Class
HTML Validation Class No HTML Validation Class
Custom HTML Validation Class No Special Chars Validation Class
Preg Replace Validation Class Str Replace Validation Class
Color Validation Class Comma Numeric Validation Class
Date Validation Class

Extending the Framework

Creating a Field Class

Creating a Field Callback Function

Creating a Validation Class

Creating a Validation Callback Function

Filter and Action Reference


Changelog

Version 1.0.6

Version 1.0.5

Version 1.0.4

Version 1.0.3

Version 1.0.2

Version 1.0.1

Version 1.0.0