I thought this might have been something I could add to the CPT's, but couldnt see a straight forward answer on how to do it.

I currently have 5 custom post types. As you can imagine having that many custom post types, along with the normal wordpress admin items ( Plus any plugin menus ) it can get quite bulky and unattractive.

So id like to add a separator above the first CPT menu and below the last CPT item.

Currently all of the CPT's are using this :

'menu_position' => 5,

5 may not be their final resting place, but would like to know if there is a simple way of adding a separator above or below a certain CPT ?

Thanks in advance

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.