Getting started with Fields

Fields are blocks of arrays that represent the individual options within a specific options panel, set via a Sections array.  The Section array contains an argument titled fields, which accepts an array, or several blocks of arrays, separated by commas.  This is where all field arrays are place. For specific examples, please consult the sample-options-config.php file that comes with the SmartFramework package.

Smart-Framework comes packed with a variety of fields. Each has his its own set of arguments that can alter what that field does. Rather than make multiple fields for the same type of text field (input), attributes are used to customize the field to do multiple things. You can access to this link for more detail: http://smartframework.g5plus.net/doc-category/fields/
Now we will show you a basic example as below.

Example Declaration