New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option set before tabs container display after #319
Comments
The
I thought no one will want to display options outside tabs, that there will be only regular settings pages:
This is critical for you or you just noticed that while experimenting with options? |
Not critical but I wanted to add #318 before the sub tabs since I have nested tabs
|
I will take a look and see if a can display tabs,boxes,groups,options exactly in the order they are in array. |
Please download the latest version of Unyson from Github and test with these options: $options = array(
'tab-1' => array(
'title' => __( 'Tab1', 'unyson' ),
'type' => 'tab',
'options' => array(
't1t' => array('type' => 'text'),
),
),
'tab-2' => array(
'title' => __( 'Tab2', 'unyson' ),
'type' => 'tab',
'options' => array(
't2t' => array('type' => 'text'),
),
),
'group-1' => array(
'type' => 'group',
'options' => array(
'g1t' => array('type' => 'text'),
),
),
'text1' => array('type' => 'text'),
'tab-3' => array(
'title' => __( 'Tab3', 'unyson' ),
'type' => 'tab',
'options' => array(
't3t' => array('type' => 'text'),
),
),
'box-1' => array(
'title' => __( 'Box1', 'unyson' ),
'type' => 'box',
'options' => array(
'b1t' => array('type' => 'text'),
),
),
'text2' => array('type' => 'text'),
'tab-4' => array(
'title' => __( 'Tab4', 'unyson' ),
'type' => 'tab',
'options' => array(
't4t' => array('type' => 'text'),
),
),
'tab-5' => array(
'title' => __( 'Tab5', 'unyson' ),
'type' => 'tab',
'options' => array(
't5t' => array('type' => 'text'),
),
),
'group-2' => array(
'type' => 'group',
'options' => array(
'g2t' => array('type' => 'text'),
),
),
); |
Thank you my friend. I just shutdown for the day. Will test and reply tomorow. |
Excellent. Thank you! |
Try this in theme options
The aaa option will be displayed after the tab instead before
http://prntscr.com/6d0g0n
The text was updated successfully, but these errors were encountered: