I know how to create wp menus using the functions.php and diaplay it in my sote wherever the menu is required (e.g top menu, footer menu) I even know how to style it using custom CSS.
I would like to know if it's possible to add HTML elements to a dynamic custom menu. for example: I want to build a menu when each li item will look like this:
<li><a><span>number here</span></a> <a href="the permalink"> <h4>post title</h4></a> /// <h5>name of the author</h5> </li>
is there a way or function to output such menu? basically add some extra html inside li item?
also inside the:
I would like to add a counter which will display a number for each posts (1-5)
Any help will be appreciated Thanks