Plugin info

Total downloads: 15,996
Active installs: 900
Total reviews: 6
Average rating: 4
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 3
Last updated: 10/7/2025 (84 days ago)
Added to WordPress: 2/3/2015 (10 years old)
Minimum WordPress version: 3.5
Tested up to WordPress version: 6.8.3
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Actively maintained • Last updated 84 days ago • 6 reviews

61/100

Is Custom Post Type Parents abandoned?

Likely maintained (last update 84 days ago).

Compatibility

Requires WordPress: 3.5
Tested up to: 6.8.3
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Parent Category Toggler
Rating 4.8/5 (15 reviews)Active installs 10,000
SB Child List
Rating 4.6/5 (11 reviews)Active installs 1,000
TreePress – Easy Family Trees & Ancestor Profiles
Rating 2.8/5 (18 reviews)Active installs 700
Show Post Categories
Rating 5.0/5 (10 reviews)Active installs 600
Add Hierarchy (parent) to post
Rating 3.7/5 (6 reviews)Active installs 300
Filter Pages by parent in admin
Rating 3.7/5 (6 reviews)Active installs 200

Description

Compatible with PHP 8.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. When viewing a custom post type, the assigned “parent page” will be indicated with standard WordPress classes (e.g. current_page_item) in navigation menus and lists of pages.

Usage

  1. In the admin, navigate to Settings > Custom Post Type Parents
  2. 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

Installation

Manual Installation

  1. Upload the entire /custom-post-type-parents directory to the /wp-content/plugins/ directory.
  2. Activate Custom Post Type Parents through the ‘Plugins’ menu in WordPress.

Frequently Asked Questions

How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. Report a security vulnerability.

Review feed

No reviews available

Screenshots

Changelog

1.1.3

  • Change CSS classname (from custom- to current-) to match documentation and keep the same format for all classes.

1.1.2

  • Fix: memory issue infinitely calling constructor.

1.1.1

  • Fix: widget constructor call throwing deprecated notice.

1.1.0

  • Include posts and pages in customizeable list.
  • Update parent select to show hierarchy indenting for easier use.

1.0.1

  • Fix issue in which custom post types weren’t appearing – code was incorrectly referencing slug
  • Add admin text to indicate if no custom post types are available to edit

1.0.0

  • First release