WordPress.org

Ready to get started?Download WordPress

Forums

NHP Theme Options Framework (1 post)

  1. kalorycznie
    Member
    Posted 1 year ago #

    Hello, I have a small problem, I downloaded and installed great program NHP theme options framework, I have no problem with the configuration of individual options, but I have a problem with calling them wordpres, please clue how to call the example field?

    array(
    	'id' => 'blog-name', //must be unique
    	'type' => 'text', //the field type
    	'title' => __('Extendend blog name', 'nhp-opts'),
    	'sub_desc' => __('This is a little space under the Field Title in the Options table', 'nhp-opts'),
    	'desc' => __('This is the description field, again good for additional info.', 'nhp-opts'),
    	'validate' => 'url',//if you want to validate the value
    	'msg' => 'custom error message', //override the default validation error message for no_html
    	'std' => '', //This is a default value, used to set the options on theme activation, and if the user hits the Reset to defaults Button
    	'class' => '' //Set custom classes for the element, default is "regular-text"
    	)

    great thanks

Topic Closed

This topic has been closed to new replies.

About this Topic