farinspace / wpalchemy

Thin framework for wordpress
http://wpalchemy.com/
Other
415 stars 112 forks source link

i want to make groups in tab #90

Closed aijazsiddique closed 10 years ago

aijazsiddique commented 10 years ago

21

farinspace commented 10 years ago

You'll have to explain a little more.

aijazsiddique commented 10 years ago

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

farinspace commented 10 years ago

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.

aijazsiddique commented 10 years ago

ok i will try to do my self first if i didn't get success i will come to you again