A simple tutorial on how to install NHP Theme Options Framework in any WordPress theme. Having a perfect options panel is a good idea and developing it from scratch will surely take more time. Keeping this factor in mind Lee Mason of No half Pixels have developed an awesome Theme Options framework, that can be instantly integrated into any WordPress theme. I have tried many other options frameworks and finally NHP is my favorite pick. Its not only easy to install, but every bit of it can be easily customized based on the requirement (for client projects).

NHP Theme options Framework is readily available to download from GitHub and can be used on both personal, commercial projects. According to the author, NHP is a combination of popular Options Framework and Up Theme Framework. So, what exactly we can expect from NHP is, its more flexible with better user interface.
MyThemeShop themes are powered by customized version of NHP theme Options framework, do check them and feel the real responsive WordPress theme design.
Some Notable Features of NHP Theme Options Framework
Here are some notable features of this expandable theme options framework.
WordPress API: The best part of this framework is, it uses the core WordPress functions for creating or editing settings. This can be considered as a standard feature.
Field Types: NHP Contains many inbuilt fields like text, textarea, upload, select, checkboxes etc. You can use any of them directly by just pre-defining the type.
Validation : Perfect inbuilt validation methods for email, numeric, HTML etc types. Very handy feature to provide clean options in any WordPress theme.
Customizable: Many hooks are available to customize each and every bit of the options framework. You can add a logo, icons etc things to make it look unique.
Extendable: Fields and validation types can be extended by including new types also. Great option for WordPress developers to improve options framework further.
Apart from these, there are many other features like Custom Error handling, Custom Tab sections etc. You can check all the available features and screenshots at official NHP page.
How to install NHP Theme Options Framework in WordPress
Its very easy to install or integrate NHP Theme Options Framework in any WordPress theme. I have divided the entire process into 5 steps and hope it will be helpful for you.
Step 1: Download NHP Theme Options Framework from GitHub.
Step 2: Extract File and you can see “nhp-options” file and “opt” folder.
Step 3: Just copy both of them to theme directory (In-case if you are using a child theme, then copy files to child theme directory).
Step 4: Now, Open functions.php file and include the below line in it.
/** Start of NHP Theme Options Panel */
if (is_admin()) {
require('nhp-options.php' );
}
Step 5: Voila, NHP Options panel is successfully installed and is ready to rock.

Once done with the installation, you can see “ThemeOptions” menu added and you can navigate through all the available tabs in the options panel. Still, at this stage it would be just a bare-bones framework and you need to customize options, to make it work with your theme. You can check NHP Wiki for references or hire me for setting up things.
If you need any help regarding installation of NHP Theme Options Framework, drop a comment here and I will get back to you very soon. If you have already used NHP, then share your experience here.


Genesis 1.8.2 Now Available for Download
MyThemeShop – High Quality Responsive WordPress Themes
10 Best Web Hosting WordPress Themes
Pros and Cons of Using WordPress Theme Frameworks
10 Mobile Responsive WordPress Themes from StudioPress
MyThemeShop Discount Coupon – Get 20% OFF on any Theme
Can they be used with Genesis Framework .
Genesis Already got an inbuilt admin panel and if you want to experiment something new, then you can use NHP theme Options Framework.
Thanks for article
Thank you
loving this..
NHP seems to have serious potential to compete as far as Theme Option Frames go but dude… There is like no documentation or tuts anywhere on it… UGH.
Thanks for the article!
Would love to see more articles/tuts/screencasts about NHP Theme Options Framework.
Thanks again!
-kraymer
I always loved NHP… unfortunately, it hasn’t seen development in six months and the bugs and feature requests have been piling up. As a result, I got tired of watching problems go unsolved, forked NHP, and released my own framework which resolves most of the issues people had with NHP and adds a few features of my own! If you want to take a look at my continuation of NHP, check out https://github.com/ghost1227/Redux-Framework/
I also have downloaded fresh framework from github and installed in my local server. I copied options folder and nhp-options.php inside my theme directory. Now I called class globally by calling variable global $NHP_Options and then I am trying to call copyright information at footer but it is giving error
get(“copyright_footer”);
Fatal error: Call to a member function get() on a non-object in C:\xampp\htdocs\word\wp-content\themes\mCube\footer.php on line 19
Please help me where I am lacking.
$NHP_Options->get(“copyright_footer”);
I have fixed above error message somehow. Now one more new problem
If I change id of button set I dont see style (blue color) in selected button. Can anybody help me please what I am missing? If I change back to id then it is fine.