WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#35846 closed defect (bug) (worksforme)

Custom post type archive menu item cannot be added on nav-menu.php

Reported by: mh35 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4.2
Component: Menus Keywords:
Focuses: administration Cc:
PR Number:

Description

In customizer, menu items of custom post type can be added, but in nav-menu.php cannot.

Change History (2)

#1 follow-up: @ocean90
4 years ago

  • Component changed from General to Menus
  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Hello @mh35, welcome to Trac!

To add a post type archive you have to click on the "View All" tab, see [35382]. Make sure that your custom post type has also set the has_archive property to true.

#2 in reply to: ↑ 1 @mh35
4 years ago

Replying to ocean90:

Hello @mh35, welcome to Trac!

To add a post type archive you have to click on the "View All" tab, see [35382]. Make sure that your custom post type has also set the has_archive property to true.

Worked! Thank you.

Note: See TracTickets for help on using tickets.