{"id":22221,"date":"2013-02-26T04:14:23","date_gmt":"2013-02-26T04:14:23","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/vihv-menu\/"},"modified":"2013-06-21T13:38:42","modified_gmt":"2013-06-21T13:38:42","slug":"vihv-menu","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/vihv-menu\/","author":8598528,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.4","stable_tag":"2.4","tested":"3.5.2","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Vihv Menu","header_author":"Vigorous Hive","header_description":"","assets_banners_color":"","last_updated":"2013-06-21 13:38:42","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/vihv.org\/store\/v\/our-plugins\/vihv-menu\/","header_author_uri":"http:\/\/vihv.org\/store","rating":4,"author_block_rating":0,"active_installs":70,"downloads":6237,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":"1","3":0,"4":"1","5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.1","2.2","2.3","2.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"673359","resolution":"1","location":"assets"}},"screenshots":{"1":"Screenshot"}},"plugin_section":[],"plugin_tags":[4892,63659,1865,33575,63660],"plugin_category":[43],"plugin_contributors":[83742],"plugin_business_model":[],"class_list":["post-22221","plugin","type-plugin","status-closed","hentry","plugin_tags-custom-menu","plugin_tags-customize-menu-item","plugin_tags-menu","plugin_tags-menu-icon","plugin_tags-menu-images","plugin_category-customization","plugin_contributors-vihv","plugin_committers-vihv"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/vihv-menu.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/vihv-menu\/assets\/screenshot-1.png?rev=673359","caption":"Screenshot"}],"raw_content":"<!--section=description-->\n<p>Adds menu icons, menu item css class, menu link XFN, menu item description and ability to open menu link in new window. All using default Appearance-&gt;Menus.<\/p>\n\n<p>Icons will be displayed with default menu walker. If you use your own you can add images to menu with $output .= apply_filters( 'walker_nav_menu_start_el', $output, $item, $depth, $args ); or get icon url with get_post_meta($menu_item_id, '_vihv_menu_icon', true); and display anywhere you want. Enjoy!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unzip <code>vihv-menu<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>I add icon urls to menu, but they are not displayed in frontend, how can I work around?<\/dt>\n<dd><p>Most themes use custom menu walkers, instead of wp default Walker_Nav_Menu. And some of developers don't call 'walker_nav_menu_start_el' filter. You need to find menu walker class in your theme code (search for files which contain 'extends Walker_Nav_Menu' and 'extends Walker') and add apply_filter rule at the end. See wp-includes\/nav-menu-template.php as example. Alternatively you can use get_post_meta($menu_item_id, '_vihv_menu_icon', true) to receive icon url inside menu walker code and use it as you want.<\/p><\/dd>\n<dt>How can i ask a question?<\/dt>\n<dd><p>You can send your questions to feedback@vihv.org.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.4<\/h4>\n\n<p>-icons are now visible in backend\n-then icon path has no http:\/\/ at the beginning, first suggestion will be http:\/\/your.site\/path\/to\/your\/theme\/path-you've-entered, if file won't be found next suggestion will be http:\/\/your.site\/path-you've-entered, so you can use shorter paths now<\/p>\n\n<h4>2.3<\/h4>\n\n<p>relative icon urls are now copatible with multilingual plugins like WPML<\/p>\n\n<h4>2.2<\/h4>\n\n<p>Alternate text for logo images<\/p>","raw_excerpt":"Adds menu icons, menu item css class, link XFN, menu item description, ability to target link to new tab.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/22221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=22221"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/vihv"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=22221"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=22221"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=22221"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=22221"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=22221"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=22221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}