Skip to content

WordPress options builder class is a library that helps you setup theme or plugin options that store data in the database with just a line or two of code!

License

Notifications You must be signed in to change notification settings

litwol/wordpress-options-builder-class

 
 

Repository files navigation

WordPress Phoenix Options Panel

WordPress options builder class is a library that helps you setup theme or plugin options that store data in the database with just a few lines of code.

Updated in 3.0

  • Fully escaped & sanitized
  • More data storage APIs
  • Cleaned up styles
  • Improved Media field
  • Cruft cleanup
  • Inline docblocks
  • ... and much more!

Builds protected by CircleCI: CircleCI

Table of Contents:

Installation

Composer style (recommended)

  1. Include in your plugin by creating or adding the following to your composer.json file in the root of the plugin
{
  "require": {
    "WordPress-Phoenix/wordpress-options-builder-class": "3.*"
  }
}
  1. Confirm that composer is installed in your development enviroment using which composer.
  2. Open CLI into your plugins root directory and run composer install.
  3. Confirm that it created the vendor folder in your plugin.
  4. In your plugins main file, near the code where you include other files place the following:
if( file_exists( dirname( __FILE__ ) . 'vendor/autoload.php' ) ) {
  include_once dirname( __FILE__ ) . 'vendor/autoload.php';
}

Manual Installation

  1. Download the most updated copy of this repository from https://api.github.com/repos/WordPress-Phoenix/wordpress-options-builder-class/zipball
  2. Extract the zip file, and copy the PHP file into your plugin project.
  3. Use SSI (Server Side Includes) to include the file into your plugin.

Usage

About

WordPress options builder class is a library that helps you setup theme or plugin options that store data in the database with just a line or two of code!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 79.1%
  • CSS 10.5%
  • JavaScript 10.4%