Custom Post Types – Change order of menu items

Question

I am adding Custom Post Types to my wordpress dashboard. When a new CPT is added it is added to the bottom of the menu. I would prefer for the CPT menu items to be in alphabetical order.

For example, in the image below I added a new CPT called ‘Animations / Films / Aerials’ and it is inserted at the bottom of the menu order:

enter image description here

What solutions have I looked for before posting? I have looked for answers on stack but I haven’t found a clear solution. I also read through the documentation here: https://codex.wordpress.org/Function_Reference/register_post_type#Parameters. It seems like the menu-position property doesn’t allow you to change the order of CPT’s relative to one another. What needs to be done if I want these CPT’s to be in alphabetical order in the admin menu?

0
Joel Hoelting 4 years 2020-03-27T16:51:16-05:00 0 Answers 114 views 0

Leave an answer

Browse
Browse