I am trying to add a menu item. I have about 700+ pages. The page does not show up when I select Admin -> Appearance -> Menus. I have tried both the ‘View All’ option and the ‘Search’ option. The only way to add the page is by using the ‘Custom Links’ option, rather than selecting the page directly.
There seems to be a built in limit of displaying about 500 pages in the ‘View All’ option.
This seems to be controlled by wp-admin > includes > nav-menu.php.
How can I override this in my own functions file.
How can I also change the number of items shown under the ‘Most Recent’ and ‘Search’ tabs without changing nav-menu.php directly.
I would be grateful for any help in finding a solution.
- The topic ‘Fix nav-menu.php to display more items’ is closed to new replies.