WPOnion is a simple yet powerful framework that helps developers build custom meta boxes and custom fields in WordPress fast and easily.
The framework lets you define custom meta boxes and custom fields via arrays and handles everything behind the scene automatically. It has a wide range of field types, field settings and supports not only post meta but also term meta, user meta, comment meta, settings pages and custom tables.
The preferred way to install this extension is through Composer.
To install WPOnion library, simply:
$ composer require wponion/wponion
The previous command will only install the necessary files, if you prefer to download the entire source code you can use:
$ composer require wponion/wponion --prefer-source
You can also clone the complete repository with Git:
$ git clone https://github.com/wponion/wponion.git
The preferred way to install this extension is through Composer.
To install WPOnion library, simply:
$ composer require wponion/wponion:dev-development
The previous command will only install the necessary files, if you prefer to download the entire source code you can use:
$ composer require wponion/wponion:dev-development --prefer-source
You can also clone the complete repository with Git:
$ git clone https://github.com/wponion/wponion.git
Add the below code your plugin / theme file
require __DIR__.'/wponion/wponion.php';
add_action('wponion/loaded','your-prefix_after_wponion_loaded');
function your-prefix_after_wponion_loaded(){
//do your stuff here.
}
Like WPOnion Framework, this documentation is open sourced on Github & GitBooks. The website's content is written in Markdown.
If you find anything incorrect in the documentation or out-dated, please help us fix it.
In case you come across anything along the way that we haven’t covered, or if you know of a tip you think others would find handy, please file an issue and we’ll see about including it in this guide.
https://wponion.gitbook.io/docs/
Thanks to all the Contributors who worked on this project to get it done asap
Enterprise Branding 📖 🤔 | digitalchild 🤔 |
This project is licensed under MIT. See the LICENSE file for more info.