Setting a short menu name when registering a new custom post type in WordPress

When registering a new custom post type in WordPress, there are a whole array of labels you can set for how your post type will be displayed in the admin.

The post type I was creating had quite a long descriptive label which was fine in most scenarios but in the case of the main admin menu it pushed the menu text onto several lines.

See the example on the left below – I have deliberately shown any extremely long title to illustrate the point.

It would be really useful to have an extra label for ‘menu-name’ so that you can use a different title for the menu item as illustrated in the example on the right.

I have submitted a WordPress patch which Andrew Nacin seems to have taken under his wing. You can follow the progress of the patch here.

dentist new york city
acai berry cleanse
levitra en linea
 

Ben Huson