Skip to content

Navigation block - add 'current-menu-item' to post-type archive links #46090

@Humanify-nl

Description

@Humanify-nl

The navigation block is in its current state unusable in a professional context. I work with designers, and designers want to mark menus that are active. A fairly straigthforward request that I just can't do with FSE, because post-type archives.

There is still no current navigation solution that works. This tiny small issue with big consequences always seems to be ignored, postponed or shoved back another update.

Am I the only one who makes websites with this in a real environment with customers and constantly gets frustrated by this? Why is no one bothering about proper menu marking and making sure all standard WP features (i.e. custom post types, archives, etc) are working in the navigation-block?

#41597
#40778 (this is great, but still not for post-type archives)
...

I mean, we added new templates purposed for post-type archives this last update, but who cares, when we can't use them anyway? The menu says nope.

Page + query loop is the only way to work with this and have actual working menu marking.

Very frustrating, how can I help to make this possible?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions