{"id":9957,"date":"2010-08-01T10:49:56","date_gmt":"2010-08-01T10:49:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/menu-item-ancestor\/"},"modified":"2010-08-23T15:57:42","modified_gmt":"2010-08-23T15:57:42","slug":"menu-item-ancestor","status":"publish","type":"plugin","link":"https:\/\/fao.wordpress.org\/plugins\/menu-item-ancestor\/","author":3624896,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"3.0.5","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Menu-item-ancestor","header_author":"Valentinas Bakaitis","header_description":"","assets_banners_color":"","last_updated":"2010-08-23 15:57:42","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=v%2ebakaitis%40gmail%2ecom&lc=LT&item_name=menu-item-ancestor&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted","header_plugin_uri":"http:\/\/supersonic.lt","header_author_uri":"http:\/\/supersonic.lt","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2470,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[37403,356,1865],"plugin_category":[43,59],"plugin_contributors":[83782],"plugin_business_model":[],"class_list":["post-9957","plugin","type-plugin","status-publish","hentry","plugin_tags-ancestor","plugin_tags-css","plugin_tags-menu","plugin_category-customization","plugin_category-utilities-and-tools","plugin_contributors-valentinas","plugin_committers-valentinas"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/menu-item-ancestor.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin is for developers and designers who want to have a separate class for menu items with children.<\/p>\n\n<p>This plugin adds a menu-item-ancestor class to every menu item that has descendants.<\/p>\n\n<p>Alows to use CSS to style only those menu items, that has descendants. For example you can add different background or different hover behavior.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>menu-item-ancestor<\/code> folder or <code>menu-item-ancestor.php<\/code> file to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use CSS menu-item-ancestor class to select and style menu items that have descendants<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fixed the menu logic. The first version wrongly asumed that menu item stored it's parent in posts table, when it's actually is stored in postmeta table.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Big bang. Time starts.<\/li>\n<\/ul>","raw_excerpt":"Adds a menu-item-ancestor class to every menu item that has descendants.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/9957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=9957"}],"author":[{"embeddable":true,"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/valentinas"}],"wp:attachment":[{"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=9957"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=9957"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=9957"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=9957"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=9957"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fao.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=9957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}