Remove the line $output .='</li>';
from your walker. The closing </li>
is automatically entered by wordpress for every item. This is done in end_el
function of the Walker_Nav_Menu
class.
Remove the line $output .='</li>';
from your walker. The closing </li>
is automatically entered by wordpress for every item. This is done in end_el
function of the Walker_Nav_Menu
class.