Make WordPress Core

Opened 6 years ago

Last modified 6 years ago

#44803 new feature request

Add a page to a menu by its ID or slug

Reported by: milerm's profile milerm Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.8
Component: Menus Keywords: needs-patch
Focuses: Cc:

Description

I'm "porting" a college's website from Joomla to WordPress.

Said website has +2000 pages, which span from ~2013 onwards. It's the biggest mess you can imagine. There are many repeated pages, repeated categories, empty categories and so on.

Building the main menu for this website has been a pain in the ass, too, because the "adding pages to a menu" in WordPress is meant for small websites:

For example, I was trying to add a page named "Evaluación docente". There are several pages called exactly the same, but typing "Evaluación docente", or "Evaluacion docente" (without accents), "evaluacion docente" or even ""Evaluación docente"" (with the quotes, hoping them would help to do a exact match search) returned other pages that weren't the one I was looking for - nor even the other "Evaluación docente" pages! Seems like a very fuzzy search. Sometimes you're lucky and you get the page you're looking for, but sometimes you don't.

So I think it would be wonderful if there were some sort of way to add a page to a menu by typing its id or its slug.

Change History (2)

#1 @SergeyBiryukov
6 years ago

  • Component changed from General to Menus

#2 @audrasjb
6 years ago

  • Keywords needs-patch added

Hi, welcome to WordPress Trac and thank you for this ticket.

I think that feature would require to add new search input fields to separate search by Name, Slug or ID.

Said website has +2000 pages, which span from ~2013 onwards. It's the biggest mess you can imagine. There are many repeated pages, repeated categories, empty categories and so on.

I'm not sure we are going to add that new feature for the moment. In your case, maybe your best bet would be to start with the beginning: remove/merge duplicates page and categories first?

Last edited 6 years ago by audrasjb (previous) (diff)
Note: See TracTickets for help on using tickets.