Current Menu Item for Custom Post Types


If you’re using a template to display a custom post type’s archive page, WP doesn’t add the active class to the menu item. This plugin lets you assign a parent page to a custom post types and will correctly display in the menu.


  • Plugin backend


  1. Install the plugin by uploading the zip file (Plugins > Add New > Upload)
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the Settings > Current Menu Item for Custom Post Types


I have been looking for ways to do this for a long time but without results. This plugin did what I'm trying to do for a year in 2 seconds
Посмотреть все 22 отзыва

Участники и разработчики

«Current Menu Item for Custom Post Types» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:


Перевести «Current Menu Item for Custom Post Types» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений


  • Added multi language support (works with WPML and Polylang)


  • Fixed a bug which wouldn’t let you use both built-in and custom post types at the same time.


  • Fixed a small bug which prevented administrators to access the plugins settings page.


  • Added option to show built-in post types.
  • Changed the capability required so only administrators can edit options.


  • Bug fix: There was a typo because of which the blog’s class was being removed.


  • Initial Release