I have a dynamic menu in wordpress using wp_nav_menu
, however I would like to add a span to just one of the list items.
I will demonstrate this in static HTML to show you what I would like to achieve.
I currently have this...
<li><a href="#">Test</a></li>
...but would like to achieve this...
<li><a href="#">Test<span>(icon)</span></a></li>
Is there anyway to do this dynamically?
Thanks in advance