WordPress plugin intelligence profile

Custom Post Type Parents

Set a "parent page" for custom post types that is indicated in menus, lists of pages, and the Simple Section Navigation widget.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.9
Current version1.1.3
WordPress coverageTested up to WordPress 6.9
Minimum stackWP 3.5 · PHP —
Directory statusactive
Last directory update10 Mar 20267mo ago
Active installations900Adoption metric — not a quality score
WordPress.org rating4.0 / 5 from 6 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Custom Post Type Parents version 1.1.3 as active, updated 7mo ago and tested up to WordPress 6.9.

Overview

About this plugin

2

Like this plugin? Please consider leaving a 5-star review.

This plugin is meant to solve the problem of highlighting “parent” pages for Custom Post Types in the menu and lists of pages. It integrates with custom menu output as well as output for any functions like wp_list_pages() that utilize the page_css_class or nav_menu_css_class filters. g.

current_page_item) in navigation menus and lists of pages.

Usage

  • In the admin, navigate to Settings > Custom Post Type Parents
  • For each custom post type, use the dropdown to select a “parent page”

Menus and lists of pages will now have the appropriate classes applied to the specified parent pages. Additionally, Custom Post Type Parents will apply these classes to Simple Section Navigation widgets, if the plugin is installed.

Classes

Custom Post Type Parents applies the following classes to parent and ancestor pages (all classes are consistent with default WordPress classes and are backwards compatible).

Parent

* current-menu-parent

* current_page_parent

* current-custom-post-type-parent

* current-{post type}-parent

Ancestor

* current-menu-ancestor

* current_page_ancestor

* current-custom-post-type-ancestor

* current-{post type}-ancestor

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • custom
  • menu
  • parent
  • post
  • type
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.9
Minimum requirementsWordPress 3.5 · PHP not listed
Update activity10 Mar 20267mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.