{"id":20031,"date":"2012-11-24T10:53:49","date_gmt":"2012-11-24T10:53:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/post-type-archive-in-menu\/"},"modified":"2013-09-13T09:32:37","modified_gmt":"2013-09-13T09:32:37","slug":"post-type-archive-in-menu","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/post-type-archive-in-menu\/","author":10306654,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"3.4.2","requires":"3.1.0","requires_php":"","requires_plugins":"","header_name":"Post type archive in menu","header_author":"Luka Peharda","header_description":"","assets_banners_color":"fcfcfc","last_updated":"2013-09-13 09:32:37","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/lukapeharda.com\/","header_plugin_uri":"http:\/\/lukapeharda.com","header_author_uri":"http:\/\/lukapeharda.com","rating":5,"author_block_rating":0,"active_installs":200,"downloads":3200,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"629394","resolution":"772x250","location":"assets","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"629393","resolution":"1","location":"assets","width":924,"height":687},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"629393","resolution":"2","location":"assets","width":531,"height":509}},"screenshots":{"1":"This is how \"Archives\" can be selected and added to your menu in WP menu administration.","2":"Sample of how menu items are added (and highlighted). Sample data used."}},"plugin_section":[],"plugin_tags":[107,599],"plugin_category":[44,54],"plugin_contributors":[85365],"plugin_business_model":[],"class_list":["post-20031","plugin","type-plugin","status-publish","hentry","plugin_tags-comments","plugin_tags-spam","plugin_category-discussion-and-community","plugin_category-security-and-spam-protection","plugin_contributors-lpeharda","plugin_committers-lpeharda"],"banners":{"banner":"https:\/\/ps.w.org\/post-type-archive-in-menu\/assets\/banner-772x250.png?rev=629394","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/post-type-archive-in-menu_fcfcfc.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/post-type-archive-in-menu\/assets\/screenshot-1.png?rev=629393","caption":"This is how \"Archives\" can be selected and added to your menu in WP menu administration."},{"src":"https:\/\/ps.w.org\/post-type-archive-in-menu\/assets\/screenshot-2.png?rev=629393","caption":"Sample of how menu items are added (and highlighted). Sample data used."}],"raw_content":"<!--section=description-->\n<p>Simple and easy way of adding post type archive links to your menu.<\/p>\n\n<p>Features:<\/p>\n\n<ul>\n<li>Links will be highlighted (active) upon navigation to eiter archive page or single item page.<\/li>\n<li>Works from WordPress version 3.1<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Install from WP admin of follow these instructions:<\/p>\n\n<ol>\n<li>Unzip <code>post-type-archive-in-menu.zip<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to WordPress Appearance-&gt;Menu and start adding archive links to your menu<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>I have activated the plugin but can't see the \"Archives\" box on menu editing page?!<\/dt>\n<dd><ul>\n<li>Make sure that your theme <a href=\"http:\/\/www.devlounge.net\/code\/how-to-add-support-for-menus-in-your-wordpress-theme\">supports menus<\/a>.<\/li>\n<li>If above didn't help <a href=\"http:\/\/codex.wordpress.org\/Administration_Screens#Screen_Options\">enable \"Archives\" box in \"Screen Options\"<\/a>(when on menu editing page).<\/li>\n<li>Make sure that you have some custom post types and that they <a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/register_post_type#Arguments\">support archives functionality<\/a>(has_archive property).<\/li>\n<\/ul><\/dd>\n<dt>I can see the \"Archives\" box but it is disabled?!<\/dt>\n<dd><p>Make sure that you have created a menu.<\/p><\/dd>\n<dt>I have successfully added the links but they aren't showing on my menu<\/dt>\n<dd><p>Make sure that you have selected correct menu in \"Theme Locations\" box and did display this menu in your theme.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixed minor issues with 3.5 and up.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial version.<\/li>\n<\/ul>","raw_excerpt":"Simple and easy way of adding post type archive links to your menu. Links will be highlighted when you navigate to custom archive or single item page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/20031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=20031"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lpeharda"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=20031"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=20031"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=20031"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=20031"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=20031"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=20031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}