Closed aijazsiddique closed 10 years ago
You'll have to explain a little more.
suppose i have add all function on theme
include_once 'metaboxes/setup.php'; include_once 'metaboxes/simple-spec.php'; include_once 'metaboxes/full-spec.php'; include_once 'metaboxes/checkbox-spec.php'; include_once 'metaboxes/radio-spec.php'; include_once 'metaboxes/select-spec.php';
we will see these block on metabox
My Custom Meta, Full input, Checkbox Input, Radio Input, Select Input
so i want all these on tab as like on attachment Image, Dimensions, Files, Archives
i hope u got my point otherwise i will make video
each of those files (simple, full, checkbox, radio, select) will create their own panels (a metabox), just like the "Profiles" one you have pictured in your screenshot.
Inside a panel you can do what ever you want, add HTML, etc, and of course use the metabox class to assist in creating/saving data.
Now, per your question, you would like to be able to create those same panels (a metabox), but inside other panels (inside other metaboxes). Is this correct?
So if I am understanding correctly, the skinny of it it is that: the class is not designed to do this, it will assist you in creating the top level panel (metabox) and the contents inside, of course you can create your own tabs, create and style your own sub-panels and still use the class to help save the data.
Basically add what ever you want to the contents of each of those tabs, if you want sub-panels, create the HTML and style it, you can use form elements, repeating elements in each of the tabs as well.
ok i will try to do my self first if i didn't get success i will come to you again