Passer la navigation

[Résolu] Dropdown Alpha Order

This support ticket is created Il y a 3 years, 5 months. 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Hong_Kong (GMT+08:00)

Ce sujet contient 5 réponses, a 2 voices.

Dernière mise à jour par Luo Yang Il y a 3 years, 5 months.

Assisté par: Luo Yang.

Auteur
Publications
#2361929
Screen Shot 2022-05-12 at 4.13.36 PM.png

Can you help me put this dropdown into alphabetical order?

Thank you!

lien caché

#2362153

Hello,

There isn't such kind of built-in feature, but you can arrange the item's order manually, for example:
In the custom post type settings, just above the "Save" button, there is a setting: Admin Menu position after

More help:
https://developer.wordpress.org/reference/functions/register_post_type/#menu_position
'menu_position'
(int) The position in the menu order the post type should appear. To work, $show_in_menu must be true.

#2367139
Screen Shot 2022-05-19 at 3.56.57 PM.png

Hey Luo, sorry it took me so long to get back.

I've tried and I've used the link you sent, but I can't do it.

Can you help?

(I don't see, or don't have "custom post type settings, just above the "Save" button, there is a setting: Admin Menu position after.")

Thank you.

#2367521

You can try these:
Dashboard-> Toolset-> Post types, find and edit each custom post types, just above the "Save" button, there is a setting: Admin Menu position after

#2368145

Thanks Luo. I've done it, but it's not showing. Maybe you can explain the other way? Thanks.

#2369051

Sorry for the misunderstandings, you are talking about the dropdown menu of Add content menu.
There isn't such kind of built-in feature within Toolset plugins or WordPress core, I have searched it in Google, found some related threads:
lien caché

For your reference