Opened 9 years ago
Last modified 7 years ago
#43076 assigned defect (bug)
current-menu-item for archive menu item on singular page
| Reported by: | sebastian.pisula | Owned by: | audrasjb |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Menus | Version: | |
| Severity: | normal | Keywords: | has-patch reporter-feedback needs-refresh |
| Cc: | Focuses: |
Description
If I have CPT with archive and singular page and I add to menu url to archive and I go to singular page of CPT then should be add current-menu-item to menu item of archive
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi and thanks for the ticket and you patch,
I think the patch will need some refresh and some correction to fit better with WPCS. However, I'm not sure it's 100% relevant to add
current-menu-itemclass to archive page when we are in a singular Post: the Post may belong to different taxonomy terms and also, the singular Post itself may appear in the menu items.