{"id":17372,"date":"2012-03-15T15:48:25","date_gmt":"2012-03-15T15:48:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/zen-menu-logic\/"},"modified":"2017-11-17T21:14:17","modified_gmt":"2017-11-17T21:14:17","slug":"zen-menu-logic","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/zen-menu-logic\/","author":7579196,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"v1.6","stable_tag":"trunk","tested":"4.9.29","requires":"3.3.1","requires_php":"","requires_plugins":"","header_name":"Zen Menu Logic","header_author":"<a href=\"http:\/\/www.zenofwp.com\">Greg Turner<\/a>","header_description":"","assets_banners_color":"","last_updated":"2017-11-17 21:14:17","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.zenofwp.com\/","header_plugin_uri":"http:\/\/www.zml.zenofwp.com\/","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":1000,"downloads":24892,"num_ratings":19,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"20"},"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":[3703,68327],"plugin_category":[],"plugin_contributors":[82431],"plugin_business_model":[],"class_list":["post-17372","plugin","type-plugin","status-publish","hentry","plugin_tags-custom-menus","plugin_tags-menu-logic","plugin_contributors-zenofwordpress","plugin_committers-zenofwordpress"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/zen-menu-logic.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin only works under the following conditions:\n1. the theme has registered at least one menu location\n2. user has created at least one custom menu with one or more\n   menu items.\n3. user has selected which menu location the plugin should work on\n   in the Settings -&gt; Zen Menu Logic options page\n4. This plugin currently does not support a website that uses a plugin to \n   change the language of the site to something other than English. This might \n   change in the future.\n5. Oftentimes themes have their own code that effects how menus work, specially\n   when it comes to mobile. Therefore, this plugin may not work with your theme.<\/p>\n\n<p>If those 3 conditions are met, then the edit page for every page and post\nand custom post type will contain a meta box listing the custom menus with\nradio buttons. All you need do is select which custom menu should display\nwhen that page is called.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unzip the download package<\/li>\n<li>Upload <code>zen-menu-logic<\/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 the Zen Menu Logic options page in the Setting's menu\nand select which menu location is the one that the plugin will\nwork on.<\/li>\n<\/ol>\n\n<p>alternatively<\/p>\n\n<ol>\n<li>upload the zip file from the Admin plugins page<\/li>\n<li>then activate<\/li>\n<li>Go to the Zen Menu Logic options page in the Setting's menu\nand select which menu location is the one that the plugin will\nwork on.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.6<\/h4>\n\n<ul>\n<li>Fixed bug that was causing non object error when custom post types exist<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Changed constructor to php 7 style<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Fixed bug in saving logic. Tested in WP 3.6<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added uninstall functionality to delete option used by plugin<\/li>\n<\/ul>\n\n<h4>1.21<\/h4>\n\n<ul>\n<li>Changed the text in the options panel.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>There is a design flaw in v1.1 where I assumed that the name of the primary menu location<\/li>\n<li>was primary.  That is the way it is in the 2011 theme.  But not all themes are like that.<\/li>\n<li>So this new version has an options page as a menu item of the Settings Menu that lists all<\/li>\n<li>the menu locations by name.  And you need to select which one is the primary, or, in other<\/li>\n<li>words, which menu location the menu logic will work on.  Please let me know if there are<\/li>\n<li>any questions.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>simplify code that tests is this plugin is supported by the theme<\/li>\n<li>replace code that implemented the change in menu to use the wp_nav_menu_args filter<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>write menu logic code<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Unzip the download package<\/li>\n<li>Upload <code>zen-menu-logic<\/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 the Zen Menu Logic options page in the Setting's menu\nand select which menu location is the one that the plugin will\nwork on.<\/li>\n<\/ol>\n\n<p>alternatively<\/p>\n\n<ol>\n<li>upload the zip file from the Admin plugins page<\/li>\n<li>then activate<\/li>\n<li>Go to the Zen Menu Logic options page in the Setting's menu\nand select which menu location is the one that the plugin will\nwork on.<\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"Zen Menu Logic allows the user to select any of several custom menus to appear on a per page basis.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/17372","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=17372"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/zenofwordpress"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=17372"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=17372"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=17372"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=17372"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=17372"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=17372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}