WP Manifestindependent plugin directory
manifest / admin / custom-post-type-menu-highlighting

Custom Post Type Menu Highlighting

A WordPress plugin that allows you to highlight menu items as parents of specified custom post types

by dxw · github.com/dxw/custom-post-type-menu-highlighting · website

2stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/dxw/custom-post-type-menu-highlighting/archive/refs/heads/main.zip

From the readme

Custom Post Type Menu Highlighter This plugin allows you to mark selected WordPress menu items as the parents of custom post types or taxonomy archives. It does this by adding the current-menu-ancestor class to those menu items when viewing that custom post type/taxonomy archive. Your CSS will need to be configured to style menu items with the current-menu-ancestor class appropriately. How to use Install the plugin using Whippet (recommended), or copy it directly into your wp-content/plugins/ directory for non-Whippet projects. To mark a menu item as the parent for a custom post type, add post-type-[post-type-name] to the "CSS Classes" box for the item in the menu editor. To mark a menu item as the parent for a taxonomy, add tax-type-[taxonomy-name] to the "CSS Classes". Development Install the dependencies: Run the tests: Run the linters:

Read the full README on GitHub →

Releases

TagPublished
v1.1.0 Mar 17, 2025
v1.0.0 Apr 28, 2022

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.