开发者 | vihv |
---|---|
更新时间 | 2013年7月16日 13:25 |
PHP版本: | 3.3 及以上 |
WordPress版本: | 3.5.1 |
版权: | MIT |
版权网址: | 版权信息 |
vihv-menu
folder to the /wp-content/plugins/
directoryMost 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.
You can send your questions to feedback@vihv.org.