Is there a page on the WP documentation someplace that lists the order numbers for the default menu items in the Admin panel on WordPress? Cannot find anything on line that just gives a clear numbering system such as “Posts = 1” “Media = 5” etc etc.
I’m using a plugin that allows to add an order number for placing a custom post on the menu area but it would be handy to know the breakdown of the numbering between the default menu options instead of guessing 1, 5, 10 and 20.
I remember seeing something like this before that broke it down but cannot find it at all on Google. Only ways to rewrite the order using functions.php file.
Thanks in advance.
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
Default order:
2 – Dashboard 4 – Separator 5 – Posts 10 – Media 15 – Links 20 – Pages 25 – Comments 59 – Separator 60 – Appearance 65 – Plugins 70 – Users 75 – Tools 80 – Settings 99 – Separator
add_menu_page() code reference
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0