{"id":28224,"date":"2014-03-10T14:03:45","date_gmt":"2014-03-10T14:03:45","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/current-menu-item-for-custom-post-types\/"},"modified":"2024-11-26T09:10:39","modified_gmt":"2024-11-26T09:10:39","slug":"current-menu-item-for-custom-post-types","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/current-menu-item-for-custom-post-types\/","author":15134008,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.6","stable_tag":"trunk","tested":"6.7.5","requires":"3.0","requires_php":"","requires_plugins":null,"header_name":"Current Menu Item for Custom Post Types","header_author":"Roland Murg","header_description":"","assets_banners_color":"992727","last_updated":"2024-11-26 09:10:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":2000,"downloads":25464,"num_ratings":23,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0":{"tag":"1.0","author":"veribo","date":"2014-06-18 11:09:11"},"1.1":{"tag":"1.1","author":"veribo","date":"2014-12-22 10:03:14"},"1.2":{"tag":"1.2","author":"veribo","date":"2015-02-10 21:31:36"},"1.2.1":{"tag":"1.2.1","author":"veribo","date":"2015-02-19 19:37:38"},"1.2.2":{"tag":"1.2.2","author":"veribo","date":"2015-03-15 10:01:58"},"1.3":{"tag":"1.3","author":"murgroland","date":"2017-05-22 12:00:14"},"1.4":{"tag":"1.4","author":"murgroland","date":"2020-12-30 07:43:17"},"1.6":{"tag":"1.6","author":"murgroland","date":"2025-04-08 07:22:11"}},"upgrade_notice":{"1.0":"<ul>\n<li>Initial Release<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":22},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1915898,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-128x128.png":{"filename":"banner-128x128.png","revision":1086558,"resolution":"128x128","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":1086562,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.2.1","1.2.2","1.3","1.4","1.6"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":1086558,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Plugin backend"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[21304,21306,21307,21305,16359],"plugin_category":[],"plugin_contributors":[82450],"plugin_business_model":[],"class_list":["post-28224","plugin","type-plugin","status-publish","hentry","plugin_tags-current-menu-item","plugin_tags-custom-post-types-menu-active","plugin_tags-highlight-menu","plugin_tags-menu-active","plugin_tags-single-post","plugin_contributors-murgroland","plugin_committers-murgroland"],"banners":{"banner":"https:\/\/ps.w.org\/current-menu-item-for-custom-post-types\/assets\/banner-772x250.png?rev=1086562","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/current-menu-item-for-custom-post-types\/assets\/icon-128x128.png?rev=1915898","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/current-menu-item-for-custom-post-types\/assets\/screenshot-1.jpg?rev=1086558","caption":"Plugin backend"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin by uploading the zip file (Plugins &gt; Add New &gt; Upload)<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to the Settings &gt; Current Menu Item for Custom Post Types<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.6<\/h4>\n\n<ul>\n<li>Fixed CSRF Security issues<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added multi language support (works with WPML and Polylang)<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Fixed a bug which wouldn't let you use both built-in and custom post types at the same time.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fixed a small bug which prevented administrators to access the plugins settings page.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added option to show built-in post types. <\/li>\n<li>Changed the capability required so only administrators can edit options.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Bug fix: There was a typo because of which the blog's class was being removed.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Allows you to highlight the current menu item by assigning a page to a custom post type.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/28224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=28224"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/murgroland"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=28224"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=28224"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=28224"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=28224"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=28224"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=28224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}