Add id to menu items in wp_nav_menu
Sounds like you would need to use a Custom Walker Function I’ve found some code on the WordPress Suport Forums which might be of some use: Walker Class – Pastebin class custom_nav_walker extends Walker_Nav_Menu { function start_el(&$output, $item, $depth, $args) { global $wp_query; $indent = ( $depth ) ? str_repeat( “\t”, $depth ) : ”; … Read more