{"id":18766,"date":"2012-06-29T16:12:49","date_gmt":"2012-06-29T16:12:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/custom-post-type-submenu\/"},"modified":"2013-09-17T14:20:51","modified_gmt":"2013-09-17T14:20:51","slug":"custom-post-type-submenu","status":"publish","type":"plugin","link":"https:\/\/uz.wordpress.org\/plugins\/custom-post-type-submenu\/","author":6933255,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2","stable_tag":"trunk","tested":"3.6.1","requires":"3.6","requires_php":"","requires_plugins":"","header_name":"custom post type submenu","header_author":"Andreas Riedm\u00fcller","header_description":"","assets_banners_color":"","last_updated":"2013-09-17 14:20:51","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/gehirnstroem.at","rating":2,"author_block_rating":0,"active_installs":10,"downloads":1986,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":"1","4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2007,231],"plugin_category":[43],"plugin_contributors":[88024,93769],"plugin_business_model":[],"class_list":["post-18766","plugin","type-plugin","status-publish","hentry","plugin_tags-cpt","plugin_tags-menus","plugin_category-customization","plugin_contributors-queenvictoria","plugin_contributors-receter","plugin_committers-receter"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/custom-post-type-submenu.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Adds a new menu item type that shows all posts for a given post type as children. If the post type has an archive, the parent menu item will link to the archive. If there is no archive for a given post type, the parent will link to the first child.<\/p>\n\n<p>For Example: If you have a custom post type \"products\", adding \"products\" to a nav-menu will result in a menu item \"products\" with all products in the submenu.<\/p>\n\n<h3>Roadmap<\/h3>\n\n<ul>\n<li>Provide for configuration of limit (ie: numposts).<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>menu-posts-in-category\/<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Add a Custom Post Type to a Wordpress menu<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial version<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Fixed a bug where the spinner wheel was displayed all the time.<\/li>\n<li>Links to archive instead of first child if the custom post type has has_archive = true<\/li>\n<\/ul>","raw_excerpt":"Adds a new menu item type that shows all posts for a given post type as children. If the post type has an archive, the parent menu item will link to t &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/18766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=18766"}],"author":[{"embeddable":true,"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/receter"}],"wp:attachment":[{"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=18766"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=18766"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=18766"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=18766"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=18766"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=18766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}