這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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.

螢幕擷圖

安裝方式

  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

使用者評論

2022 年 4 月 12 日
Amazing little helper!
2019 年 3 月 22 日
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〉的開發相關工作。

參與者

變更記錄

1.6

  • Fixed CSRF Security issues

1.3

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

1.2.2

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

1.2.1

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

1.2

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

1.1

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

1.0

  • Initial Release