-
Installation | Xbox Framework
Install as wordpress plugin:
Go to your
xbox-framework-.zip.
Install and activate as any plugin. From now, you can start creating your Admin Pages or Meta boxes.
Include it as a library in your theme...
-
Create Meta boxes | Xbox Framework
It’s empty, but do not worry, we’ll add some fields right now.
add_action( 'xbox_init', 'my_metabox');
function my_metabox(){
$options = array(
'id' => 'metabox-id',//Must be unique for each m...
-
Create Admin Pages | Xbox Framework
Advanced usage, with available options:
add_action( 'xbox_init', 'my_admin_page');
function my_admin_page(){
$options = array(
'id' => 'my-admin-page',//It will be used as "option_nam...
-
Create Fields and Get field values. | Xbox Framework
add_action( 'xbox_init', 'my_metabox');
function my_metabox(){
$options = array(
'id' => 'metabox-id',//Must be unique for each metabox that is created with xbox.
'title' => 'My Metabox',
...
-
Field Parameters | Xbox Framework
items
array()
List of items (option value - option display) for the fields (checkbox, radio, image_selector, select). Optional.
items_desc
array()
To add additional information to each item a...
-
Features | Xbox Framework
Admin Pages
Professional and elegant theme options.
Easy to install and use.
Save your time.
Spend less time building options and more time focussed on its development.