Skip Navigation

[Résolu] Dividing Admin Area Metabox into meaningful sections

This support ticket is created Il y a 6 années et 2 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Nigel Il y a 6 années et 2 mois.

Assisté par: Nigel.

Auteur
Publications
#1122290
screenshot-natureslens.co.uk-2018.10.07-13-41-29.png

I could really use a decent means of dividing up the meta box that all my Toolset added Custom Fields are in - I have natural groupings for them - but currently they are all in one big listing

Is there any way of either having a header element that we can drop between fields so that the fields below are divided from those above - or going even further, dividing the meta box into tabs - much like woo-commerce and a number of other meta box plugins do

If you see the attached image - all the fields are just stacked - it would be great to be able to insert a header (and nominally a description too) where each of the red lines are

#1122587

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Hi David

You can assign multiple field groups to the same post type, each of which will appear on the post edit screen in discreet metaboxes, which you can then drag and drop to re-order as required (and which will be preserved on all other posts of that type).

So, you should split up your very large field group into smaller field groups, each of which can have a description that will be displayed under the field group name.