GithubHelp home page GithubHelp logo

abdieffendi / nhp-theme-options-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leemason/nhp-theme-options-framework

0.0 1.0 0.0 3.89 MB

A simple, easily extendable theme options class (well its actually a whole bunch of classes, but hey lets not confuse things, were making things simpler here). Uses the built in Settings API for WordPress. And uses Custom error handling for validation classes. This allows each tab to count its errors and display warnings for the user.

Home Page: http://leemason.github.com/NHP-Theme-Options-Framework/

nhp-theme-options-framework's Introduction

NHP Theme Options V1.0.6

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.

Donate to the Framework

Donate to the framework

Simple Usage

Simply include the nhp-options.php file in your themes functions.php file, like so:

get_template_part('nhp', 'options');

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

Features

  • 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](/leemason/NHP-Theme-Options-Framework/wiki title="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

nhp-theme-options-framework's People

Contributors

toszcze avatar cgutierrez avatar nautilus7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.