Περιγραφή
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.
Εγκατάσταση
- Install the plugin by uploading the zip file (Plugins > Add New > Upload)
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to the Settings > Current Menu Item for Custom Post Types
Κριτικές
15 Δεκεμβρίου 2022
Perfect
12 Απριλίου 2022
Amazing little helper!
26 Φεβρουαρίου 2020
This plugins makes exactly what I expected:
Highlight menu items containing my CPTs.
Perfect and very easy to use!
22 Μαρτίου 2019
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
14 Σεπτεμβρίου 2018
Very easy to set up
28 Μαΐου 2018
Works like magic.
Συνεισφέροντες & Προγραμματιστές
“Current Menu Item for Custom Post Types” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.
ΣυντελεστέςΜεταφράστε το “Current Menu Item for Custom Post Types” στην γλώσσα σας.
Ενδιαφέρεστε για την ανάπτυξη;
Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .
Σύνοψη αλλαγών
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